[PATCH v3] seg6_iptunnel: Refactor seg6_lwt_headroom out of uapi header

2020-08-03 Thread Ioana-Ruxandra Stancioi
From: Ioana-Ruxandra Stăncioi Refactor the function seg6_lwt_headroom out of the seg6_iptunnel.h uapi header, because it is only used in seg6_iptunnel.c. Moreover, it is only used in the kernel code, as indicated by the "#ifdef __KERNEL__". Suggested-by: David Miller Signed-off-by: Ioana-Ruxand

[PATCH v2] seg6_iptunnel: Refactor seg6_lwt_headroom out of uapi header

2020-07-31 Thread Ioana-Ruxandra Stancioi
From: Ioana-Ruxandra Stăncioi Refactor the function seg6_lwt_headroom out of the seg6_iptunnel.h uapi header, because it is only used in seg6_iptunnel.c. Moreover, it is only used in the kernel code, as indicated by the "#ifdef __KERNEL__". Suggested-by: David Miller Signed-off-by: Ioana-Ruxand

[PATCH] uapi, seg6_iptunnel: Add missing include in seg6_iptunnel.h

2020-07-29 Thread Ioana-Ruxandra Stancioi
From: Ioana-Ruxandra Stăncioi Include in uapi/linux/seg6_iptunnel.h to fix the following linux/seg6_iptunnel.h compilation error: invalid application of 'sizeof' to incomplete type 'struct ipv6hdr' head = sizeof(struct ipv6hdr); ^~ This is to allow including