Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:hlen

524 	u_int hlen;
546 hlen = IP_HL(ipds->ip) * 4;
547 if (hlen < sizeof (struct ip)) {
548 (void)printf("bad-hlen %u", hlen);
556 if (ipds->len < hlen) {
579 ipds->len -= hlen;
617 if ((hlen - sizeof(struct ip)) > 0) {
619 ip_optprint((u_char *)(ipds->ip + 1), hlen - sizeof(struct ip));
623 if (!Kflag && (u_char *)ipds->ip + hlen <= ndo->ndo_snapend) {
625 vec[0].len = hlen;
642 ipds->cp = (const u_char *)ipds->ip + hlen;