Home
last modified time | relevance | path

Searched refs:bpf_setsockopt (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/samples/bpf/
Dtcp_clamp_kern.c69 rv = bpf_setsockopt(skops, SOL_SOCKET, SO_SNDBUF, in bpf_clamp()
71 rv += bpf_setsockopt(skops, SOL_SOCKET, in bpf_clamp()
76 rv = bpf_setsockopt(skops, SOL_TCP, in bpf_clamp()
82 rv = bpf_setsockopt(skops, SOL_TCP, in bpf_clamp()
85 rv += bpf_setsockopt(skops, SOL_SOCKET, in bpf_clamp()
88 rv += bpf_setsockopt(skops, SOL_SOCKET, in bpf_clamp()
Dtcp_iw_kern.c65 rv = bpf_setsockopt(skops, SOL_SOCKET, SO_SNDBUF, &bufsize, in bpf_iw()
67 rv += bpf_setsockopt(skops, SOL_SOCKET, SO_RCVBUF, in bpf_iw()
71 rv = bpf_setsockopt(skops, SOL_TCP, TCP_BPF_IW, &iw, in bpf_iw()
76 rv = bpf_setsockopt(skops, SOL_SOCKET, SO_SNDBUF, &bufsize, in bpf_iw()
78 rv += bpf_setsockopt(skops, SOL_SOCKET, SO_RCVBUF, in bpf_iw()
Dtcp_bufs_kern.c64 rv = bpf_setsockopt(skops, SOL_SOCKET, SO_SNDBUF, &bufsize, in bpf_bufs()
66 rv += bpf_setsockopt(skops, SOL_SOCKET, SO_RCVBUF, in bpf_bufs()
74 rv = bpf_setsockopt(skops, SOL_SOCKET, SO_SNDBUF, &bufsize, in bpf_bufs()
76 rv += bpf_setsockopt(skops, SOL_SOCKET, SO_RCVBUF, in bpf_bufs()
Dtcp_cong_kern.c66 rv = bpf_setsockopt(skops, SOL_TCP, TCP_CONGESTION, in bpf_cong()
70 rv = bpf_setsockopt(skops, SOL_TCP, TCP_CONGESTION, in bpf_cong()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_tcpbpf_kern.c83 rv = bpf_setsockopt(skops, SOL_IPV6, IPV6_TCLASS, &v, in bpf_testcb()
Dbpf_helpers.h70 static int (*bpf_setsockopt)(void *ctx, int level, int optname, void *optval, variable
/Linux-v4.19/net/core/
Dfilter.c3893 BPF_CALL_5(bpf_setsockopt, struct bpf_sock_ops_kern *, bpf_sock, in BPF_CALL_5() argument
4028 .func = bpf_setsockopt,