Home
last modified time | relevance | path

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

/linux-3.4.99/net/ipv6/
Dexthdrs.c369 opt->lastopt = opt->srcrt = skb_network_header_len(skb); in ipv6_rthdr_rcv()
713 if (opt->srcrt) { in ipv6_push_nfrag_opts()
714 ipv6_push_rthdr(skb, proto, opt->srcrt, daddr); in ipv6_push_nfrag_opts()
749 if (opt2->srcrt) in ipv6_dup_options()
750 *((char**)&opt2->srcrt) += dif; in ipv6_dup_options()
797 if (newtype != IPV6_RTHDR && opt->srcrt) in ipv6_renew_options()
798 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); in ipv6_renew_options()
831 err = ipv6_renew_option(opt ? opt->srcrt : NULL, newopt, newoptlen, in ipv6_renew_options()
833 (struct ipv6_opt_hdr **)&opt2->srcrt, &p); in ipv6_renew_options()
845 (opt2->srcrt ? ipv6_optlen(opt2->srcrt) : 0); in ipv6_renew_options()
[all …]
Dip6_flowlabel.c283 opt_space->srcrt = fl_opt->srcrt; in fl6_merge_options()
290 opt_space->srcrt = NULL; in fl6_merge_options()
458 if (ipv6_hdr_cmp((struct ipv6_opt_hdr *)o1->srcrt, (struct ipv6_opt_hdr *)o2->srcrt)) in ipv6_opt_cmp()
Ddatagram.c508 (np->rxopt.bits.dstopts || np->rxopt.bits.srcrt)) { in datagram_recv_ctl()
535 if (np->rxopt.bits.srcrt) in datagram_recv_ctl()
572 if (np->rxopt.bits.osrcrt && opt->srcrt) { in datagram_recv_ctl()
573 struct ipv6_rt_hdr *rthdr = (struct ipv6_rt_hdr *)(nh + opt->srcrt); in datagram_recv_ctl()
801 opt->srcrt = rthdr; in datagram_send_ctl()
Dipv6_sockglue.c273 np->rxopt.bits.srcrt = valbool; in do_ipv6_setsockopt()
397 if (optname == IPV6_RTHDR && opt && opt->srcrt) { in do_ipv6_setsockopt()
398 struct ipv6_rt_hdr *rthdr = opt->srcrt; in do_ipv6_setsockopt()
928 hdr = (struct ipv6_opt_hdr *)opt->srcrt; in ipv6_getsockopt_sticky()
1076 val = np->rxopt.bits.srcrt; in do_ipv6_getsockopt()
Dip6_output.c476 if (skb->dev == dst->dev && opt->srcrt == 0 && !skb_sec_path(skb)) { in ip6_forward()
1265 np->cork.opt->srcrt = ip6_rthdr_dup(opt->srcrt, in ip6_append_data()
1267 if (opt->srcrt && !np->cork.opt->srcrt) in ip6_append_data()
1582 kfree(np->cork.opt->srcrt); in ip6_cork_release()
Daf_inet6.c700 (opt->srcrt && (np->rxopt.bits.srcrt || in ipv6_opt_accepted()
/linux-3.4.99/include/linux/
Dipv6.h251 __u16 srcrt; member
339 __u16 srcrt:1, member
/linux-3.4.99/include/net/
Dipv6.h213 struct ipv6_rt_hdr *srcrt; /* Routing Header */ member