This patch adds support for encapsulating IPv4/IPv6 within GENEVE. In order to use this, a new IFLA_GENEVE_INNER_PROTO_INHERIT flag needs to be provided at device creation. This property cannot be changed for the time being. In case IP traffic is received on a non-tun device the drop count is increased.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -842,6 +842,7 @@ enum { · 841 unmodified lines | |||
| 842 | IFLA_GENEVE_LABEL, | 842 | IFLA_GENEVE_LABEL, |
| 843 | IFLA_GENEVE_TTL_INHERIT, | 843 | IFLA_GENEVE_TTL_INHERIT, |
| 844 | IFLA_GENEVE_DF, | 844 | IFLA_GENEVE_DF, |
| 845 | IFLA_GENEVE_INNER_PROTO_INHERIT, | ||
| 845 | __IFLA_GENEVE_MAX | 846 | __IFLA_GENEVE_MAX |
| 846 | }; | 847 | }; |
| 847 | #define IFLA_GENEVE_MAX (__IFLA_GENEVE_MAX - 1) | 848 | #define IFLA_GENEVE_MAX (__IFLA_GENEVE_MAX - 1) |