blob: 9649b6b64c4ca996b5b25360cc0f9715e4ce9944 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI__LINUX_OPENVSWITCH_H
20#define _UAPI__LINUX_OPENVSWITCH_H 1
21#include <linux/types.h>
22#include <linux/if_ether.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24struct ovs_header {
25 int dp_ifindex;
26};
27#define OVS_DATAPATH_FAMILY "ovs_datapath"
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define OVS_DATAPATH_MCGROUP "ovs_datapath"
Christopher Ferris38062f92014-07-09 15:33:25 -070030#define OVS_DATAPATH_VERSION 2
31#define OVS_DP_VER_FEATURES 2
Ben Cheng655a7c02013-10-16 16:09:24 -070032enum ovs_datapath_cmd {
Ben Cheng655a7c02013-10-16 16:09:24 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070034 OVS_DP_CMD_UNSPEC,
Ben Cheng655a7c02013-10-16 16:09:24 -070035 OVS_DP_CMD_NEW,
36 OVS_DP_CMD_DEL,
37 OVS_DP_CMD_GET,
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070039 OVS_DP_CMD_SET
Ben Cheng655a7c02013-10-16 16:09:24 -070040};
41enum ovs_datapath_attr {
42 OVS_DP_ATTR_UNSPEC,
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070044 OVS_DP_ATTR_NAME,
Ben Cheng655a7c02013-10-16 16:09:24 -070045 OVS_DP_ATTR_UPCALL_PID,
46 OVS_DP_ATTR_STATS,
Christopher Ferris38062f92014-07-09 15:33:25 -070047 OVS_DP_ATTR_MEGAFLOW_STATS,
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 OVS_DP_ATTR_USER_FEATURES,
Ben Cheng655a7c02013-10-16 16:09:24 -070050 __OVS_DP_ATTR_MAX
51};
Ben Cheng655a7c02013-10-16 16:09:24 -070052#define OVS_DP_ATTR_MAX (__OVS_DP_ATTR_MAX - 1)
Christopher Ferris38062f92014-07-09 15:33:25 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070054struct ovs_dp_stats {
55 __u64 n_hit;
56 __u64 n_missed;
Ben Cheng655a7c02013-10-16 16:09:24 -070057 __u64 n_lost;
Christopher Ferris38062f92014-07-09 15:33:25 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070059 __u64 n_flows;
60};
Christopher Ferris38062f92014-07-09 15:33:25 -070061struct ovs_dp_megaflow_stats {
62 __u64 n_mask_hit;
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070064 __u32 n_masks;
65 __u32 pad0;
66 __u64 pad1;
67 __u64 pad2;
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69};
Christopher Ferris38062f92014-07-09 15:33:25 -070070struct ovs_vport_stats {
71 __u64 rx_packets;
72 __u64 tx_packets;
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 __u64 rx_bytes;
75 __u64 tx_bytes;
76 __u64 rx_errors;
77 __u64 tx_errors;
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 __u64 rx_dropped;
80 __u64 tx_dropped;
81};
82#define OVS_DP_F_UNALIGNED (1 << 0)
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070084#define OVSP_LOCAL ((__u32)0)
85#define OVS_PACKET_FAMILY "ovs_packet"
86#define OVS_PACKET_VERSION 0x1
Ben Cheng655a7c02013-10-16 16:09:24 -070087enum ovs_packet_cmd {
Christopher Ferris38062f92014-07-09 15:33:25 -070088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070089 OVS_PACKET_CMD_UNSPEC,
90 OVS_PACKET_CMD_MISS,
91 OVS_PACKET_CMD_ACTION,
Ben Cheng655a7c02013-10-16 16:09:24 -070092 OVS_PACKET_CMD_EXECUTE
Christopher Ferris38062f92014-07-09 15:33:25 -070093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070094};
95enum ovs_packet_attr {
96 OVS_PACKET_ATTR_UNSPEC,
Ben Cheng655a7c02013-10-16 16:09:24 -070097 OVS_PACKET_ATTR_PACKET,
Christopher Ferris38062f92014-07-09 15:33:25 -070098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070099 OVS_PACKET_ATTR_KEY,
100 OVS_PACKET_ATTR_ACTIONS,
101 OVS_PACKET_ATTR_USERDATA,
Ben Cheng655a7c02013-10-16 16:09:24 -0700102 __OVS_PACKET_ATTR_MAX
Christopher Ferris38062f92014-07-09 15:33:25 -0700103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700104};
105#define OVS_PACKET_ATTR_MAX (__OVS_PACKET_ATTR_MAX - 1)
106#define OVS_VPORT_FAMILY "ovs_vport"
Ben Cheng655a7c02013-10-16 16:09:24 -0700107#define OVS_VPORT_MCGROUP "ovs_vport"
Christopher Ferris38062f92014-07-09 15:33:25 -0700108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700109#define OVS_VPORT_VERSION 0x1
110enum ovs_vport_cmd {
111 OVS_VPORT_CMD_UNSPEC,
Ben Cheng655a7c02013-10-16 16:09:24 -0700112 OVS_VPORT_CMD_NEW,
Christopher Ferris38062f92014-07-09 15:33:25 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700114 OVS_VPORT_CMD_DEL,
115 OVS_VPORT_CMD_GET,
116 OVS_VPORT_CMD_SET
Ben Cheng655a7c02013-10-16 16:09:24 -0700117};
Christopher Ferris38062f92014-07-09 15:33:25 -0700118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700119enum ovs_vport_type {
120 OVS_VPORT_TYPE_UNSPEC,
121 OVS_VPORT_TYPE_NETDEV,
Ben Cheng655a7c02013-10-16 16:09:24 -0700122 OVS_VPORT_TYPE_INTERNAL,
Christopher Ferris38062f92014-07-09 15:33:25 -0700123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124 OVS_VPORT_TYPE_GRE,
125 OVS_VPORT_TYPE_VXLAN,
Ben Cheng655a7c02013-10-16 16:09:24 -0700126 __OVS_VPORT_TYPE_MAX
127};
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700129#define OVS_VPORT_TYPE_MAX (__OVS_VPORT_TYPE_MAX - 1)
Ben Cheng655a7c02013-10-16 16:09:24 -0700130enum ovs_vport_attr {
131 OVS_VPORT_ATTR_UNSPEC,
132 OVS_VPORT_ATTR_PORT_NO,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700134 OVS_VPORT_ATTR_TYPE,
Ben Cheng655a7c02013-10-16 16:09:24 -0700135 OVS_VPORT_ATTR_NAME,
136 OVS_VPORT_ATTR_OPTIONS,
137 OVS_VPORT_ATTR_UPCALL_PID,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700139 OVS_VPORT_ATTR_STATS,
Ben Cheng655a7c02013-10-16 16:09:24 -0700140 __OVS_VPORT_ATTR_MAX
141};
142#define OVS_VPORT_ATTR_MAX (__OVS_VPORT_ATTR_MAX - 1)
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700144enum {
145 OVS_TUNNEL_ATTR_UNSPEC,
146 OVS_TUNNEL_ATTR_DST_PORT,
147 __OVS_TUNNEL_ATTR_MAX
148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149};
150#define OVS_TUNNEL_ATTR_MAX (__OVS_TUNNEL_ATTR_MAX - 1)
151#define OVS_FLOW_FAMILY "ovs_flow"
Ben Cheng655a7c02013-10-16 16:09:24 -0700152#define OVS_FLOW_MCGROUP "ovs_flow"
Christopher Ferris38062f92014-07-09 15:33:25 -0700153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700154#define OVS_FLOW_VERSION 0x1
155enum ovs_flow_cmd {
Ben Cheng655a7c02013-10-16 16:09:24 -0700156 OVS_FLOW_CMD_UNSPEC,
157 OVS_FLOW_CMD_NEW,
Christopher Ferris38062f92014-07-09 15:33:25 -0700158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700159 OVS_FLOW_CMD_DEL,
160 OVS_FLOW_CMD_GET,
Ben Cheng655a7c02013-10-16 16:09:24 -0700161 OVS_FLOW_CMD_SET
162};
Christopher Ferris38062f92014-07-09 15:33:25 -0700163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700164struct ovs_flow_stats {
165 __u64 n_packets;
Ben Cheng655a7c02013-10-16 16:09:24 -0700166 __u64 n_bytes;
167};
Christopher Ferris38062f92014-07-09 15:33:25 -0700168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700169enum ovs_key_attr {
170 OVS_KEY_ATTR_UNSPEC,
Ben Cheng655a7c02013-10-16 16:09:24 -0700171 OVS_KEY_ATTR_ENCAP,
172 OVS_KEY_ATTR_PRIORITY,
Christopher Ferris38062f92014-07-09 15:33:25 -0700173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700174 OVS_KEY_ATTR_IN_PORT,
175 OVS_KEY_ATTR_ETHERNET,
Ben Cheng655a7c02013-10-16 16:09:24 -0700176 OVS_KEY_ATTR_VLAN,
177 OVS_KEY_ATTR_ETHERTYPE,
Christopher Ferris38062f92014-07-09 15:33:25 -0700178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700179 OVS_KEY_ATTR_IPV4,
180 OVS_KEY_ATTR_IPV6,
Ben Cheng655a7c02013-10-16 16:09:24 -0700181 OVS_KEY_ATTR_TCP,
182 OVS_KEY_ATTR_UDP,
Christopher Ferris38062f92014-07-09 15:33:25 -0700183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700184 OVS_KEY_ATTR_ICMP,
185 OVS_KEY_ATTR_ICMPV6,
Ben Cheng655a7c02013-10-16 16:09:24 -0700186 OVS_KEY_ATTR_ARP,
187 OVS_KEY_ATTR_ND,
Christopher Ferris38062f92014-07-09 15:33:25 -0700188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700189 OVS_KEY_ATTR_SKB_MARK,
Christopher Ferris38062f92014-07-09 15:33:25 -0700190 OVS_KEY_ATTR_TUNNEL,
191 OVS_KEY_ATTR_SCTP,
192 OVS_KEY_ATTR_TCP_FLAGS,
193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700194 __OVS_KEY_ATTR_MAX
195};
196#define OVS_KEY_ATTR_MAX (__OVS_KEY_ATTR_MAX - 1)
Christopher Ferris38062f92014-07-09 15:33:25 -0700197enum ovs_tunnel_key_attr {
198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199 OVS_TUNNEL_KEY_ATTR_ID,
200 OVS_TUNNEL_KEY_ATTR_IPV4_SRC,
201 OVS_TUNNEL_KEY_ATTR_IPV4_DST,
202 OVS_TUNNEL_KEY_ATTR_TOS,
203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204 OVS_TUNNEL_KEY_ATTR_TTL,
205 OVS_TUNNEL_KEY_ATTR_DONT_FRAGMENT,
206 OVS_TUNNEL_KEY_ATTR_CSUM,
207 __OVS_TUNNEL_KEY_ATTR_MAX
208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209};
210#define OVS_TUNNEL_KEY_ATTR_MAX (__OVS_TUNNEL_KEY_ATTR_MAX - 1)
Ben Cheng655a7c02013-10-16 16:09:24 -0700211enum ovs_frag_type {
212 OVS_FRAG_TYPE_NONE,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700214 OVS_FRAG_TYPE_FIRST,
Ben Cheng655a7c02013-10-16 16:09:24 -0700215 OVS_FRAG_TYPE_LATER,
216 __OVS_FRAG_TYPE_MAX
217};
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700219#define OVS_FRAG_TYPE_MAX (__OVS_FRAG_TYPE_MAX - 1)
Ben Cheng655a7c02013-10-16 16:09:24 -0700220struct ovs_key_ethernet {
221 __u8 eth_src[ETH_ALEN];
222 __u8 eth_dst[ETH_ALEN];
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700224};
Ben Cheng655a7c02013-10-16 16:09:24 -0700225struct ovs_key_ipv4 {
226 __be32 ipv4_src;
227 __be32 ipv4_dst;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700229 __u8 ipv4_proto;
Ben Cheng655a7c02013-10-16 16:09:24 -0700230 __u8 ipv4_tos;
231 __u8 ipv4_ttl;
232 __u8 ipv4_frag;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700234};
Ben Cheng655a7c02013-10-16 16:09:24 -0700235struct ovs_key_ipv6 {
236 __be32 ipv6_src[4];
237 __be32 ipv6_dst[4];
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700239 __be32 ipv6_label;
Ben Cheng655a7c02013-10-16 16:09:24 -0700240 __u8 ipv6_proto;
241 __u8 ipv6_tclass;
242 __u8 ipv6_hlimit;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700244 __u8 ipv6_frag;
Ben Cheng655a7c02013-10-16 16:09:24 -0700245};
246struct ovs_key_tcp {
247 __be16 tcp_src;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700249 __be16 tcp_dst;
Ben Cheng655a7c02013-10-16 16:09:24 -0700250};
251struct ovs_key_udp {
252 __be16 udp_src;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700254 __be16 udp_dst;
255};
256struct ovs_key_sctp {
257 __be16 sctp_src;
258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
259 __be16 sctp_dst;
Ben Cheng655a7c02013-10-16 16:09:24 -0700260};
261struct ovs_key_icmp {
262 __u8 icmp_type;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700264 __u8 icmp_code;
Ben Cheng655a7c02013-10-16 16:09:24 -0700265};
266struct ovs_key_icmpv6 {
267 __u8 icmpv6_type;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700269 __u8 icmpv6_code;
Ben Cheng655a7c02013-10-16 16:09:24 -0700270};
271struct ovs_key_arp {
272 __be32 arp_sip;
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700274 __be32 arp_tip;
Ben Cheng655a7c02013-10-16 16:09:24 -0700275 __be16 arp_op;
276 __u8 arp_sha[ETH_ALEN];
277 __u8 arp_tha[ETH_ALEN];
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700279};
Ben Cheng655a7c02013-10-16 16:09:24 -0700280struct ovs_key_nd {
281 __u32 nd_target[4];
282 __u8 nd_sll[ETH_ALEN];
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700284 __u8 nd_tll[ETH_ALEN];
Ben Cheng655a7c02013-10-16 16:09:24 -0700285};
286enum ovs_flow_attr {
287 OVS_FLOW_ATTR_UNSPEC,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700289 OVS_FLOW_ATTR_KEY,
Ben Cheng655a7c02013-10-16 16:09:24 -0700290 OVS_FLOW_ATTR_ACTIONS,
291 OVS_FLOW_ATTR_STATS,
292 OVS_FLOW_ATTR_TCP_FLAGS,
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -0700294 OVS_FLOW_ATTR_USED,
Ben Cheng655a7c02013-10-16 16:09:24 -0700295 OVS_FLOW_ATTR_CLEAR,
Christopher Ferris38062f92014-07-09 15:33:25 -0700296 OVS_FLOW_ATTR_MASK,
Ben Cheng655a7c02013-10-16 16:09:24 -0700297 __OVS_FLOW_ATTR_MAX
Christopher Ferris38062f92014-07-09 15:33:25 -0700298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700299};
Ben Cheng655a7c02013-10-16 16:09:24 -0700300#define OVS_FLOW_ATTR_MAX (__OVS_FLOW_ATTR_MAX - 1)
301enum ovs_sample_attr {
302 OVS_SAMPLE_ATTR_UNSPEC,
Christopher Ferris38062f92014-07-09 15:33:25 -0700303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700304 OVS_SAMPLE_ATTR_PROBABILITY,
Ben Cheng655a7c02013-10-16 16:09:24 -0700305 OVS_SAMPLE_ATTR_ACTIONS,
306 __OVS_SAMPLE_ATTR_MAX,
307};
Christopher Ferris38062f92014-07-09 15:33:25 -0700308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700309#define OVS_SAMPLE_ATTR_MAX (__OVS_SAMPLE_ATTR_MAX - 1)
Ben Cheng655a7c02013-10-16 16:09:24 -0700310enum ovs_userspace_attr {
311 OVS_USERSPACE_ATTR_UNSPEC,
312 OVS_USERSPACE_ATTR_PID,
Christopher Ferris38062f92014-07-09 15:33:25 -0700313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700314 OVS_USERSPACE_ATTR_USERDATA,
Ben Cheng655a7c02013-10-16 16:09:24 -0700315 __OVS_USERSPACE_ATTR_MAX
316};
317#define OVS_USERSPACE_ATTR_MAX (__OVS_USERSPACE_ATTR_MAX - 1)
Christopher Ferris38062f92014-07-09 15:33:25 -0700318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700319struct ovs_action_push_vlan {
Ben Cheng655a7c02013-10-16 16:09:24 -0700320 __be16 vlan_tpid;
321 __be16 vlan_tci;
322};
Christopher Ferris38062f92014-07-09 15:33:25 -0700323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700324enum ovs_action_attr {
Ben Cheng655a7c02013-10-16 16:09:24 -0700325 OVS_ACTION_ATTR_UNSPEC,
326 OVS_ACTION_ATTR_OUTPUT,
327 OVS_ACTION_ATTR_USERSPACE,
Christopher Ferris38062f92014-07-09 15:33:25 -0700328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700329 OVS_ACTION_ATTR_SET,
Ben Cheng655a7c02013-10-16 16:09:24 -0700330 OVS_ACTION_ATTR_PUSH_VLAN,
331 OVS_ACTION_ATTR_POP_VLAN,
332 OVS_ACTION_ATTR_SAMPLE,
Christopher Ferris38062f92014-07-09 15:33:25 -0700333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700334 __OVS_ACTION_ATTR_MAX
Ben Cheng655a7c02013-10-16 16:09:24 -0700335};
Ben Cheng655a7c02013-10-16 16:09:24 -0700336#define OVS_ACTION_ATTR_MAX (__OVS_ACTION_ATTR_MAX - 1)
337#endif
Christopher Ferris38062f92014-07-09 15:33:25 -0700338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */