Searched defs:client_id (Results 1 - 4 of 4) sorted by relevance
/systemd/src/libsystemd-network/ |
H A D | dhcp-lease-internal.h | 81 void *client_id; member in struct:sd_dhcp_lease 99 int dhcp_lease_set_client_id(sd_dhcp_lease *lease, const void *client_id, size_t client_id_len);
|
H A D | dhcp-server-internal.h | 37 DHCPClientId client_id; member in struct:DHCPLease 78 DHCPClientId client_id; member in struct:DHCPRequest
|
H A D | sd-dhcp-lease.c | 283 free(lease->client_id); 732 const void *client_id, *data; local 826 r = sd_dhcp_lease_get_client_id(lease, &client_id, &client_id_len); 830 client_id_hex = hexmem(client_id, client_id_len); 1053 r = deserialize_dhcp_option(&lease->client_id, &lease->client_id_len, client_id_hex); 1110 int sd_dhcp_lease_get_client_id(sd_dhcp_lease *lease, const void **client_id, size_t *client_id_len) { argument 1112 assert_return(client_id, -EINVAL); 1115 if (!lease->client_id) 1118 *client_id = lease->client_id; 1124 dhcp_lease_set_client_id(sd_dhcp_lease *lease, const void *client_id, size_t client_id_len) argument [all...] |
H A D | sd-dhcp-client.c | 92 } _packed_ client_id; member in struct:sd_dhcp_client 249 *type = client->client_id.type; 250 *data = client->client_id.raw.data; 251 *data_len = client->client_id_len - sizeof(client->client_id.type); 279 if (client->client_id_len == data_len + sizeof(client->client_id.type) && 280 client->client_id.type == type && 281 memcmp(&client->client_id.raw.data, data, data_len) == 0) 291 client->client_id.type = type; 292 memcpy(&client->client_id.raw.data, data, data_len); 293 client->client_id_len = data_len + sizeof (client->client_id [all...] |
Completed in 1123 milliseconds