History

net: geneve: support IPv4/IPv6 as inner protocol

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.

Eyal Birger committed 4 years ago

Commit 435fe1c1 parent 82192c42 files · +64 −19Browse files

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

Unified · Split

include/uapi/linux/if_link.h+1−0
@@ -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_MAX846 __IFLA_GENEVE_MAX
846};847};
847#define IFLA_GENEVE_MAX (__IFLA_GENEVE_MAX - 1)848#define IFLA_GENEVE_MAX (__IFLA_GENEVE_MAX - 1)