Lines Matching full:srcrt

424 		opt->srcrt = skb_network_header_len(skb);  in ipv6_srh_rcv()
425 opt->lastopt = opt->srcrt; in ipv6_srh_rcv()
532 opt->srcrt = skb_network_header_len(skb); in ipv6_rpl_srh_rcv()
533 opt->lastopt = opt->srcrt; in ipv6_rpl_srh_rcv()
716 opt->lastopt = opt->srcrt = skb_network_header_len(skb); in ipv6_rthdr_rcv()
1192 if (opt->srcrt) { in ipv6_push_nfrag_opts()
1193 proto = ipv6_push_rthdr(skb, proto, opt->srcrt, daddr, saddr); in ipv6_push_nfrag_opts()
1228 if (opt2->srcrt) in ipv6_dup_options()
1229 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
1286 if (newtype != IPV6_RTHDR && opt->srcrt) in ipv6_renew_options()
1287 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); in ipv6_renew_options()
1315 (struct ipv6_opt_hdr **)&opt2->srcrt, in ipv6_renew_options()
1316 (opt ? (struct ipv6_opt_hdr *)opt->srcrt : NULL), in ipv6_renew_options()
1324 (opt2->srcrt ? ipv6_optlen(opt2->srcrt) : 0); in ipv6_renew_options()
1334 * ignore the dest before srcrt unless srcrt is being included. in __ipv6_fixup_options()
1337 if (opt->dst0opt && !opt->srcrt) { in __ipv6_fixup_options()
1352 * by srcrt option, if any.
1355 * @opt: struct ipv6_txoptions in which to look for srcrt opt
1358 * Return: NULL if no srcrt or invalid srcrt type, otherwise returns orig
1365 if (!opt->srcrt) in __fl6_update_dst()
1370 switch (opt->srcrt->type) { in __fl6_update_dst()
1374 fl6->daddr = *((struct rt0_hdr *)opt->srcrt)->addr; in __fl6_update_dst()
1378 struct ipv6_sr_hdr *srh = (struct ipv6_sr_hdr *)opt->srcrt; in __fl6_update_dst()