Lines Matching refs:inet_opt
466 struct ip_options_rcu *inet_opt;
476 inet_opt = rcu_dereference(inet->inet_opt);
489 if (inet_opt && inet_opt->opt.srr)
490 daddr = inet_opt->opt.faddr;
510 if (inet_opt && inet_opt->opt.is_strictroute && rt->rt_uses_gateway)
514 skb_push(skb, sizeof(struct iphdr) + (inet_opt ? inet_opt->opt.optlen : 0));
528 if (inet_opt && inet_opt->opt.optlen) {
529 iph->ihl += inet_opt->opt.optlen >> 2;
530 ip_options_build(skb, &inet_opt->opt, inet->inet_daddr, rt, 0);