Home
last modified time | relevance | path

Searched refs:optoffset (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/libsystemd-network/
Dsd-dhcp-client.c796 size_t optlen, optoffset, size; in client_message_init() local
818 optlen, &optoffset); in client_message_init()
871 r = dhcp_option_append(&packet->dhcp, optlen, &optoffset, 0, in client_message_init()
909 r = dhcp_option_append(&packet->dhcp, optlen, &optoffset, 0, in client_message_init()
942 r = dhcp_option_append(&packet->dhcp, client->mtu, &optoffset, 0, in client_message_init()
950 *_optoffset = optoffset; in client_message_init()
959 size_t *optoffset, in client_append_fqdn_option() argument
972 r = dhcp_option_append(message, optlen, optoffset, 0, in client_append_fqdn_option()
990 …ver_request_options(sd_dhcp_client *client, DHCPPacket *packet, size_t *optoffset, size_t optlen) { in client_append_common_discover_request_options() argument
1005 r = dhcp_option_append(&packet->dhcp, optlen, optoffset, 0, in client_append_common_discover_request_options()
[all …]
Dsd-dhcp-server.c435 size_t optoffset, in dhcp_server_send() argument
441 sizeof(DHCPMessage) + optoffset); in dhcp_server_send()
445 sizeof(DHCPMessage) + optoffset); in dhcp_server_send()
451 sizeof(DHCPPacket) + optoffset); in dhcp_server_send()
456 int type, size_t optoffset) { in dhcp_server_send_packet() argument
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()
478 … memcpy(packet->dhcp.options + optoffset, req->agent_info_option, opt_full_length); in dhcp_server_send_packet()
479 optoffset += opt_full_length; in dhcp_server_send_packet()
[all …]
Ddhcp-packet.c26 size_t *optoffset) { in dhcp_message_init() argument
59 *optoffset = offset; in dhcp_message_init()
Dtest-dhcp-option.c85 size_t optlen = 4, optoffset; in test_message_init() local
93 optlen, &optoffset) >= 0); in test_message_init()
Ddhcp-server-internal.h113 int type, size_t optoffset);
Ddhcp-internal.h57 size_t optlen, size_t *optoffset);