Home
last modified time | relevance | path

Searched refs:dhcp_checksum (Results 1 – 2 of 2) sorted by relevance

/external/toybox/toys/pending/
Ddhcp.c263 static uint16_t dhcp_checksum(void *addr, int count) in dhcp_checksum() function
682 if (check != dhcp_checksum(&packet.iph, sizeof(packet.iph))) { in read_raw()
690 if (check && check != dhcp_checksum(&packet, bytes)) { in read_raw()
753 packet.udph.check = dhcp_checksum(&packet, sizeof(dhcp_raw_t) - padding); in send_raw()
758 packet.iph.check = dhcp_checksum(&packet.iph, sizeof(packet.iph)); in send_raw()
Ddhcpd.c341 static uint16_t dhcp_checksum(void *addr, int count) in dhcp_checksum() function
888 packet.udph.check = dhcp_checksum(&packet, sizeof(dhcp6_raw_t) - padding); in send_packet6()
940 packet.udph.check = dhcp_checksum(&packet, sizeof(dhcp_raw_t) - padding); in send_packet()
945 packet.iph.check = dhcp_checksum(&packet.iph, sizeof(packet.iph)); in send_packet()