diff options
Diffstat (limited to 'linux-headers/include/linux/seg6_iptunnel.h')
-rw-r--r-- | linux-headers/include/linux/seg6_iptunnel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-headers/include/linux/seg6_iptunnel.h b/linux-headers/include/linux/seg6_iptunnel.h index ee6d1dd..e1929d2 100644 --- a/linux-headers/include/linux/seg6_iptunnel.h +++ b/linux-headers/include/linux/seg6_iptunnel.h @@ -26,7 +26,7 @@ enum { struct seg6_iptunnel_encap { int mode; - struct ipv6_sr_hdr srh[0]; + struct ipv6_sr_hdr srh[]; }; #define SEG6_IPTUN_ENCAP_SIZE(x) ((sizeof(*x)) + (((x)->srh->hdrlen + 1) << 3)) @@ -35,6 +35,8 @@ enum { SEG6_IPTUN_MODE_INLINE, SEG6_IPTUN_MODE_ENCAP, SEG6_IPTUN_MODE_L2ENCAP, + SEG6_IPTUN_MODE_ENCAP_RED, + SEG6_IPTUN_MODE_L2ENCAP_RED, }; #endif |