Searched refs:ohdr (Results 1 – 1 of 1) sorted by relevance
/net/ipv6/ |
D | exthdrs.c | 473 struct ipv6_rpl_sr_hdr *hdr, *ohdr, *chdr; in ipv6_rpl_srh_rcv() local 570 ohdr = (struct ipv6_rpl_sr_hdr *)buf; in ipv6_rpl_srh_rcv() 571 ipv6_rpl_srh_decompress(ohdr, hdr, &ipv6_hdr(skb)->daddr, n); in ipv6_rpl_srh_rcv() 572 chdr = (struct ipv6_rpl_sr_hdr *)(buf + ((ohdr->hdrlen + 1) << 3)); in ipv6_rpl_srh_rcv() 575 (ipv6_addr_type(&ohdr->rpl_segaddr[i]) & IPV6_ADDR_MULTICAST)) { in ipv6_rpl_srh_rcv() 581 err = ipv6_chk_rpl_srh_loop(net, ohdr->rpl_segaddr, n + 1); in ipv6_rpl_srh_rcv() 590 ipv6_hdr(skb)->daddr = ohdr->rpl_segaddr[i]; in ipv6_rpl_srh_rcv() 591 ohdr->rpl_segaddr[i] = addr; in ipv6_rpl_srh_rcv() 593 ipv6_rpl_srh_compress(chdr, ohdr, &ipv6_hdr(skb)->daddr, n); in ipv6_rpl_srh_rcv()
|