Searched refs:inet_cksum (Results 1 – 8 of 8) sorted by relevance
9 uint16_t FAST_FUNC inet_cksum(const void *ptr, int nleft) in inet_cksum() function
175 lib-$(CONFIG_PING) += inet_cksum.o176 lib-$(CONFIG_PING6) += inet_cksum.o177 lib-$(CONFIG_TRACEROUTE) += inet_cksum.o178 lib-$(CONFIG_TRACEROUTE6) += inet_cksum.o179 lib-$(CONFIG_UDHCPC) += inet_cksum.o180 lib-$(CONFIG_UDHCPC6) += inet_cksum.o181 lib-$(CONFIG_UDHCPD) += inet_cksum.o182 lib-$(CONFIG_DHCPRELAY) += inet_cksum.o
168 packet.udp.check = inet_cksum(&packet, in udhcp_send_raw_packet()175 packet.ip.check = inet_cksum(&packet.ip, sizeof(packet.ip)); in udhcp_send_raw_packet()
106 packet.udp.check = inet_cksum( in d6_send_raw_packet_from_client_data_ifindex()
943 if (check != inet_cksum(&packet.ip, sizeof(packet.ip))) { in d4_recv_raw_packet()968 if (check && check != inet_cksum(&packet, bytes)) { in d4_recv_raw_packet()
262 pkt->icmp_cksum = inet_cksum(pkt, sizeof(G.packet)); in ping4()578 pkt->icmp_cksum = inet_cksum(pkt, datalen + ICMP_MINLEN); in sendping4()
528 icp->icmp_cksum = inet_cksum( in send_probe()
912 uint16_t inet_cksum(const void *addr, int len) FAST_FUNC;