Lines Matching refs:inet_opt
207 struct ip_options_rcu *inet_opt; in tcp_v4_connect() local
222 inet_opt = rcu_dereference_protected(inet->inet_opt, in tcp_v4_connect()
224 if (inet_opt && inet_opt->opt.srr) { in tcp_v4_connect()
227 nexthop = inet_opt->opt.faddr; in tcp_v4_connect()
248 if (!inet_opt || !inet_opt->opt.srr) in tcp_v4_connect()
275 if (inet_opt) in tcp_v4_connect()
276 inet_csk(sk)->icsk_ext_hdr_len = inet_opt->opt.optlen; in tcp_v4_connect()
1572 struct ip_options_rcu *inet_opt; in tcp_v4_syn_recv_sock() local
1591 inet_opt = rcu_dereference(ireq->ireq_opt); in tcp_v4_syn_recv_sock()
1592 RCU_INIT_POINTER(newinet->inet_opt, inet_opt); in tcp_v4_syn_recv_sock()
1597 if (inet_opt) in tcp_v4_syn_recv_sock()
1598 inet_csk(newsk)->icsk_ext_hdr_len = inet_opt->opt.optlen; in tcp_v4_syn_recv_sock()
1643 newinet->inet_opt = NULL; in tcp_v4_syn_recv_sock()
1664 newinet->inet_opt = NULL; in tcp_v4_syn_recv_sock()