diff options
| author | Tom Herbert <therbert@google.com> | 2014-09-17 15:26:01 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-09-19 17:15:32 -0400 |
| commit | 4565e9919cda747815547e2e5d7b78f15efbffdf (patch) | |
| tree | 20325e752fc92b2e487d650185387ff6ab3cca03 /include/uapi/linux | |
| parent | 473ab820dd4af588785a8e10b9c1547aadb4fd72 (diff) | |
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')
| -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 { | |||
| 106 | IFLA_GRE_ENCAP_LIMIT, | 106 | IFLA_GRE_ENCAP_LIMIT, |
| 107 | IFLA_GRE_FLOWINFO, | 107 | IFLA_GRE_FLOWINFO, |
| 108 | IFLA_GRE_FLAGS, | 108 | IFLA_GRE_FLAGS, |
| 109 | IFLA_GRE_ENCAP_TYPE, | ||
| 110 | IFLA_GRE_ENCAP_FLAGS, | ||
| 111 | IFLA_GRE_ENCAP_SPORT, | ||
| 112 | IFLA_GRE_ENCAP_DPORT, | ||
| 109 | __IFLA_GRE_MAX, | 113 | __IFLA_GRE_MAX, |
| 110 | }; | 114 | }; |
| 111 | 115 | ||
