Searched refs:verhdrlen (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dip.h10 uint8_t verhdrlen; member in struct:iphdr
H A Dnic.c366 ip->verhdrlen = 0x45;
367 ip->verhdrlen += (option_len/4);
784 iplen = (ip->verhdrlen & 0xf)*4;
928 if ((ip->verhdrlen < 0x45) || (ip->verhdrlen > 0x4F))
930 iplen = (ip->verhdrlen & 0xf) * 4;
/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Dip.c32 grub_uint8_t verhdrlen; member in struct:iphdr
157 iph->verhdrlen = ((4 << 4) | 5);
204 iph->verhdrlen = ((4 << 4) | 5);
374 if ((iph->verhdrlen >> 4) != 4)
376 grub_dprintf ("net", "Bad IP version: %d\n", (iph->verhdrlen >> 4));
381 if ((iph->verhdrlen & 0xf) < 5)
384 (iph->verhdrlen & 0xf));
389 if (nb->tail - nb->data < (grub_ssize_t) ((iph->verhdrlen & 0xf)
428 err = grub_netbuff_pull (nb, ((iph->verhdrlen & 0xf)
486 rsm->total_len -= ((iph->verhdrlen
[all...]

Completed in 25 milliseconds