Lines Matching refs:srcrt
348 opt->lastopt = opt->srcrt = skb_network_header_len(skb); in ipv6_rthdr_rcv()
693 if (opt->srcrt) { in ipv6_push_nfrag_opts()
694 ipv6_push_rthdr(skb, proto, opt->srcrt, daddr); in ipv6_push_nfrag_opts()
728 if (opt2->srcrt) in ipv6_dup_options()
729 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
776 if (newtype != IPV6_RTHDR && opt->srcrt) in ipv6_renew_options()
777 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); in ipv6_renew_options()
810 err = ipv6_renew_option(opt ? opt->srcrt : NULL, newopt, newoptlen, in ipv6_renew_options()
812 (struct ipv6_opt_hdr **)&opt2->srcrt, &p); in ipv6_renew_options()
824 (opt2->srcrt ? ipv6_optlen(opt2->srcrt) : 0); in ipv6_renew_options()
840 if (opt && opt->dst0opt && !opt->srcrt) { in ipv6_fixup_options()
868 if (!opt || !opt->srcrt) in fl6_update_dst()
872 fl6->daddr = *((struct rt0_hdr *)opt->srcrt)->addr; in fl6_update_dst()