Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd-network/
Ddhcp-packet.c103 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()
Ddhcp-protocol.h44 #define DHCP_IP_SIZE (int32_t)(sizeof(struct iphdr)) macro
45 #define DHCP_IP_UDP_SIZE (int32_t)(sizeof(struct udphdr) + DHCP_IP_SIZE)