Andreas Roeseler 1fd07f33c3 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 <andreas.a.roeseler@gmail.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-28 14:29:45 -07:00
..
2021-06-07 14:08:30 -07:00
2021-05-17 15:29:35 -07:00
2021-06-16 00:38:59 -07:00
2021-06-07 14:08:30 -07:00
2021-06-23 12:56:08 -07:00
2021-05-17 15:29:35 -07:00
2020-12-16 11:01:04 -08:00
2020-03-16 18:26:54 -07:00
2021-06-07 14:08:30 -07:00
2021-03-28 17:31:13 -07:00
2020-12-14 16:40:27 -08:00
2021-06-07 14:08:30 -07:00
2020-03-16 18:26:55 -07:00
2021-06-04 14:08:09 -07:00
2021-05-17 15:29:35 -07:00
2021-05-17 15:29:35 -07:00