Lines Matching refs:inet_opt
216 struct ip_options_rcu *inet_opt;
226 inet_opt = rcu_dereference_protected(inet->inet_opt,
228 if (inet_opt && inet_opt->opt.srr) {
231 nexthop = inet_opt->opt.faddr;
253 if (!inet_opt || !inet_opt->opt.srr)
272 if (inet_opt)
273 inet_csk(sk)->icsk_ext_hdr_len = inet_opt->opt.optlen;
1546 struct ip_options_rcu *inet_opt;
1565 inet_opt = rcu_dereference(ireq->ireq_opt);
1566 RCU_INIT_POINTER(newinet->inet_opt, inet_opt);
1571 if (inet_opt)
1572 inet_csk(newsk)->icsk_ext_hdr_len = inet_opt->opt.optlen;
1623 newinet->inet_opt = NULL;
1644 newinet->inet_opt = NULL;