Lines Matching full:rt2
291 struct rt2_hdr *rt2 = (struct rt2_hdr *)skb->data; in mip6_rthdr_input() local
292 int err = rt2->rt_hdr.nexthdr; in mip6_rthdr_input()
309 struct rt2_hdr *rt2; in mip6_rthdr_output() local
318 rt2 = (struct rt2_hdr *)skb_transport_header(skb); in mip6_rthdr_output()
319 rt2->rt_hdr.nexthdr = nexthdr; in mip6_rthdr_output()
320 rt2->rt_hdr.hdrlen = (x->props.header_len >> 3) - 1; in mip6_rthdr_output()
321 rt2->rt_hdr.type = IPV6_SRCRT_TYPE_2; in mip6_rthdr_output()
322 rt2->rt_hdr.segments_left = 1; in mip6_rthdr_output()
323 memset(&rt2->reserved, 0, sizeof(rt2->reserved)); in mip6_rthdr_output()
325 WARN_ON(rt2->rt_hdr.hdrlen != 2); in mip6_rthdr_output()
327 memcpy(&rt2->addr, &iph->daddr, sizeof(rt2->addr)); in mip6_rthdr_output()