Home | History | Annotate | Download | only in tcpdump

Lines Matching defs:hlen

562 	u_int hlen;
583 hlen = IP_HL(ipds->ip) * 4;
584 if (hlen < sizeof (struct ip)) {
585 (void)printf("bad-hlen %u", hlen);
593 if (ipds->len < hlen) {
616 ipds->len -= hlen;
654 if ((hlen - sizeof(struct ip)) > 0) {
656 ip_optprint((u_char *)(ipds->ip + 1), hlen - sizeof(struct ip));
660 if ((u_char *)ipds->ip + hlen <= snapend) {
661 hlen, 0);
677 ipds->cp = (const u_char *)ipds->ip + hlen;