Lines Matching refs:ipv6h
905 const struct ipv6hdr *ipv6h; in cake_get_tcphdr() local
911 ipv6h = skb_header_pointer(skb, offset, sizeof(_ipv6h), &_ipv6h); in cake_get_tcphdr()
913 if (!ipv6h) in cake_get_tcphdr()
916 if (ipv6h->version == 4) { in cake_get_tcphdr()
917 iph = (struct iphdr *)ipv6h; in cake_get_tcphdr()
924 ipv6h = skb_header_pointer(skb, offset, in cake_get_tcphdr()
927 if (!ipv6h || ipv6h->nexthdr != IPPROTO_TCP) in cake_get_tcphdr()
936 } else if (ipv6h->version == 6) { in cake_get_tcphdr()
937 if (ipv6h->nexthdr != IPPROTO_TCP) in cake_get_tcphdr()
1157 const struct ipv6hdr *ipv6h, *ipv6h_check; in cake_ack_filter() local
1215 ipv6h = (struct ipv6hdr *)iph; in cake_ack_filter()
1218 if (ipv6_addr_cmp(&ipv6h_check->saddr, &ipv6h->saddr) || in cake_ack_filter()
1219 ipv6_addr_cmp(&ipv6h_check->daddr, &ipv6h->daddr)) in cake_ack_filter()