Home
last modified time | relevance | path

Searched refs:srcrt (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/net/ipv6/
Dexthdrs.c419 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()
710 opt->lastopt = opt->srcrt = skb_network_header_len(skb); in ipv6_rthdr_rcv()
1184 if (opt->srcrt) { in ipv6_push_nfrag_opts()
1185 ipv6_push_rthdr(skb, proto, opt->srcrt, daddr, saddr); in ipv6_push_nfrag_opts()
1219 if (opt2->srcrt) in ipv6_dup_options()
1220 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
1277 if (newtype != IPV6_RTHDR && opt->srcrt) in ipv6_renew_options()
[all …]
Dipv6_sockglue.c361 if (optname == IPV6_RTHDR && opt && opt->srcrt) { in ipv6_set_opt_hdr()
362 struct ipv6_rt_hdr *rthdr = opt->srcrt; in ipv6_set_opt_hdr()
373 (struct ipv6_sr_hdr *)opt->srcrt; in ipv6_set_opt_hdr()
548 np->rxopt.bits.srcrt = valbool; in do_ipv6_setsockopt()
1039 hdr = (struct ipv6_opt_hdr *)opt->srcrt; in ipv6_getsockopt_sticky()
1248 val = np->rxopt.bits.srcrt; in do_ipv6_getsockopt()
Ddatagram.c651 (np->rxopt.bits.dstopts || np->rxopt.bits.srcrt)) { in ip6_datagram_recv_specific_ctl()
678 if (np->rxopt.bits.srcrt) in ip6_datagram_recv_specific_ctl()
715 if (np->rxopt.bits.osrcrt && opt->srcrt) { in ip6_datagram_recv_specific_ctl()
716 struct ipv6_rt_hdr *rthdr = (struct ipv6_rt_hdr *)(nh + opt->srcrt); in ip6_datagram_recv_specific_ctl()
973 opt->srcrt = rthdr; in ip6_datagram_send_ctl()
Dip6_flowlabel.c327 opt_space->srcrt = fl_opt->srcrt; in fl6_merge_options()
334 opt_space->srcrt = NULL; in fl6_merge_options()
Dip6_output.c589 opt->srcrt == 0 && !skb_sec_path(skb)) { in ip6_forward()
1436 nopt->srcrt = ip6_rthdr_dup(opt->srcrt, sk->sk_allocation); in ip6_setup_cork()
1437 if (opt->srcrt && !nopt->srcrt) in ip6_setup_cork()
1924 kfree(opt->srcrt); in ip6_cork_release()
Daf_inet6.c875 (opt->srcrt && (np->rxopt.bits.srcrt || in ipv6_opt_accepted()
/linux-6.6.21/include/linux/
Dipv6.h129 __u16 srcrt; member
244 __u16 srcrt:1, member
/linux-6.6.21/include/net/
Dipv6.h313 struct ipv6_rt_hdr *srcrt; /* Routing Header */ member