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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -106,6 +106,10 @@ enum { · 105 unmodified lines | |||
| 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 | ||