diff options
author | Tom Herbert <therbert@google.com> | 2014-09-17 23:26:01 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-20 01:15:32 +0400 |
commit | 4565e9919cda747815547e2e5d7b78f15efbffdf (patch) | |
tree | 20325e752fc92b2e487d650185387ff6ab3cca03 /include/uapi/linux/if_tunnel.h | |
parent | 473ab820dd4af588785a8e10b9c1547aadb4fd72 (diff) | |
download | linux-4565e9919cda747815547e2e5d7b78f15efbffdf.tar.xz |
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.h | 4 |
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, }; |