Searched refs:opt_length (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/libsystemd-network/ |
D | sd-dhcp-server.c | 870 …_information_option(sd_dhcp_server *server, DHCPMessage *message, size_t opt_length, size_t size) { in append_agent_information_option() argument 877 r = dhcp_option_find_option(message->options, opt_length, SD_DHCP_OPTION_END, &offset); in append_agent_information_option() 891 …ver_relay_message(sd_dhcp_server *server, DHCPMessage *message, size_t opt_length, size_t buflen) { in dhcp_server_relay_message() argument 914 … r = append_agent_information_option(server, message, opt_length, buflen - sizeof(DHCPMessage)); in dhcp_server_relay_message() 917 opt_length = r; in dhcp_server_relay_message() 920 …(server, server->relay_target.s_addr, DHCP_PORT_SERVER, message, sizeof(DHCPMessage) + opt_length); in dhcp_server_relay_message() 927 … int message_type = dhcp_option_parse(message, sizeof(DHCPMessage) + opt_length, NULL, NULL, NULL); in dhcp_server_relay_message() 931 packet = malloc0(sizeof(DHCPPacket) + opt_length); in dhcp_server_relay_message() 934 memcpy(&packet->dhcp, message, sizeof(DHCPMessage) + opt_length); in dhcp_server_relay_message() 936 …r = dhcp_option_remove_option(packet->dhcp.options, opt_length, SD_DHCP_OPTION_RELAY_AGENT_INFORMA… in dhcp_server_relay_message() [all …]
|