Home
last modified time | relevance | path

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

/linux-6.15/net/ipv4/
H A Dtcp_bpf.c35 bool apply = apply_bytes; in bpf_tcp_ingress()
51 apply_bytes : sge->length; in bpf_tcp_ingress()
67 apply_bytes -= size; in bpf_tcp_ingress()
68 if (!apply_bytes) { in bpf_tcp_ingress()
94 bool apply = apply_bytes; in tcp_bpf_push()
106 apply_bytes : sge->length; in tcp_bpf_push()
127 apply_bytes -= ret; in tcp_bpf_push()
145 if (apply && !apply_bytes) in tcp_bpf_push()
419 if (psock->apply_bytes && psock->apply_bytes < tosend) in tcp_bpf_send_verdict()
436 if (!psock->apply_bytes) { in tcp_bpf_send_verdict()
[all …]
/linux-6.15/include/linux/
H A Dskmsg.h47 u32 apply_bytes; member
86 u32 apply_bytes; member
153 if (psock->apply_bytes) { in sk_msg_apply_bytes()
154 if (psock->apply_bytes < bytes) in sk_msg_apply_bytes()
155 psock->apply_bytes = 0; in sk_msg_apply_bytes()
157 psock->apply_bytes -= bytes; in sk_msg_apply_bytes()
/linux-6.15/net/tls/
H A Dtls_sw.c656 msg_opl->apply_bytes = 0; in tls_split_open_record()
660 msg_npl->apply_bytes = apply; in tls_split_open_record()
883 if (msg->apply_bytes && msg->apply_bytes < send) in bpf_exec_tx_verdict()
884 send = msg->apply_bytes; in bpf_exec_tx_verdict()
900 if (msg->apply_bytes < send) in bpf_exec_tx_verdict()
901 msg->apply_bytes = 0; in bpf_exec_tx_verdict()
903 msg->apply_bytes -= send; in bpf_exec_tx_verdict()
920 if (msg->apply_bytes < send) in bpf_exec_tx_verdict()
921 msg->apply_bytes = 0; in bpf_exec_tx_verdict()
923 msg->apply_bytes -= send; in bpf_exec_tx_verdict()
[all …]
/linux-6.15/net/core/
H A Dskmsg.c892 psock->apply_bytes = msg->apply_bytes; in sk_psock_msg_verdict()
H A Dfilter.c2596 msg->apply_bytes = bytes; in BPF_CALL_2()