Message ID | 1ea3b0b7ff42054bfc1bb9ee19e487a3671f3a6a.1605323689.git.andreas.a.roeseler@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series | Add support for sending RFC8335 PROBE | expand |
diff --git a/include/linux/icmp.h b/include/linux/icmp.h index 474f2a51cf0..acc9bcbc72b 100644 --- a/include/linux/icmp.h +++ b/include/linux/icmp.h @@ -64,6 +64,9 @@ #define ICMP_EXC_TTL 0 /* TTL count exceeded */ #define ICMP_EXC_FRAGTIME 1 /* Fragment Reass time exceeded */ +/* Codes for EXT_ECHO (Probe) */ +#define ICMP_EXT_ECHO 42 +#define ICMP_EXT_ECHOREPLY 43 struct icmphdr { __u8 type;
The types of ICMP Extended Echo Request and ICMP Extended Echo Reply are defined in sections 2 and 3 of RFC8335. Signed-off-by: Andreas Roeseler <andreas.a.roeseler@gmail.com> --- Changes since v1: - Switch to correct base tree --- include/linux/icmp.h | 3 +++ 1 file changed, 3 insertions(+)