Lines Matching refs:grehlen
336 int grehlen = (iph->ihl<<2) + 4; in ipgre_err() local
347 grehlen += 4; in ipgre_err()
349 grehlen += 4; in ipgre_err()
354 if (skb_headlen(skb) < grehlen) in ipgre_err()
386 …t = ipgre_tunnel_lookup(iph->daddr, iph->saddr, (flags&GRE_KEY) ? *(((u32*)p) + (grehlen>>2) - 1) … in ipgre_err()
411 int grehlen = (iph->ihl<<2) + 4; in ipgre_err()
423 grehlen += 4; in ipgre_err()
425 grehlen += 4; in ipgre_err()
427 grehlen += 4; in ipgre_err()
429 if (len < grehlen + sizeof(struct iphdr)) in ipgre_err()
431 eiph = (struct iphdr*)(dp + grehlen); in ipgre_err()
444 rel_info = skb->h.icmph->un.gateway - grehlen; in ipgre_err()
456 if (rel_info < grehlen+68) in ipgre_err()
458 rel_info -= grehlen; in ipgre_err()