Searched refs:srcrt (Results 1 – 8 of 8) sorted by relevance
406 opt->srcrt = skb_network_header_len(skb); in ipv6_srh_rcv()407 opt->lastopt = opt->srcrt; in ipv6_srh_rcv()533 opt->lastopt = opt->srcrt = skb_network_header_len(skb); in ipv6_rthdr_rcv()971 if (opt->srcrt) { in ipv6_push_nfrag_opts()972 ipv6_push_rthdr(skb, proto, opt->srcrt, daddr, saddr); in ipv6_push_nfrag_opts()1006 if (opt2->srcrt) in ipv6_dup_options()1007 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()1065 if (newtype != IPV6_RTHDR && opt->srcrt) in ipv6_renew_options()1066 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); in ipv6_renew_options()1094 (struct ipv6_opt_hdr **)&opt2->srcrt, in ipv6_renew_options()[all …]
293 np->rxopt.bits.srcrt = valbool; in do_ipv6_setsockopt()439 if (optname == IPV6_RTHDR && opt && opt->srcrt) { in do_ipv6_setsockopt()440 struct ipv6_rt_hdr *rthdr = opt->srcrt; in do_ipv6_setsockopt()453 opt->srcrt; in do_ipv6_setsockopt()1004 hdr = (struct ipv6_opt_hdr *)opt->srcrt; in ipv6_getsockopt_sticky()1153 val = np->rxopt.bits.srcrt; in do_ipv6_getsockopt()
628 (np->rxopt.bits.dstopts || np->rxopt.bits.srcrt)) { in ip6_datagram_recv_specific_ctl()655 if (np->rxopt.bits.srcrt) in ip6_datagram_recv_specific_ctl()692 if (np->rxopt.bits.osrcrt && opt->srcrt) { in ip6_datagram_recv_specific_ctl()693 struct ipv6_rt_hdr *rthdr = (struct ipv6_rt_hdr *)(nh + opt->srcrt); in ip6_datagram_recv_specific_ctl()950 opt->srcrt = rthdr; in ip6_datagram_send_ctl()
324 opt_space->srcrt = fl_opt->srcrt; in fl6_merge_options()331 opt_space->srcrt = NULL; in fl6_merge_options()
502 opt->srcrt == 0 && !skb_sec_path(skb)) { in ip6_forward()1273 v6_cork->opt->srcrt = ip6_rthdr_dup(opt->srcrt, in ip6_setup_cork()1275 if (opt->srcrt && !v6_cork->opt->srcrt) in ip6_setup_cork()1700 kfree(v6_cork->opt->srcrt); in ip6_cork_release()
792 (opt->srcrt && (np->rxopt.bits.srcrt || in ipv6_opt_accepted()
122 __u16 srcrt; member251 __u16 srcrt:1, member
299 struct ipv6_rt_hdr *srcrt; /* Routing Header */ member