Star64_linux/net
Petar Penkov 70d6624431 bpf: add bpf_tcp_gen_syncookie helper
This helper function allows BPF programs to try to generate SYN
cookies, given a reference to a listener socket. The function works
from XDP and with an skb context since bpf_skc_lookup_tcp can lookup a
socket in both cases.

Signed-off-by: Petar Penkov <ppenkov@google.com>
Suggested-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2019-07-30 21:03:05 -07:00
..
6lowpan
9p
802
8021q
appletalk
atm
ax25
batman-adv
bluetooth
bpf bpf/flow_dissector: support flags in BPF_PROG_TEST_RUN 2019-07-25 18:00:41 -07:00
bpfilter
bridge
caif
can
ceph
core bpf: add bpf_tcp_gen_syncookie helper 2019-07-30 21:03:05 -07:00
dcb
dccp
decnet
dns_resolver
dsa net: flow_offload: add flow_block structure and use it 2019-07-19 21:27:45 -07:00
ethernet
hsr
ieee802154
ife
ipv4 tcp: add skb-less helpers to retrieve SYN cookie 2019-07-30 21:03:05 -07:00
ipv6 tcp: add skb-less helpers to retrieve SYN cookie 2019-07-30 21:03:05 -07:00
iucv
kcm net: Use skb accessors in network core 2019-07-22 20:47:56 -07:00
key
l2tp
l3mdev
lapb
llc
mac80211 mac80211: don't warn about CW params when not using them 2019-07-20 21:40:32 +02:00
mac802154
mpls
ncsi
netfilter net: flow_offload: add flow_block structure and use it 2019-07-19 21:27:45 -07:00
netlabel
netlink
netrom
nfc
nsh
openvswitch
packet
phonet
psample
qrtr
rds
rfkill
rose
rxrpc
sched net: sched: include mpls actions in hardware intermediate representation 2019-07-23 13:52:50 -07:00
sctp
smc
strparser
sunrpc
switchdev
tipc tipc: Fix a typo 2019-07-21 11:41:01 -07:00
tls net: Use skb accessors in network core 2019-07-22 20:47:56 -07:00
unix
vmw_vsock hv_sock: Use consistent types for UUIDs 2019-07-23 13:58:32 -07:00
wimax
wireless
x25
xdp
xfrm
compat.c
Kconfig
Makefile
socket.c
sysctl_net.c