Lines Matching refs:nh
54 const unsigned char *nh = skb_network_header(skb); in ipv6_find_tlv() local
61 hdr = (struct ipv6_opt_hdr *)(nh + offset); in ipv6_find_tlv()
71 int opttype = nh[offset]; in ipv6_find_tlv()
82 optlen = nh[offset + 1] + 2; in ipv6_find_tlv()
144 const unsigned char *nh = skb_network_header(skb); in ip6_parse_tlv() local
155 int optlen = nh[off + 1] + 2; in ip6_parse_tlv()
157 switch (nh[off]) { in ip6_parse_tlv()
169 if (curr->type == nh[off]) { in ip6_parse_tlv()
568 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_ra() local
570 if (nh[optoff + 1] == 2) { in ipv6_hop_ra()
575 nh[optoff + 1]); in ipv6_hop_ra()
584 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_jumbo() local
588 if (nh[optoff + 1] != 4 || (optoff & 3) != 2) { in ipv6_hop_jumbo()
590 nh[optoff+1]); in ipv6_hop_jumbo()
596 pkt_len = ntohl(*(__be32 *)(nh + optoff + 2)); in ipv6_hop_jumbo()