seg6_iptunnel: Refactor seg6_lwt_headroom out of uapi header
authorIoana-Ruxandra Stăncioi <stancioi@google.com>
Mon, 3 Aug 2020 07:33:33 +0000 (07:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2020 00:57:40 +0000 (17:57 -0700)
commit88fab21c691bb1ff164e540735237a385e3afeaf
tree99119721f18bc9b817222c48b31e3a6dba356603
parent730e700e2c19d87e578ff0e7d8cb1d4a02b036d2
seg6_iptunnel: Refactor seg6_lwt_headroom out of uapi header

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 <davem@davemloft.net>
Signed-off-by: Ioana-Ruxandra Stăncioi <stancioi@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/seg6_iptunnel.h
net/ipv6/seg6_iptunnel.c