Searched refs:max_opt_len (Results 1 – 1 of 1) sorted by relevance
538 u8 first_opt_off, nr_written, max_opt_len = opts->bpf_opt_len; in bpf_skops_write_hdr_opt() local542 if (likely(!max_opt_len)) in bpf_skops_write_hdr_opt()560 sock_ops.remaining_opt_len = max_opt_len; in bpf_skops_write_hdr_opt()561 first_opt_off = tcp_hdrlen(skb) - 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()571 if (nr_written < max_opt_len) in bpf_skops_write_hdr_opt()573 max_opt_len - nr_written); in bpf_skops_write_hdr_opt()