Lines Matching refs:inet_opt
208 struct ip_options_rcu *inet_opt; in tcp_v4_connect() local
218 inet_opt = rcu_dereference_protected(inet->inet_opt, in tcp_v4_connect()
220 if (inet_opt && inet_opt->opt.srr) { in tcp_v4_connect()
223 nexthop = inet_opt->opt.faddr; in tcp_v4_connect()
245 if (!inet_opt || !inet_opt->opt.srr) in tcp_v4_connect()
264 if (inet_opt) in tcp_v4_connect()
265 inet_csk(sk)->icsk_ext_hdr_len = inet_opt->opt.optlen; in tcp_v4_connect()
1531 struct ip_options_rcu *inet_opt; in tcp_v4_syn_recv_sock() local
1550 inet_opt = rcu_dereference(ireq->ireq_opt); in tcp_v4_syn_recv_sock()
1551 RCU_INIT_POINTER(newinet->inet_opt, inet_opt); in tcp_v4_syn_recv_sock()
1556 if (inet_opt) in tcp_v4_syn_recv_sock()
1557 inet_csk(newsk)->icsk_ext_hdr_len = inet_opt->opt.optlen; in tcp_v4_syn_recv_sock()
1608 newinet->inet_opt = NULL; in tcp_v4_syn_recv_sock()
1629 newinet->inet_opt = NULL; in tcp_v4_syn_recv_sock()