Lines Matching refs:DHCPPacket
338 DHCPPacket *packet, in dhcp_server_send_unicast_raw()
354 assert(len > sizeof(DHCPPacket)); in dhcp_server_send_unicast_raw()
434 DHCPPacket *packet, in dhcp_server_send()
451 sizeof(DHCPPacket) + optoffset); in dhcp_server_send()
455 DHCPRequest *req, DHCPPacket *packet, in dhcp_server_send_packet()
526 DHCPPacket **ret, in server_message_init()
531 _cleanup_free_ DHCPPacket *packet = NULL; in server_message_init()
541 packet = malloc0(sizeof(DHCPPacket) + req->max_optlen); in server_message_init()
567 _cleanup_free_ DHCPPacket *packet = NULL; in server_send_offer_or_ack()
676 _cleanup_free_ DHCPPacket *packet = NULL; in server_send_nak_or_ignore()
707 _cleanup_free_ DHCPPacket *packet = NULL; in server_send_forcerenew()
715 packet = malloc0(sizeof(DHCPPacket) + DHCP_MIN_OPTIONS_SIZE); in server_send_forcerenew()
771 if (len == 2 && unaligned_read_be16(option) >= sizeof(DHCPPacket)) in parse_request()
772 req->max_optlen = unaligned_read_be16(option) - sizeof(DHCPPacket); in parse_request()
892 _cleanup_free_ DHCPPacket *packet = NULL; in dhcp_server_relay_message()
931 packet = malloc0(sizeof(DHCPPacket) + opt_length); in dhcp_server_relay_message()