ip_tunnels: new IP_TUNNEL_INFO_BRIDGE flag for ip_tunnel_info mode
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Wed, 1 Feb 2017 06:59:51 +0000 (22:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 20:21:21 +0000 (15:21 -0500)
New ip_tunnel_info flag to represent bridged tunnel metadata.
Used by bridge driver later in the series to pass per vlan dst
metadata to bridge ports.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_tunnels.h

index 3d4ca4df12093dff859001f160287aad17bc089c..95056796657cf9b11c24ae1497f1d5c01a9fd178 100644 (file)
@@ -58,6 +58,7 @@ struct ip_tunnel_key {
 /* Flags for ip_tunnel_info mode. */
 #define IP_TUNNEL_INFO_TX      0x01    /* represents tx tunnel parameters */
 #define IP_TUNNEL_INFO_IPV6    0x02    /* key contains IPv6 addresses */
+#define IP_TUNNEL_INFO_BRIDGE  0x04    /* represents a bridged tunnel id */
 
 /* Maximum tunnel options length. */
 #define IP_TUNNEL_OPTS_MAX                                     \