X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Fnet%2Fipv6.h;h=9ba85594100f30e745d681839e63b726e513bcff;hb=1007d8acad106fb508ccfdb84ca5bbdc491efc6c;hp=8bb7d656bb637b1099dcc67eca9627eb46e5ae81;hpb=9321954ac2ed1bdb5a397e2fab7ce591f9d883a9;p=openvswitch diff --git a/datapath/linux/compat/include/net/ipv6.h b/datapath/linux/compat/include/net/ipv6.h index 8bb7d656..9ba85594 100644 --- a/datapath/linux/compat/include/net/ipv6.h +++ b/datapath/linux/compat/include/net/ipv6.h @@ -3,6 +3,11 @@ #include_next +enum { + OVS_IP6T_FH_F_FRAG = (1 << 0), + OVS_IP6T_FH_F_AUTH = (1 << 1), +}; + /* This function is upstream but not the version which supplies the * fragment offset. We plan to propose the extended version. */ @@ -10,4 +15,10 @@ extern int ipv6_skip_exthdr(const struct sk_buff *skb, int start, u8 *nexthdrp, __be16 *frag_offp); +/* This function is upstream, but not the version which skips routing + * headers with 0 segments_left. We plan to propose the extended version. */ +#define ipv6_find_hdr rpl_ipv6_find_hdr +extern int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset, + int target, unsigned short *fragoff, int *fragflg); + #endif