Searched refs:icmph (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Dicmp.c48 struct icmp_header *icmph; local
59 icmph = (struct icmp_header *) nb->data;
61 if (nb->tail - nb->data < (grub_ssize_t) sizeof (*icmph))
67 checksum = icmph->checksum;
68 icmph->checksum = 0;
71 icmph->checksum = checksum;
74 icmph->checksum = checksum;
76 err = grub_netbuff_pull (nb, sizeof (*icmph));
80 switch (icmph->type)
86 if (icmph
[all...]
H A Dicmp6.c112 struct icmp_header *icmph; local
116 icmph = (struct icmp_header *) nb->data;
118 if (nb->tail - nb->data < (grub_ssize_t) sizeof (*icmph))
124 checksum = icmph->checksum;
125 icmph->checksum = 0;
137 icmph->checksum = checksum;
141 icmph->checksum = checksum;
143 err = grub_netbuff_pull (nb, sizeof (*icmph));
151 icmph->type, icmph
[all...]

Completed in 1027 milliseconds