Home
last modified time | relevance | path

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

/Linux-v6.1/net/ipv4/
Dtcp_output.c515 sock_ops.remaining_opt_len = *remaining; in bpf_skops_hdr_opt_len()
522 if (err || sock_ops.remaining_opt_len == *remaining) in bpf_skops_hdr_opt_len()
525 opts->bpf_opt_len = *remaining - sock_ops.remaining_opt_len; in bpf_skops_hdr_opt_len()
560 sock_ops.remaining_opt_len = max_opt_len; in bpf_skops_write_hdr_opt()
569 nr_written = max_opt_len - sock_ops.remaining_opt_len; in bpf_skops_write_hdr_opt()
/Linux-v6.1/include/linux/
Dfilter.h1311 u8 remaining_opt_len; member
/Linux-v6.1/net/core/
Dfilter.c7341 if (new_kind_len > bpf_sock->remaining_opt_len) in BPF_CALL_4()
7381 bpf_sock->remaining_opt_len -= new_kind_len; in BPF_CALL_4()
7406 if (len > bpf_sock->remaining_opt_len) in BPF_CALL_3()
7409 bpf_sock->remaining_opt_len -= len; in BPF_CALL_3()