[<prev] [next>] [day] [month] [year] [list]
Message-ID: <e2e330e3313f642e1367a1aca8becf6aa3ff5eca.camel@gmail.com>
Date: Fri, 13 Nov 2020 12:54:46 -0800
From: Andreas Roeseler <andreas.a.roeseler@...il.com>
To: davem@...emloft.net
Cc: kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org, kuba@...nel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH 3/3] ICMPv6: define probe message types
On Thu, 2020-11-12 at 21:02 -0800, Andreas Roeseler wrote:
> From: Andreas Roeseler <aroeseler@...mc.edu>
>
> Types of ICMPv6 Extended Echo Request and ICMPv6 Extended Echo Reply
> are
> defined by sections 2 and 3 of RFC 8335.
>
> Signed-off-by: Andreas Roeseler <andreas.a.roeseler@...il.com>
> ---
> include/uapi/linux/icmpv6.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/include/uapi/linux/icmpv6.h
> b/include/uapi/linux/icmpv6.h
> index c1661febc2dc..183a8b3feb92 100644
> --- a/include/uapi/linux/icmpv6.h
> +++ b/include/uapi/linux/icmpv6.h
> @@ -139,6 +139,12 @@ struct icmp6hdr {
> #define ICMPV6_UNK_NEXTHDR 1
> #define ICMPV6_UNK_OPTION 2
>
> +/*
> + * Codes for EXT_ECHO (Probe)
> + */
> +#define ICMPV6_EXT_ECHO_REQUEST 160
> +#define ICMPV6_EXT_ECHO_REPLY 161
> +
> /*
> * constants for (set|get)sockopt
> */
Powered by blists - more mailing lists