diff options
| author | Andreas Roeseler <[email protected]> | 2021-06-26 14:07:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-28 21:29:45 +0000 |
| commit | 1fd07f33c3ea2b4aa77426f13e8cb91d4f55af8f (patch) | |
| tree | 6c50937b3c4c2105bffac3ec1bdb205b1e966da7 /net/unix/af_unix.c | |
| parent | net: sparx5: fix error return code in sparx5_register_notifier_blocks() (diff) | |
| download | kernel-1fd07f33c3ea2b4aa77426f13e8cb91d4f55af8f.tar.gz kernel-1fd07f33c3ea2b4aa77426f13e8cb91d4f55af8f.zip | |
ipv6: ICMPV6: add response to ICMPV6 RFC 8335 PROBE messages
This patch builds off of commit 2b246b2569cd2ac6ff700d0dce56b8bae29b1842
and adds functionality to respond to ICMPV6 PROBE requests.
Add icmp_build_probe function to construct PROBE requests for both
ICMPV4 and ICMPV6.
Modify icmpv6_rcv to detect ICMPV6 PROBE messages and call the
icmpv6_echo_reply handler.
Modify icmpv6_echo_reply to build a PROBE response message based on the
queried interface.
This patch has been tested using a branch of the iputils git repo which can
be found here: https://github.com/Juniper-Clinic-2020/iputils/tree/probe-request
Signed-off-by: Andreas Roeseler <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
