Skip to content

Commit f35581d

Browse files
roopa-prabhudavem330
authored andcommitted
ip_tunnels: new IP_TUNNEL_INFO_BRIDGE flag for ip_tunnel_info mode
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 5a0fd98 commit f35581d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/net/ip_tunnels.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ struct ip_tunnel_key {
5858
/* Flags for ip_tunnel_info mode. */
5959
#define IP_TUNNEL_INFO_TX 0x01 /* represents tx tunnel parameters */
6060
#define IP_TUNNEL_INFO_IPV6 0x02 /* key contains IPv6 addresses */
61+
#define IP_TUNNEL_INFO_BRIDGE 0x04 /* represents a bridged tunnel id */
6162

6263
/* Maximum tunnel options length. */
6364
#define IP_TUNNEL_OPTS_MAX \

0 commit comments

Comments
 (0)