Lines Matching defs:nexthdr
157 static bool ipv6_raw_deliver(struct sk_buff *skb, int nexthdr)
169 hash = nexthdr & (RAW_HTABLE_SIZE - 1);
178 sk = __raw_v6_lookup(net, sk, nexthdr, daddr, saddr,
185 switch (nexthdr) {
222 sk = __raw_v6_lookup(net, sk_next(sk), nexthdr, daddr, saddr,
230 bool raw6_local_deliver(struct sk_buff *skb, int nexthdr)
234 raw_sk = sk_head(&raw_v6_hashinfo.ht[nexthdr & (RAW_HTABLE_SIZE - 1)]);
235 if (raw_sk && !ipv6_raw_deliver(skb, nexthdr))
361 void raw6_icmp_error(struct sk_buff *skb, int nexthdr,
369 hash = nexthdr & (RAW_HTABLE_SIZE - 1);
380 while ((sk = __raw_v6_lookup(net, sk, nexthdr, saddr, daddr,
826 /* port is the proto value [0..255] carried in nexthdr */