bpf.h revision 05d08e9716b5974d6ed08973f44930804890b902
182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/****************************************************************************
282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************
382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   This header was automatically generated from a Linux kernel header
582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   of the same name, to make information necessary for userspace to
682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   call into the kernel available to libc.  It contains only constants,
782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   structures, and macros generated from the original header, and thus,
882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   contains no copyrightable information.
982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   To edit the content of this header, modify the corresponding
1182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   source file (e.g. under external/kernel-headers/original/) then
1282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   run bionic/libc/kernel/tools/update_all.py
1382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   Any manual change here will be lost the next time this script will
1582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   be run. You've been warned!
1682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************
1882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************/
1982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#ifndef _UAPI__LINUX_BPF_H__
2082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define _UAPI__LINUX_BPF_H__
2182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#include <linux/types.h>
2282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#include <linux/bpf_common.h>
2382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_ALU64 0x07
2582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_DW 0x18
2682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_XADD 0xc0
2782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_MOV 0xb0
2882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_ARSH 0xc0
3082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_END 0xd0
3182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_TO_LE 0x00
3282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_TO_BE 0x08
3382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_FROM_LE BPF_TO_LE
3582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_FROM_BE BPF_TO_BE
3682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_JNE 0x50
3782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_JSGT 0x60
3882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_JSGE 0x70
4082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_CALL 0x80
4182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define BPF_EXIT 0x90
4282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisenum {
4382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_REG_0 = 0,
45d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_REG_1,
46d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_REG_2,
47d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_REG_3,
4882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_REG_4,
50d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_REG_5,
51d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_REG_6,
52d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_REG_7,
5382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_REG_8,
55d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_REG_9,
56d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_REG_10,
57d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __MAX_BPF_REG,
5882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
5982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris};
6082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define MAX_BPF_REG __MAX_BPF_REG
6182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisstruct bpf_insn {
62d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __u8 code;
6382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __u8 dst_reg : 4;
65d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __u8 src_reg : 4;
66d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __s16 off;
67d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __s32 imm;
6882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
6982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris};
7082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisenum bpf_cmd {
71d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_MAP_CREATE,
72d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_MAP_LOOKUP_ELEM,
7382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_MAP_UPDATE_ELEM,
75d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_MAP_DELETE_ELEM,
76d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_MAP_GET_NEXT_KEY,
77d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_PROG_LOAD,
7882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
7905d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_OBJ_PIN,
8005d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_OBJ_GET,
8182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris};
8282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisenum bpf_map_type {
8305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_MAP_TYPE_UNSPEC,
8505d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_MAP_TYPE_HASH,
8605d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_MAP_TYPE_ARRAY,
8705d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_MAP_TYPE_PROG_ARRAY,
8882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
8905d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_MAP_TYPE_PERF_EVENT_ARRAY,
9005d08e9716b5974d6ed08973f44930804890b902Christopher Ferris};
9182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisenum bpf_prog_type {
92d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_PROG_TYPE_UNSPEC,
9305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
9405d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_PROG_TYPE_SOCKET_FILTER,
9505d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_PROG_TYPE_KPROBE,
9605d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_PROG_TYPE_SCHED_CLS,
9705d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_PROG_TYPE_SCHED_ACT,
9805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
9982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris};
10005d08e9716b5974d6ed08973f44930804890b902Christopher Ferris#define BPF_PSEUDO_MAP_FD 1
10105d08e9716b5974d6ed08973f44930804890b902Christopher Ferris#define BPF_ANY 0
10205d08e9716b5974d6ed08973f44930804890b902Christopher Ferris#define BPF_NOEXIST 1
10382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
10405d08e9716b5974d6ed08973f44930804890b902Christopher Ferris#define BPF_EXIST 2
10505d08e9716b5974d6ed08973f44930804890b902Christopher Ferrisunion bpf_attr {
106d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  struct {
107d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __u32 map_type;
10805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __u32 key_size;
110d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __u32 value_size;
111d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __u32 max_entries;
112d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  };
11305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  struct {
115d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __u32 map_fd;
116d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __aligned_u64 key;
117d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    union {
11805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao      __aligned_u64 value;
120d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao      __aligned_u64 next_key;
121d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    };
12205d08e9716b5974d6ed08973f44930804890b902Christopher Ferris    __u64 flags;
12305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  };
125d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  struct {
126d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __u32 prog_type;
127d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __u32 insn_cnt;
12805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __aligned_u64 insns;
130d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __aligned_u64 license;
131d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __u32 log_level;
132d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __u32 log_size;
13305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao    __aligned_u64 log_buf;
13505d08e9716b5974d6ed08973f44930804890b902Christopher Ferris    __u32 kern_version;
13605d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  };
13705d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  struct {
13805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
13905d08e9716b5974d6ed08973f44930804890b902Christopher Ferris    __aligned_u64 pathname;
14005d08e9716b5974d6ed08973f44930804890b902Christopher Ferris    __u32 bpf_fd;
141d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  };
14282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris} __attribute__((aligned(8)));
14382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
14482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisenum bpf_func_id {
145d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  BPF_FUNC_unspec,
14605d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_map_lookup_elem,
14705d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_map_update_elem,
14805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
14905d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_map_delete_elem,
15005d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_probe_read,
15105d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_ktime_get_ns,
15205d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_trace_printk,
15305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
15405d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_get_prandom_u32,
15505d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_get_smp_processor_id,
15605d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_skb_store_bytes,
15705d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_l3_csum_replace,
15805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
15905d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_l4_csum_replace,
16005d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_tail_call,
16105d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_clone_redirect,
16205d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_get_current_pid_tgid,
16305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
16405d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_get_current_uid_gid,
16505d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_get_current_comm,
16605d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_get_cgroup_classid,
16705d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_skb_vlan_push,
16805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
16905d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_skb_vlan_pop,
17005d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_skb_get_tunnel_key,
17105d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_skb_set_tunnel_key,
17205d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_perf_event_read,
17305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
17405d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_redirect,
17505d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_get_route_realm,
17605d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  BPF_FUNC_perf_event_output,
177d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao  __BPF_FUNC_MAX_ID,
17805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
17905d08e9716b5974d6ed08973f44930804890b902Christopher Ferris};
18005d08e9716b5974d6ed08973f44930804890b902Christopher Ferrisstruct __sk_buff {
18105d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 len;
18205d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 pkt_type;
18305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
18405d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 mark;
18505d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 queue_mapping;
18605d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 protocol;
18705d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 vlan_present;
18805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
18905d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 vlan_tci;
19005d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 vlan_proto;
19105d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 priority;
19205d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 ingress_ifindex;
19305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
19405d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 ifindex;
19505d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 tc_index;
19605d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 cb[5];
19705d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 hash;
19805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
19905d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 tc_classid;
20082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris};
20105d08e9716b5974d6ed08973f44930804890b902Christopher Ferrisstruct bpf_tunnel_key {
20205d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 tunnel_id;
20382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
20405d08e9716b5974d6ed08973f44930804890b902Christopher Ferris  __u32 remote_ipv4;
20505d08e9716b5974d6ed08973f44930804890b902Christopher Ferris};
20682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#endif
207