Searched refs:DHCP_IP_SIZE (Results 1 – 2 of 2) sorted by relevance
103 packet->ip.ihl = DHCP_IP_SIZE / 4; in dhcp_packet_append_ip_headers()118 packet->udp.len = htobe16(len - DHCP_IP_SIZE); in dhcp_packet_append_ip_headers()125 packet->ip.check = dhcp_packet_checksum((uint8_t*)&packet->ip, DHCP_IP_SIZE); in dhcp_packet_append_ip_headers()
44 #define DHCP_IP_SIZE (int32_t)(sizeof(struct iphdr)) macro45 #define DHCP_IP_UDP_SIZE (int32_t)(sizeof(struct udphdr) + DHCP_IP_SIZE)