Home
last modified time | relevance | path

Searched refs:iph_check (Results 1 – 1 of 1) sorted by relevance

/net/sched/
Dsch_cake.c1160 const struct iphdr *iph, *iph_check; in cake_ack_filter() local
1195 iph_check = cake_get_iphdr(skb_check, &_iph_check); in cake_ack_filter()
1202 if (!tcph_check || iph->version != iph_check->version || in cake_ack_filter()
1207 if (iph_check->version == 4) { in cake_ack_filter()
1208 if (iph_check->saddr != iph->saddr || in cake_ack_filter()
1209 iph_check->daddr != iph->daddr) in cake_ack_filter()
1212 seglen = ntohs(iph_check->tot_len) - in cake_ack_filter()
1213 (4 * iph_check->ihl); in cake_ack_filter()
1214 } else if (iph_check->version == 6) { in cake_ack_filter()
1216 ipv6h_check = (struct ipv6hdr *)iph_check; in cake_ack_filter()