2013-10-17 01:09:24 +02:00
|
|
|
/****************************************************************************
|
|
|
|
****************************************************************************
|
|
|
|
***
|
|
|
|
*** This header was automatically generated from a Linux kernel header
|
|
|
|
*** of the same name, to make information necessary for userspace to
|
|
|
|
*** call into the kernel available to libc. It contains only constants,
|
|
|
|
*** structures, and macros generated from the original header, and thus,
|
|
|
|
*** contains no copyrightable information.
|
|
|
|
***
|
|
|
|
*** To edit the content of this header, modify the corresponding
|
|
|
|
*** source file (e.g. under external/kernel-headers/original/) then
|
|
|
|
*** run bionic/libc/kernel/tools/update_all.py
|
|
|
|
***
|
|
|
|
*** Any manual change here will be lost the next time this script will
|
|
|
|
*** be run. You've been warned!
|
|
|
|
***
|
|
|
|
****************************************************************************
|
|
|
|
****************************************************************************/
|
|
|
|
#ifndef _UAPI__LINUX_OPENVSWITCH_H
|
|
|
|
#define _UAPI__LINUX_OPENVSWITCH_H 1
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/if_ether.h>
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
struct ovs_header {
|
2015-01-28 19:07:51 +01:00
|
|
|
int dp_ifindex;
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
#define OVS_DATAPATH_FAMILY "ovs_datapath"
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define OVS_DATAPATH_MCGROUP "ovs_datapath"
|
2014-07-10 00:33:25 +02:00
|
|
|
#define OVS_DATAPATH_VERSION 2
|
|
|
|
#define OVS_DP_VER_FEATURES 2
|
2013-10-17 01:09:24 +02:00
|
|
|
enum ovs_datapath_cmd {
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_DP_CMD_UNSPEC,
|
|
|
|
OVS_DP_CMD_NEW,
|
|
|
|
OVS_DP_CMD_DEL,
|
|
|
|
OVS_DP_CMD_GET,
|
2013-10-17 01:09:24 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_DP_CMD_SET
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
enum ovs_datapath_attr {
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_DP_ATTR_UNSPEC,
|
2013-10-17 01:09:24 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_DP_ATTR_NAME,
|
|
|
|
OVS_DP_ATTR_UPCALL_PID,
|
|
|
|
OVS_DP_ATTR_STATS,
|
|
|
|
OVS_DP_ATTR_MEGAFLOW_STATS,
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_DP_ATTR_USER_FEATURES,
|
|
|
|
__OVS_DP_ATTR_MAX
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
#define OVS_DP_ATTR_MAX (__OVS_DP_ATTR_MAX - 1)
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
struct ovs_dp_stats {
|
2015-01-28 19:07:51 +01:00
|
|
|
__u64 n_hit;
|
|
|
|
__u64 n_missed;
|
|
|
|
__u64 n_lost;
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__u64 n_flows;
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
2014-07-10 00:33:25 +02:00
|
|
|
struct ovs_dp_megaflow_stats {
|
2015-01-28 19:07:51 +01:00
|
|
|
__u64 n_mask_hit;
|
2013-10-17 01:09:24 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__u32 n_masks;
|
|
|
|
__u32 pad0;
|
|
|
|
__u64 pad1;
|
|
|
|
__u64 pad2;
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
};
|
|
|
|
struct ovs_vport_stats {
|
2015-01-28 19:07:51 +01:00
|
|
|
__u64 rx_packets;
|
|
|
|
__u64 tx_packets;
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__u64 rx_bytes;
|
|
|
|
__u64 tx_bytes;
|
|
|
|
__u64 rx_errors;
|
|
|
|
__u64 tx_errors;
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__u64 rx_dropped;
|
|
|
|
__u64 tx_dropped;
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
2014-07-10 00:33:25 +02:00
|
|
|
#define OVS_DP_F_UNALIGNED (1 << 0)
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-26 19:57:07 +01:00
|
|
|
#define OVS_DP_F_VPORT_PIDS (1 << 1)
|
2015-01-28 19:07:51 +01:00
|
|
|
#define OVSP_LOCAL ((__u32) 0)
|
2013-10-17 01:09:24 +02:00
|
|
|
#define OVS_PACKET_FAMILY "ovs_packet"
|
|
|
|
#define OVS_PACKET_VERSION 0x1
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-26 19:57:07 +01:00
|
|
|
enum ovs_packet_cmd {
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_PACKET_CMD_UNSPEC,
|
|
|
|
OVS_PACKET_CMD_MISS,
|
|
|
|
OVS_PACKET_CMD_ACTION,
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_PACKET_CMD_EXECUTE
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
enum ovs_packet_attr {
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_PACKET_ATTR_UNSPEC,
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_PACKET_ATTR_PACKET,
|
|
|
|
OVS_PACKET_ATTR_KEY,
|
|
|
|
OVS_PACKET_ATTR_ACTIONS,
|
|
|
|
OVS_PACKET_ATTR_USERDATA,
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__OVS_PACKET_ATTR_MAX
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
#define OVS_PACKET_ATTR_MAX (__OVS_PACKET_ATTR_MAX - 1)
|
|
|
|
#define OVS_VPORT_FAMILY "ovs_vport"
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-26 19:57:07 +01:00
|
|
|
#define OVS_VPORT_MCGROUP "ovs_vport"
|
2013-10-17 01:09:24 +02:00
|
|
|
#define OVS_VPORT_VERSION 0x1
|
|
|
|
enum ovs_vport_cmd {
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_VPORT_CMD_UNSPEC,
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_VPORT_CMD_NEW,
|
|
|
|
OVS_VPORT_CMD_DEL,
|
|
|
|
OVS_VPORT_CMD_GET,
|
|
|
|
OVS_VPORT_CMD_SET
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-26 19:57:07 +01:00
|
|
|
};
|
2013-10-17 01:09:24 +02:00
|
|
|
enum ovs_vport_type {
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_VPORT_TYPE_UNSPEC,
|
|
|
|
OVS_VPORT_TYPE_NETDEV,
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_VPORT_TYPE_INTERNAL,
|
|
|
|
OVS_VPORT_TYPE_GRE,
|
|
|
|
OVS_VPORT_TYPE_VXLAN,
|
|
|
|
OVS_VPORT_TYPE_GENEVE,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__OVS_VPORT_TYPE_MAX
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
2014-07-10 00:33:25 +02:00
|
|
|
#define OVS_VPORT_TYPE_MAX (__OVS_VPORT_TYPE_MAX - 1)
|
2013-10-17 01:09:24 +02:00
|
|
|
enum ovs_vport_attr {
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_VPORT_ATTR_UNSPEC,
|
|
|
|
OVS_VPORT_ATTR_PORT_NO,
|
|
|
|
OVS_VPORT_ATTR_TYPE,
|
|
|
|
OVS_VPORT_ATTR_NAME,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_VPORT_ATTR_OPTIONS,
|
|
|
|
OVS_VPORT_ATTR_UPCALL_PID,
|
|
|
|
OVS_VPORT_ATTR_STATS,
|
|
|
|
__OVS_VPORT_ATTR_MAX
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
#define OVS_VPORT_ATTR_MAX (__OVS_VPORT_ATTR_MAX - 1)
|
2014-07-10 00:33:25 +02:00
|
|
|
enum {
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_TUNNEL_ATTR_UNSPEC,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_TUNNEL_ATTR_DST_PORT,
|
|
|
|
__OVS_TUNNEL_ATTR_MAX
|
2014-07-10 00:33:25 +02:00
|
|
|
};
|
|
|
|
#define OVS_TUNNEL_ATTR_MAX (__OVS_TUNNEL_ATTR_MAX - 1)
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2014-07-10 00:33:25 +02:00
|
|
|
#define OVS_FLOW_FAMILY "ovs_flow"
|
2013-10-17 01:09:24 +02:00
|
|
|
#define OVS_FLOW_MCGROUP "ovs_flow"
|
|
|
|
#define OVS_FLOW_VERSION 0x1
|
|
|
|
enum ovs_flow_cmd {
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_FLOW_CMD_UNSPEC,
|
|
|
|
OVS_FLOW_CMD_NEW,
|
|
|
|
OVS_FLOW_CMD_DEL,
|
|
|
|
OVS_FLOW_CMD_GET,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_FLOW_CMD_SET
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
struct ovs_flow_stats {
|
2015-01-28 19:07:51 +01:00
|
|
|
__u64 n_packets;
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__u64 n_bytes;
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
enum ovs_key_attr {
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_KEY_ATTR_UNSPEC,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_KEY_ATTR_ENCAP,
|
|
|
|
OVS_KEY_ATTR_PRIORITY,
|
|
|
|
OVS_KEY_ATTR_IN_PORT,
|
|
|
|
OVS_KEY_ATTR_ETHERNET,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_KEY_ATTR_VLAN,
|
|
|
|
OVS_KEY_ATTR_ETHERTYPE,
|
|
|
|
OVS_KEY_ATTR_IPV4,
|
|
|
|
OVS_KEY_ATTR_IPV6,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_KEY_ATTR_TCP,
|
|
|
|
OVS_KEY_ATTR_UDP,
|
|
|
|
OVS_KEY_ATTR_ICMP,
|
|
|
|
OVS_KEY_ATTR_ICMPV6,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_KEY_ATTR_ARP,
|
|
|
|
OVS_KEY_ATTR_ND,
|
|
|
|
OVS_KEY_ATTR_SKB_MARK,
|
|
|
|
OVS_KEY_ATTR_TUNNEL,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_KEY_ATTR_SCTP,
|
|
|
|
OVS_KEY_ATTR_TCP_FLAGS,
|
|
|
|
OVS_KEY_ATTR_DP_HASH,
|
|
|
|
OVS_KEY_ATTR_RECIRC_ID,
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__OVS_KEY_ATTR_MAX
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
2013-11-21 22:43:23 +01:00
|
|
|
#define OVS_KEY_ATTR_MAX (__OVS_KEY_ATTR_MAX - 1)
|
2014-07-10 00:33:25 +02:00
|
|
|
enum ovs_tunnel_key_attr {
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_TUNNEL_KEY_ATTR_ID,
|
|
|
|
OVS_TUNNEL_KEY_ATTR_IPV4_SRC,
|
|
|
|
OVS_TUNNEL_KEY_ATTR_IPV4_DST,
|
|
|
|
OVS_TUNNEL_KEY_ATTR_TOS,
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_TUNNEL_KEY_ATTR_TTL,
|
|
|
|
OVS_TUNNEL_KEY_ATTR_DONT_FRAGMENT,
|
|
|
|
OVS_TUNNEL_KEY_ATTR_CSUM,
|
|
|
|
OVS_TUNNEL_KEY_ATTR_OAM,
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_TUNNEL_KEY_ATTR_GENEVE_OPTS,
|
|
|
|
__OVS_TUNNEL_KEY_ATTR_MAX
|
2014-07-10 00:33:25 +02:00
|
|
|
};
|
|
|
|
#define OVS_TUNNEL_KEY_ATTR_MAX (__OVS_TUNNEL_KEY_ATTR_MAX - 1)
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
enum ovs_frag_type {
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_FRAG_TYPE_NONE,
|
|
|
|
OVS_FRAG_TYPE_FIRST,
|
|
|
|
OVS_FRAG_TYPE_LATER,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__OVS_FRAG_TYPE_MAX
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
2014-07-10 00:33:25 +02:00
|
|
|
#define OVS_FRAG_TYPE_MAX (__OVS_FRAG_TYPE_MAX - 1)
|
2013-10-17 01:09:24 +02:00
|
|
|
struct ovs_key_ethernet {
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__u8 eth_src[ETH_ALEN];
|
|
|
|
__u8 eth_dst[ETH_ALEN];
|
2014-07-10 00:33:25 +02:00
|
|
|
};
|
2013-10-17 01:09:24 +02:00
|
|
|
struct ovs_key_ipv4 {
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__be32 ipv4_src;
|
|
|
|
__be32 ipv4_dst;
|
|
|
|
__u8 ipv4_proto;
|
|
|
|
__u8 ipv4_tos;
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__u8 ipv4_ttl;
|
|
|
|
__u8 ipv4_frag;
|
2014-07-10 00:33:25 +02:00
|
|
|
};
|
2013-10-17 01:09:24 +02:00
|
|
|
struct ovs_key_ipv6 {
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__be32 ipv6_src[4];
|
|
|
|
__be32 ipv6_dst[4];
|
|
|
|
__be32 ipv6_label;
|
|
|
|
__u8 ipv6_proto;
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__u8 ipv6_tclass;
|
|
|
|
__u8 ipv6_hlimit;
|
|
|
|
__u8 ipv6_frag;
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
struct ovs_key_tcp {
|
2015-01-28 19:07:51 +01:00
|
|
|
__be16 tcp_src;
|
|
|
|
__be16 tcp_dst;
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
struct ovs_key_udp {
|
2015-01-28 19:07:51 +01:00
|
|
|
__be16 udp_src;
|
|
|
|
__be16 udp_dst;
|
2014-07-10 00:33:25 +02:00
|
|
|
};
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2014-07-10 00:33:25 +02:00
|
|
|
struct ovs_key_sctp {
|
2015-01-28 19:07:51 +01:00
|
|
|
__be16 sctp_src;
|
|
|
|
__be16 sctp_dst;
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
struct ovs_key_icmp {
|
2015-01-28 19:07:51 +01:00
|
|
|
__u8 icmp_type;
|
|
|
|
__u8 icmp_code;
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
struct ovs_key_icmpv6 {
|
2015-01-28 19:07:51 +01:00
|
|
|
__u8 icmpv6_type;
|
|
|
|
__u8 icmpv6_code;
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
struct ovs_key_arp {
|
2015-01-28 19:07:51 +01:00
|
|
|
__be32 arp_sip;
|
|
|
|
__be32 arp_tip;
|
|
|
|
__be16 arp_op;
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__u8 arp_sha[ETH_ALEN];
|
|
|
|
__u8 arp_tha[ETH_ALEN];
|
2014-07-10 00:33:25 +02:00
|
|
|
};
|
2013-10-17 01:09:24 +02:00
|
|
|
struct ovs_key_nd {
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__u32 nd_target[4];
|
|
|
|
__u8 nd_sll[ETH_ALEN];
|
|
|
|
__u8 nd_tll[ETH_ALEN];
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
enum ovs_flow_attr {
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_FLOW_ATTR_UNSPEC,
|
|
|
|
OVS_FLOW_ATTR_KEY,
|
|
|
|
OVS_FLOW_ATTR_ACTIONS,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_FLOW_ATTR_STATS,
|
|
|
|
OVS_FLOW_ATTR_TCP_FLAGS,
|
|
|
|
OVS_FLOW_ATTR_USED,
|
|
|
|
OVS_FLOW_ATTR_CLEAR,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_FLOW_ATTR_MASK,
|
|
|
|
__OVS_FLOW_ATTR_MAX
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
#define OVS_FLOW_ATTR_MAX (__OVS_FLOW_ATTR_MAX - 1)
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
enum ovs_sample_attr {
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_SAMPLE_ATTR_UNSPEC,
|
|
|
|
OVS_SAMPLE_ATTR_PROBABILITY,
|
|
|
|
OVS_SAMPLE_ATTR_ACTIONS,
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__OVS_SAMPLE_ATTR_MAX,
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
#define OVS_SAMPLE_ATTR_MAX (__OVS_SAMPLE_ATTR_MAX - 1)
|
|
|
|
enum ovs_userspace_attr {
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_USERSPACE_ATTR_UNSPEC,
|
|
|
|
OVS_USERSPACE_ATTR_PID,
|
|
|
|
OVS_USERSPACE_ATTR_USERDATA,
|
|
|
|
__OVS_USERSPACE_ATTR_MAX
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
#define OVS_USERSPACE_ATTR_MAX (__OVS_USERSPACE_ATTR_MAX - 1)
|
|
|
|
struct ovs_action_push_vlan {
|
2015-01-28 19:07:51 +01:00
|
|
|
__be16 vlan_tpid;
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-28 19:07:51 +01:00
|
|
|
__be16 vlan_tci;
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
2015-01-26 19:57:07 +01:00
|
|
|
enum ovs_hash_alg {
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_HASH_ALG_L4,
|
2014-07-10 00:33:25 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2015-01-26 19:57:07 +01:00
|
|
|
};
|
|
|
|
struct ovs_action_hash {
|
2015-01-28 19:07:51 +01:00
|
|
|
uint32_t hash_alg;
|
|
|
|
uint32_t hash_basis;
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
};
|
2013-10-17 01:09:24 +02:00
|
|
|
enum ovs_action_attr {
|
2015-01-28 19:07:51 +01:00
|
|
|
OVS_ACTION_ATTR_UNSPEC,
|
|
|
|
OVS_ACTION_ATTR_OUTPUT,
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
OVS_ACTION_ATTR_USERSPACE,
|
|
|
|
OVS_ACTION_ATTR_SET,
|
|
|
|
OVS_ACTION_ATTR_PUSH_VLAN,
|
|
|
|
OVS_ACTION_ATTR_POP_VLAN,
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
OVS_ACTION_ATTR_SAMPLE,
|
|
|
|
OVS_ACTION_ATTR_RECIRC,
|
|
|
|
OVS_ACTION_ATTR_HASH,
|
|
|
|
__OVS_ACTION_ATTR_MAX
|
2015-01-26 19:57:07 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
#define OVS_ACTION_ATTR_MAX (__OVS_ACTION_ATTR_MAX - 1)
|
|
|
|
#endif
|