aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/linux/if_tunnel.h
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2014-09-17 12:26:01 -0700
committerDavid S. Miller <davem@davemloft.net>2014-09-19 17:15:32 -0400
commit4565e9919cda747815547e2e5d7b78f15efbffdf (patch)
tree20325e752fc92b2e487d650185387ff6ab3cca03 /include/uapi/linux/if_tunnel.h
parentipip: Setup and TX path for ipip/UDP foo-over-udp encapsulation (diff)
downloadwireguard-linux-4565e9919cda747815547e2e5d7b78f15efbffdf.tar.xz
wireguard-linux-4565e9919cda747815547e2e5d7b78f15efbffdf.zip
gre: Setup and TX path for gre/UDP foo-over-udp encapsulation
Added netlink attrs to configure FOU encapsulation for GRE, netlink handling of these flags, and properly adjust MTU for encapsulation. ip_tunnel_encap is called from ip_tunnel_xmit to actually perform FOU encapsulation. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/if_tunnel.h')
-rw-r--r--include/uapi/linux/if_tunnel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/if_tunnel.h b/include/uapi/linux/if_tunnel.h
index 9fedca7d8dae..7c832afdfa94 100644
--- a/include/uapi/linux/if_tunnel.h
+++ b/include/uapi/linux/if_tunnel.h
@@ -106,6 +106,10 @@ enum {
IFLA_GRE_ENCAP_LIMIT,
IFLA_GRE_FLOWINFO,
IFLA_GRE_FLAGS,
+ IFLA_GRE_ENCAP_TYPE,
+ IFLA_GRE_ENCAP_FLAGS,
+ IFLA_GRE_ENCAP_SPORT,
+ IFLA_GRE_ENCAP_DPORT,
__IFLA_GRE_MAX,
};