Searched refs:ihdr (Results 1 – 1 of 1) sorted by relevance
/linux-2.4.37.9/net/ipv6/ |
D | exthdrs.c | 556 struct rt0_hdr *phdr, *ihdr; in ipv6_build_rthdr() local 559 ihdr = (struct rt0_hdr *) opt; in ipv6_build_rthdr() 561 phdr = (struct rt0_hdr *) skb_put(skb, (ihdr->rt_hdr.hdrlen + 1) << 3); in ipv6_build_rthdr() 562 memcpy(phdr, ihdr, sizeof(struct rt0_hdr)); in ipv6_build_rthdr() 564 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_build_rthdr() 567 memcpy(phdr->addr, ihdr->addr + 1, in ipv6_build_rthdr() 647 struct rt0_hdr *phdr, *ihdr; in ipv6_push_rthdr() local 650 ihdr = (struct rt0_hdr *) opt; in ipv6_push_rthdr() 652 phdr = (struct rt0_hdr *) skb_push(skb, (ihdr->rt_hdr.hdrlen + 1) << 3); in ipv6_push_rthdr() 653 memcpy(phdr, ihdr, sizeof(struct rt0_hdr)); in ipv6_push_rthdr() [all …]
|