Searched refs:max_opt_len (Results 1 – 1 of 1) sorted by relevance
537 u8 first_opt_off, nr_written, max_opt_len = opts->bpf_opt_len; in bpf_skops_write_hdr_opt() local541 if (likely(!max_opt_len)) in bpf_skops_write_hdr_opt()559 sock_ops.remaining_opt_len = max_opt_len; in bpf_skops_write_hdr_opt()560 first_opt_off = tcp_hdrlen(skb) - max_opt_len; in bpf_skops_write_hdr_opt()568 nr_written = max_opt_len - sock_ops.remaining_opt_len; in bpf_skops_write_hdr_opt()570 if (nr_written < max_opt_len) in bpf_skops_write_hdr_opt()572 max_opt_len - nr_written); in bpf_skops_write_hdr_opt()