Searched refs:DHCP_IP_SIZE (Results 1 - 2 of 2) sorted by relevance

/systemd/src/libsystemd-network/
H A Ddhcp-protocol.h58 #define DHCP_IP_SIZE (int32_t)(sizeof(struct iphdr)) macro
59 #define DHCP_IP_UDP_SIZE (int32_t)(sizeof(struct udphdr) + DHCP_IP_SIZE)
H A Ddhcp-packet.c95 packet->ip.ihl = DHCP_IP_SIZE / 4;
107 packet->udp.len = htobe16(len - DHCP_IP_SIZE);
114 packet->ip.check = dhcp_packet_checksum((uint8_t*)&packet->ip, DHCP_IP_SIZE);

Completed in 995 milliseconds