Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/bpf/
Dsockmap.c113 int apply_bytes; member
473 static int bpf_tcp_push(struct sock *sk, int apply_bytes, in bpf_tcp_push() argument
477 bool apply = apply_bytes; in bpf_tcp_push()
485 size = (apply && apply_bytes < sg->length) ? in bpf_tcp_push()
486 apply_bytes : sg->length; in bpf_tcp_push()
496 apply_bytes -= ret; in bpf_tcp_push()
511 apply_bytes -= ret; in bpf_tcp_push()
528 if (apply && !apply_bytes) in bpf_tcp_push()
661 psock->apply_bytes = md->apply_bytes; in smap_do_tx_msg()
688 static int bpf_tcp_ingress(struct sock *sk, int apply_bytes, in bpf_tcp_ingress() argument
[all …]
/Linux-v4.19/include/linux/
Dfilter.h526 __u32 apply_bytes; member
/Linux-v4.19/net/core/
Dfilter.c2259 msg->apply_bytes = bytes; in BPF_CALL_2()