Searched refs:ipchksum (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | ip.h | 27 extern uint16_t ipchksum(const void * __data, unsigned long __length);
|
H A D | grub.h | 96 extern uint16_t ipchksum P((const void *ip, unsigned long len));
|
H A D | nic.c | 215 uint16_t ipchksum(const void *data, unsigned long length) function 377 ip->chksum = ipchksum(buf, sizeof(struct iphdr) + option_len); 393 checksum = ipchksum(&pseudo, 12); 396 checksum = add_ipchksums(12, checksum, ipchksum(udp, ntohs(udp->len))); 764 igmp.igmp.chksum = ipchksum(&igmp.igmp, sizeof(igmp.igmp)); 786 if (ipchksum(igmp, ntohs(ip->len) - iplen) != 0) 847 igmp.igmp.chksum = ipchksum(&igmp.igmp, sizeof(igmp)); 931 if (ipchksum(ip, iplen) != 0)
|
Completed in 110 milliseconds