Home
last modified time | relevance | path

Searched refs:ipchksum (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Dip.h27 extern uint16_t ipchksum(const void * __data, unsigned long __length);
H A Dnic.c215 uint16_t ipchksum(const void *data, unsigned long length) in ipchksum() function
377 ip->chksum = ipchksum(buf, sizeof(struct iphdr) + option_len); in build_ip_hdr()
393 checksum = ipchksum(&pseudo, 12); in udpchksum()
396 checksum = add_ipchksums(12, checksum, ipchksum(udp, ntohs(udp->len))); in udpchksum()
764 igmp.igmp.chksum = ipchksum(&igmp.igmp, sizeof(igmp.igmp)); in send_igmp_reports()
786 if (ipchksum(igmp, ntohs(ip->len) - iplen) != 0) in process_igmp()
847 igmp.igmp.chksum = ipchksum(&igmp.igmp, sizeof(igmp)); in leave_group()
931 if (ipchksum(ip, iplen) != 0) in await_reply()
H A Dgrub.h96 extern uint16_t ipchksum P((const void *ip, unsigned long len));