mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 11:29:46 +00:00
sys/linux: add lwtunnel_encap_bpf description
https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/lwtunnel.h#L102 https://elixir.bootlin.com/linux/latest/source/net/core/lwt_bpf.c#L364
This commit is contained in:
parent
327a211f77
commit
20595c07c6
@ -1000,6 +1000,11 @@ lwtunnel_policy [
|
||||
# after the kernel fixes the seg6_iptunnel.h uapi header.
|
||||
# SEG6_IPTUNNEL_SRH nlattr[SEG6_IPTUNNEL_SRH, tuninfo]
|
||||
#
|
||||
LWT_BPF_IN nlnest[LWT_BPF_IN, bpf_prog_policy]
|
||||
LWT_BPF_OUT nlnest[LWT_BPF_OUT, bpf_prog_policy]
|
||||
LWT_BPF_XMIT nlnest[LWT_BPF_XMIT, bpf_prog_policy]
|
||||
LWT_BPF_XMIT_HEADROOM nlattr[LWT_BPF_XMIT_HEADROOM, int32[0:LWT_BPF_MAX_HEADROOM]]
|
||||
|
||||
RPL_IPTUNNEL_SRH nlattr[RPL_IPTUNNEL_SRH, ipv6_rpl_sr_hdr]
|
||||
] [varlen]
|
||||
|
||||
@ -1028,6 +1033,11 @@ erspan_opt_policy_lwt [
|
||||
LWTUNNEL_IP_OPT_ERSPAN_HWID nlattr[LWTUNNEL_IP_OPT_ERSPAN_HWID, int8]
|
||||
] [varlen]
|
||||
|
||||
bpf_prog_policy [
|
||||
LWT_BPF_PROG_FD nlattr[LWT_BPF_PROG_FD, fd_bpf_prog]
|
||||
LWT_BPF_PROG_NAME nlattr[LWT_BPF_PROG_NAME, string]
|
||||
] [varlen]
|
||||
|
||||
ipv6_rpl_sr_hdr {
|
||||
nexthdr int8
|
||||
hdrlen len[parent, int8]
|
||||
|
@ -430,6 +430,13 @@ LWTUNNEL_IP_OPT_VXLAN_GBP = 1
|
||||
LWTUNNEL_IP_SRC = 3
|
||||
LWTUNNEL_IP_TOS = 5
|
||||
LWTUNNEL_IP_TTL = 4
|
||||
LWT_BPF_IN = 1
|
||||
LWT_BPF_MAX_HEADROOM = 256
|
||||
LWT_BPF_OUT = 2
|
||||
LWT_BPF_PROG_FD = 1
|
||||
LWT_BPF_PROG_NAME = 2
|
||||
LWT_BPF_XMIT = 3
|
||||
LWT_BPF_XMIT_HEADROOM = 4
|
||||
MACVLAN_MACADDR_ADD = 0
|
||||
MACVLAN_MACADDR_DEL = 1
|
||||
MACVLAN_MACADDR_FLUSH = 2
|
||||
|
@ -430,6 +430,13 @@ LWTUNNEL_IP_OPT_VXLAN_GBP = 1
|
||||
LWTUNNEL_IP_SRC = 3
|
||||
LWTUNNEL_IP_TOS = 5
|
||||
LWTUNNEL_IP_TTL = 4
|
||||
LWT_BPF_IN = 1
|
||||
LWT_BPF_MAX_HEADROOM = 256
|
||||
LWT_BPF_OUT = 2
|
||||
LWT_BPF_PROG_FD = 1
|
||||
LWT_BPF_PROG_NAME = 2
|
||||
LWT_BPF_XMIT = 3
|
||||
LWT_BPF_XMIT_HEADROOM = 4
|
||||
MACVLAN_MACADDR_ADD = 0
|
||||
MACVLAN_MACADDR_DEL = 1
|
||||
MACVLAN_MACADDR_FLUSH = 2
|
||||
|
@ -430,6 +430,13 @@ LWTUNNEL_IP_OPT_VXLAN_GBP = 1
|
||||
LWTUNNEL_IP_SRC = 3
|
||||
LWTUNNEL_IP_TOS = 5
|
||||
LWTUNNEL_IP_TTL = 4
|
||||
LWT_BPF_IN = 1
|
||||
LWT_BPF_MAX_HEADROOM = 256
|
||||
LWT_BPF_OUT = 2
|
||||
LWT_BPF_PROG_FD = 1
|
||||
LWT_BPF_PROG_NAME = 2
|
||||
LWT_BPF_XMIT = 3
|
||||
LWT_BPF_XMIT_HEADROOM = 4
|
||||
MACVLAN_MACADDR_ADD = 0
|
||||
MACVLAN_MACADDR_DEL = 1
|
||||
MACVLAN_MACADDR_FLUSH = 2
|
||||
|
@ -430,6 +430,13 @@ LWTUNNEL_IP_OPT_VXLAN_GBP = 1
|
||||
LWTUNNEL_IP_SRC = 3
|
||||
LWTUNNEL_IP_TOS = 5
|
||||
LWTUNNEL_IP_TTL = 4
|
||||
LWT_BPF_IN = 1
|
||||
LWT_BPF_MAX_HEADROOM = 256
|
||||
LWT_BPF_OUT = 2
|
||||
LWT_BPF_PROG_FD = 1
|
||||
LWT_BPF_PROG_NAME = 2
|
||||
LWT_BPF_XMIT = 3
|
||||
LWT_BPF_XMIT_HEADROOM = 4
|
||||
MACVLAN_MACADDR_ADD = 0
|
||||
MACVLAN_MACADDR_DEL = 1
|
||||
MACVLAN_MACADDR_FLUSH = 2
|
||||
|
@ -430,6 +430,13 @@ LWTUNNEL_IP_OPT_VXLAN_GBP = 1
|
||||
LWTUNNEL_IP_SRC = 3
|
||||
LWTUNNEL_IP_TOS = 5
|
||||
LWTUNNEL_IP_TTL = 4
|
||||
LWT_BPF_IN = 1
|
||||
LWT_BPF_MAX_HEADROOM = 256
|
||||
LWT_BPF_OUT = 2
|
||||
LWT_BPF_PROG_FD = 1
|
||||
LWT_BPF_PROG_NAME = 2
|
||||
LWT_BPF_XMIT = 3
|
||||
LWT_BPF_XMIT_HEADROOM = 4
|
||||
MACVLAN_MACADDR_ADD = 0
|
||||
MACVLAN_MACADDR_DEL = 1
|
||||
MACVLAN_MACADDR_FLUSH = 2
|
||||
|
@ -430,6 +430,13 @@ LWTUNNEL_IP_OPT_VXLAN_GBP = 1
|
||||
LWTUNNEL_IP_SRC = 3
|
||||
LWTUNNEL_IP_TOS = 5
|
||||
LWTUNNEL_IP_TTL = 4
|
||||
LWT_BPF_IN = 1
|
||||
LWT_BPF_MAX_HEADROOM = 256
|
||||
LWT_BPF_OUT = 2
|
||||
LWT_BPF_PROG_FD = 1
|
||||
LWT_BPF_PROG_NAME = 2
|
||||
LWT_BPF_XMIT = 3
|
||||
LWT_BPF_XMIT_HEADROOM = 4
|
||||
MACVLAN_MACADDR_ADD = 0
|
||||
MACVLAN_MACADDR_DEL = 1
|
||||
MACVLAN_MACADDR_FLUSH = 2
|
||||
|
@ -430,6 +430,13 @@ LWTUNNEL_IP_OPT_VXLAN_GBP = 1
|
||||
LWTUNNEL_IP_SRC = 3
|
||||
LWTUNNEL_IP_TOS = 5
|
||||
LWTUNNEL_IP_TTL = 4
|
||||
LWT_BPF_IN = 1
|
||||
LWT_BPF_MAX_HEADROOM = 256
|
||||
LWT_BPF_OUT = 2
|
||||
LWT_BPF_PROG_FD = 1
|
||||
LWT_BPF_PROG_NAME = 2
|
||||
LWT_BPF_XMIT = 3
|
||||
LWT_BPF_XMIT_HEADROOM = 4
|
||||
MACVLAN_MACADDR_ADD = 0
|
||||
MACVLAN_MACADDR_DEL = 1
|
||||
MACVLAN_MACADDR_FLUSH = 2
|
||||
|
@ -430,6 +430,13 @@ LWTUNNEL_IP_OPT_VXLAN_GBP = 1
|
||||
LWTUNNEL_IP_SRC = 3
|
||||
LWTUNNEL_IP_TOS = 5
|
||||
LWTUNNEL_IP_TTL = 4
|
||||
LWT_BPF_IN = 1
|
||||
LWT_BPF_MAX_HEADROOM = 256
|
||||
LWT_BPF_OUT = 2
|
||||
LWT_BPF_PROG_FD = 1
|
||||
LWT_BPF_PROG_NAME = 2
|
||||
LWT_BPF_XMIT = 3
|
||||
LWT_BPF_XMIT_HEADROOM = 4
|
||||
MACVLAN_MACADDR_ADD = 0
|
||||
MACVLAN_MACADDR_DEL = 1
|
||||
MACVLAN_MACADDR_FLUSH = 2
|
||||
|
Loading…
Reference in New Issue
Block a user