Lines Matching refs:hlen
99 static void pr_options(unsigned char * cp, int hlen);
789 int hlen; in parse_reply() local
799 hlen = ip->ihl*4; in parse_reply()
800 if (cc < hlen + 8 || ip->ihl < 5) { in parse_reply()
808 optlen = hlen - sizeof(struct iphdr); in parse_reply()
810 hlen = 0; in parse_reply()
829 cc -= hlen; in parse_reply()
830 icp = (struct icmphdr *)(buf + hlen); in parse_reply()
1133 void pr_options(unsigned char * cp, int hlen) in pr_options() argument
1141 totlen = hlen-sizeof(struct iphdr); in pr_options()
1288 int hlen; in pr_iph() local
1291 hlen = ip->ihl << 2; in pr_iph()
1303 pr_options(cp, hlen); in pr_iph()