History

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.

Tom Herbert committed 12 years ago

Commit 4565e991 parent 473ab822 files · +89 −5Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/if_tunnel.h+4−0
@@ -106,6 +106,10 @@ enum { · 105 unmodified lines
106106 IFLA_GRE_ENCAP_LIMIT,
107107 IFLA_GRE_FLOWINFO,
108108 IFLA_GRE_FLAGS,
109+ IFLA_GRE_ENCAP_TYPE,
110+ IFLA_GRE_ENCAP_FLAGS,
111+ IFLA_GRE_ENCAP_SPORT,
112+ IFLA_GRE_ENCAP_DPORT,
109113 __IFLA_GRE_MAX,
110114 };
111115