Lines Matching refs:grehdr
1999 struct pptp_gre_hdr *grehdr;
2003 grehdr = (struct pptp_gre_hdr *)((char *)(iphdr) + iphdrlen);
2004 if (GRE_IS_S(grehdr->flags)) grehdrlen += 4;
2005 if (GRE_IS_A(grehdr->version)) grehdrlen += 4;
2009 //printk(KERN_EMERG "grehdr->call_id=%x, call_id=%x\n", htons(grehdr->call_id), call_id);
2010 if (htons(grehdr->call_id) != call_id) {
2011 //printk(KERN_EMERG "Not DUT PPTP call (our:%x, pkt:%x)\n", call_id, htons(grehdr->call_id));
2047 if ((grehdr->protocol == GRE_PROTOCOL_PPTP) &&
2048 ((int)(ntohs(grehdr->payload_len)) > 0) &&