[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210506152216.6f31a7cd@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 6 May 2021 15:22:16 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Toms Atteka <cpp.code.lv@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: openvswitch: IPv6: Add IPv6 extension
header support
On Thu, 6 May 2021 11:30:53 -0700 Toms Atteka wrote:
> +/**
> + * Parses packet and sets IPv6 extension header flags.
> + *
> + * skb buffer where extension header data starts in packet
> + * nh ipv6 header
> + * ext_hdrs flags are stored here
This is not a valid kdoc comment. Please fix.
> + * OFPIEH12_UNREP is set if more than one of a given IPv6 extension header
> + * is unexpectedly encountered. (Two destination options headers may be
> + * expected and would not cause this bit to be set.)
> + *
> + * OFPIEH12_UNSEQ is set if IPv6 extension headers were not in the order
> + * preferred (but not required) by RFC 2460:
> + *
> + * When more than one extension header is used in the same packet, it is
> + * recommended that those headers appear in the following order:
> + * IPv6 header
> + * Hop-by-Hop Options header
> + * Destination Options header
> + * Routing header
> + * Fragment header
> + * Authentication header
> + * Encapsulating Security Payload header
> + * Destination Options header
> + * upper-layer header
> + */
> +static void get_ipv6_ext_hdrs(struct sk_buff *skb, struct ipv6hdr *nh, u16 *ext_hdrs)
Powered by blists - more mailing lists