Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv6/
Dexthdrs.c406 opt->srcrt = skb_network_header_len(skb); in ipv6_srh_rcv()
407 opt->lastopt = opt->srcrt; in ipv6_srh_rcv()
523 opt->srcrt = skb_network_header_len(skb); in ipv6_rpl_srh_rcv()
524 opt->lastopt = opt->srcrt; in ipv6_rpl_srh_rcv()
722 opt->lastopt = opt->srcrt = skb_network_header_len(skb); in ipv6_rthdr_rcv()
1160 if (opt->srcrt) { in ipv6_push_nfrag_opts()
1161 ipv6_push_rthdr(skb, proto, opt->srcrt, daddr, saddr); in ipv6_push_nfrag_opts()
1195 if (opt2->srcrt) in ipv6_dup_options()
1196 *((char **)&opt2->srcrt) += dif; in ipv6_dup_options()
1253 if (newtype != IPV6_RTHDR && opt->srcrt) in ipv6_renew_options()
[all …]
Dipv6_sockglue.c359 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()
558 np->rxopt.bits.srcrt = valbool; in do_ipv6_setsockopt()
1036 hdr = (struct ipv6_opt_hdr *)opt->srcrt; in ipv6_getsockopt_sticky()
1241 val = np->rxopt.bits.srcrt; in do_ipv6_getsockopt()
Ddatagram.c644 (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()
Dip6_flowlabel.c324 opt_space->srcrt = fl_opt->srcrt; in fl6_merge_options()
331 opt_space->srcrt = NULL; in fl6_merge_options()
Dip6_output.c571 opt->srcrt == 0 && !skb_sec_path(skb)) { in ip6_forward()
1417 v6_cork->opt->srcrt = ip6_rthdr_dup(opt->srcrt, in ip6_setup_cork()
1419 if (opt->srcrt && !v6_cork->opt->srcrt) in ip6_setup_cork()
1849 kfree(v6_cork->opt->srcrt); in ip6_cork_release()
Daf_inet6.c876 (opt->srcrt && (np->rxopt.bits.srcrt || in ipv6_opt_accepted()
/kernel/linux/linux-5.10/include/linux/
Dipv6.h122 __u16 srcrt; member
240 __u16 srcrt:1, member
/kernel/linux/linux-5.10/include/net/
Dipv6.h299 struct ipv6_rt_hdr *srcrt; /* Routing Header */ member