Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd-network/
Dsd-dhcp-server.c463 assert(req->max_optlen > 0); in dhcp_server_send_packet()
465 assert(optoffset <= req->max_optlen); in dhcp_server_send_packet()
468 r = dhcp_option_append(&packet->dhcp, req->max_optlen, &optoffset, 0, in dhcp_server_send_packet()
477 if (optoffset + opt_full_length < req->max_optlen) { in dhcp_server_send_packet()
483 r = dhcp_option_append(&packet->dhcp, req->max_optlen, &optoffset, 0, in dhcp_server_send_packet()
541 packet = malloc0(sizeof(DHCPPacket) + req->max_optlen); in server_message_init()
548 req->max_optlen, &optoffset); in server_message_init()
585 r = dhcp_option_append(&packet->dhcp, req->max_optlen, &offset, 0, in server_send_offer_or_ack()
591 r = dhcp_option_append(&packet->dhcp, req->max_optlen, &offset, 0, in server_send_offer_or_ack()
597 r = dhcp_option_append(&packet->dhcp, req->max_optlen, &offset, 0, in server_send_offer_or_ack()
[all …]
Ddhcp-server-internal.h100 size_t max_optlen; member