Lines Matching refs:ipv6h
869 const struct ipv6hdr *ipv6h; in cake_get_tcphdr() local
875 ipv6h = skb_header_pointer(skb, offset, sizeof(_ipv6h), &_ipv6h); in cake_get_tcphdr()
877 if (!ipv6h) in cake_get_tcphdr()
880 if (ipv6h->version == 4) { in cake_get_tcphdr()
881 iph = (struct iphdr *)ipv6h; in cake_get_tcphdr()
888 ipv6h = skb_header_pointer(skb, offset, in cake_get_tcphdr()
891 if (!ipv6h || ipv6h->nexthdr != IPPROTO_TCP) in cake_get_tcphdr()
900 } else if (ipv6h->version == 6) { in cake_get_tcphdr()
901 if (ipv6h->nexthdr != IPPROTO_TCP) in cake_get_tcphdr()
1117 const struct ipv6hdr *ipv6h, *ipv6h_check; in cake_ack_filter() local
1175 ipv6h = (struct ipv6hdr *)iph; in cake_ack_filter()
1178 if (ipv6_addr_cmp(&ipv6h_check->saddr, &ipv6h->saddr) || in cake_ack_filter()
1179 ipv6_addr_cmp(&ipv6h_check->daddr, &ipv6h->daddr)) in cake_ack_filter()