Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dtcp_bpf.c34 struct sk_msg *msg, u32 apply_bytes) in bpf_tcp_ingress() argument
36 bool apply = apply_bytes; in bpf_tcp_ingress()
51 size = (apply && apply_bytes < sge->length) ? in bpf_tcp_ingress()
52 apply_bytes : sge->length; in bpf_tcp_ingress()
68 apply_bytes -= size; in bpf_tcp_ingress()
69 if (!apply_bytes) { in bpf_tcp_ingress()
91 static int tcp_bpf_push(struct sock *sk, struct sk_msg *msg, u32 apply_bytes, in tcp_bpf_push() argument
95 bool apply = apply_bytes; in tcp_bpf_push()
106 size = (apply && apply_bytes < sge->length) ? in tcp_bpf_push()
107 apply_bytes : sge->length; in tcp_bpf_push()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sockmap_ktls.c
/linux/include/linux/
H A Dskmsg.h48 u32 apply_bytes;
87 u32 apply_bytes;
158 if (psock->apply_bytes) { in sk_msg_apply_bytes()
159 if (psock->apply_bytes < bytes) in sk_msg_apply_bytes()
160 psock->apply_bytes = 0; in sk_msg_apply_bytes()
162 psock->apply_bytes -= bytes; in sk_msg_apply_bytes()
47 u32 apply_bytes; global() member
86 u32 apply_bytes; global() member
/linux/net/tls/
H A Dtls_sw.c
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_ktls.c
/linux/net/core/
H A Dskmsg.c938 psock->apply_bytes = msg->apply_bytes; in sk_psock_msg_verdict()
H A Dfilter.c2625 msg->apply_bytes = bytes; in BPF_CALL_2()