Searched refs:srcrt (Results 1 – 8 of 8) sorted by relevance
418 opt->srcrt = skb_network_header_len(skb); in ipv6_srh_rcv()419 opt->lastopt = opt->srcrt; in ipv6_srh_rcv()535 opt->srcrt = skb_network_header_len(skb); in ipv6_rpl_srh_rcv()536 opt->lastopt = opt->srcrt; in ipv6_rpl_srh_rcv()741 opt->lastopt = opt->srcrt = skb_network_header_len(skb); in ipv6_rthdr_rcv()1211 if (opt->srcrt) { in ipv6_push_nfrag_opts()1212 ipv6_push_rthdr(skb, proto, opt->srcrt, daddr, saddr); in ipv6_push_nfrag_opts()1246 if (opt2->srcrt) in ipv6_dup_options()1247 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()1304 if (newtype != IPV6_RTHDR && opt->srcrt) in ipv6_renew_options()[all …]
359 if (optname == IPV6_RTHDR && opt && opt->srcrt) { in ipv6_set_opt_hdr()360 struct ipv6_rt_hdr *rthdr = opt->srcrt; in ipv6_set_opt_hdr()371 (struct ipv6_sr_hdr *)opt->srcrt; in ipv6_set_opt_hdr()553 np->rxopt.bits.srcrt = valbool; in do_ipv6_setsockopt()1030 hdr = (struct ipv6_opt_hdr *)opt->srcrt; in ipv6_getsockopt_sticky()1235 val = np->rxopt.bits.srcrt; in do_ipv6_getsockopt()
644 (np->rxopt.bits.dstopts || np->rxopt.bits.srcrt)) { in ip6_datagram_recv_specific_ctl()671 if (np->rxopt.bits.srcrt) in ip6_datagram_recv_specific_ctl()708 if (np->rxopt.bits.osrcrt && opt->srcrt) { in ip6_datagram_recv_specific_ctl()709 struct ipv6_rt_hdr *rthdr = (struct ipv6_rt_hdr *)(nh + opt->srcrt); in ip6_datagram_recv_specific_ctl()966 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()
549 opt->srcrt == 0 && !skb_sec_path(skb)) { in ip6_forward()1389 v6_cork->opt->srcrt = ip6_rthdr_dup(opt->srcrt, in ip6_setup_cork()1391 if (opt->srcrt && !v6_cork->opt->srcrt) in ip6_setup_cork()1817 kfree(v6_cork->opt->srcrt); in ip6_cork_release()
858 (opt->srcrt && (np->rxopt.bits.srcrt || in ipv6_opt_accepted()
126 __u16 srcrt; member244 __u16 srcrt:1, member
300 struct ipv6_rt_hdr *srcrt; /* Routing Header */ member