Lines Matching refs:inet_opt
209 struct ip_options_rcu *inet_opt; in tcp_v4_connect() local
219 inet_opt = rcu_dereference_protected(inet->inet_opt, in tcp_v4_connect()
221 if (inet_opt && inet_opt->opt.srr) { in tcp_v4_connect()
224 nexthop = inet_opt->opt.faddr; in tcp_v4_connect()
246 if (!inet_opt || !inet_opt->opt.srr) in tcp_v4_connect()
265 if (inet_opt) in tcp_v4_connect()
266 inet_csk(sk)->icsk_ext_hdr_len = inet_opt->opt.optlen; in tcp_v4_connect()
1426 struct ip_options_rcu *inet_opt; in tcp_v4_syn_recv_sock() local
1445 inet_opt = rcu_dereference(ireq->ireq_opt); in tcp_v4_syn_recv_sock()
1446 RCU_INIT_POINTER(newinet->inet_opt, inet_opt); in tcp_v4_syn_recv_sock()
1451 if (inet_opt) in tcp_v4_syn_recv_sock()
1452 inet_csk(newsk)->icsk_ext_hdr_len = inet_opt->opt.optlen; in tcp_v4_syn_recv_sock()
1495 newinet->inet_opt = NULL; in tcp_v4_syn_recv_sock()
1507 newinet->inet_opt = NULL; in tcp_v4_syn_recv_sock()