Searched defs:dhcp_packet_checksum (Results 1 - 1 of 1) sorted by relevance

/systemd/src/libsystemd-network/
H A Ddhcp-packet.c56 uint16_t dhcp_packet_checksum(uint8_t *buf, size_t len) { function
110 packet->udp.check = dhcp_packet_checksum((uint8_t*)&packet->ip.ttl, len - 8);
114 packet->ip.check = dhcp_packet_checksum((uint8_t*)&packet->ip, DHCP_IP_SIZE);
174 if (dhcp_packet_checksum((uint8_t*)&packet->ip, hdrlen)) {
183 if (dhcp_packet_checksum((uint8_t*)&packet->ip.ttl,

Completed in 10 milliseconds