Lines Matching refs:agent_circuit_id
182 free(server->agent_circuit_id); in dhcp_server_free()
913 if (server->agent_circuit_id || server->agent_remote_id) { in dhcp_server_relay_message()
1254 static size_t relay_agent_information_length(const char* agent_circuit_id, const char* agent_remote… in relay_agent_information_length() argument
1256 if (agent_circuit_id) in relay_agent_information_length()
1257 sum += 2 + strlen(agent_circuit_id); in relay_agent_information_length()
1293 … buflen += relay_agent_information_length(server->agent_circuit_id, server->agent_remote_id) + 2; in server_receive_message()
1600 const char *agent_circuit_id, in sd_dhcp_server_set_relay_agent_information() argument
1606 if (relay_agent_information_length(agent_circuit_id, agent_remote_id) > UINT8_MAX) in sd_dhcp_server_set_relay_agent_information()
1609 if (agent_circuit_id) { in sd_dhcp_server_set_relay_agent_information()
1610 circuit_id_dup = strdup(agent_circuit_id); in sd_dhcp_server_set_relay_agent_information()
1621 free_and_replace(server->agent_circuit_id, circuit_id_dup); in sd_dhcp_server_set_relay_agent_information()