diff options
Diffstat (limited to 'include/uapi/linux/openvswitch.h')
| -rw-r--r-- | include/uapi/linux/openvswitch.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h index c55efaaa9bb4..52490b0e62b5 100644 --- a/include/uapi/linux/openvswitch.h +++ b/include/uapi/linux/openvswitch.h | |||
| @@ -165,6 +165,7 @@ enum ovs_vport_type { | |||
| 165 | OVS_VPORT_TYPE_NETDEV, /* network device */ | 165 | OVS_VPORT_TYPE_NETDEV, /* network device */ |
| 166 | OVS_VPORT_TYPE_INTERNAL, /* network device implemented by datapath */ | 166 | OVS_VPORT_TYPE_INTERNAL, /* network device implemented by datapath */ |
| 167 | OVS_VPORT_TYPE_GRE, /* GRE tunnel. */ | 167 | OVS_VPORT_TYPE_GRE, /* GRE tunnel. */ |
| 168 | OVS_VPORT_TYPE_VXLAN, /* VXLAN tunnel. */ | ||
| 168 | __OVS_VPORT_TYPE_MAX | 169 | __OVS_VPORT_TYPE_MAX |
| 169 | }; | 170 | }; |
| 170 | 171 | ||
| @@ -211,6 +212,16 @@ enum ovs_vport_attr { | |||
| 211 | 212 | ||
| 212 | #define OVS_VPORT_ATTR_MAX (__OVS_VPORT_ATTR_MAX - 1) | 213 | #define OVS_VPORT_ATTR_MAX (__OVS_VPORT_ATTR_MAX - 1) |
| 213 | 214 | ||
| 215 | /* OVS_VPORT_ATTR_OPTIONS attributes for tunnels. | ||
| 216 | */ | ||
| 217 | enum { | ||
| 218 | OVS_TUNNEL_ATTR_UNSPEC, | ||
| 219 | OVS_TUNNEL_ATTR_DST_PORT, /* 16-bit UDP port, used by L4 tunnels. */ | ||
| 220 | __OVS_TUNNEL_ATTR_MAX | ||
| 221 | }; | ||
| 222 | |||
| 223 | #define OVS_TUNNEL_ATTR_MAX (__OVS_TUNNEL_ATTR_MAX - 1) | ||
| 224 | |||
| 214 | /* Flows. */ | 225 | /* Flows. */ |
| 215 | 226 | ||
| 216 | #define OVS_FLOW_FAMILY "ovs_flow" | 227 | #define OVS_FLOW_FAMILY "ovs_flow" |
