Lines Matching refs:srcrt
419 opt->srcrt = skb_network_header_len(skb); in ipv6_srh_rcv()
420 opt->lastopt = opt->srcrt; in ipv6_srh_rcv()
529 opt->srcrt = skb_network_header_len(skb); in ipv6_rpl_srh_rcv()
530 opt->lastopt = opt->srcrt; in ipv6_rpl_srh_rcv()
713 opt->lastopt = opt->srcrt = skb_network_header_len(skb); in ipv6_rthdr_rcv()
1182 if (opt->srcrt) { in ipv6_push_nfrag_opts()
1183 ipv6_push_rthdr(skb, proto, opt->srcrt, daddr, saddr); in ipv6_push_nfrag_opts()
1217 if (opt2->srcrt) in ipv6_dup_options()
1218 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
1275 if (newtype != IPV6_RTHDR && opt->srcrt) in ipv6_renew_options()
1276 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); in ipv6_renew_options()
1304 (struct ipv6_opt_hdr **)&opt2->srcrt, in ipv6_renew_options()
1305 (opt ? (struct ipv6_opt_hdr *)opt->srcrt : NULL), in ipv6_renew_options()
1313 (opt2->srcrt ? ipv6_optlen(opt2->srcrt) : 0); in ipv6_renew_options()
1326 if (opt->dst0opt && !opt->srcrt) { in __ipv6_fixup_options()
1354 if (!opt || !opt->srcrt) in fl6_update_dst()
1359 switch (opt->srcrt->type) { in fl6_update_dst()
1363 fl6->daddr = *((struct rt0_hdr *)opt->srcrt)->addr; in fl6_update_dst()
1367 struct ipv6_sr_hdr *srh = (struct ipv6_sr_hdr *)opt->srcrt; in fl6_update_dst()