Searched refs:client_id_len (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/libsystemd-network/ |
D | sd-dhcp-lease.c | 969 size_t client_id_len, data_len; in dhcp_lease_save() local 1086 r = sd_dhcp_lease_get_client_id(lease, &client_id, &client_id_len); in dhcp_lease_save() 1090 client_id_hex = hexmem(client_id, client_id_len); in dhcp_lease_save() 1382 r = unhexmem(client_id_hex, SIZE_MAX, &lease->client_id, &lease->client_id_len); in dhcp_lease_load() 1438 int sd_dhcp_lease_get_client_id(sd_dhcp_lease *lease, const void **client_id, size_t *client_id_len… in sd_dhcp_lease_get_client_id() argument 1441 assert_return(client_id_len, -EINVAL); in sd_dhcp_lease_get_client_id() 1447 *client_id_len = lease->client_id_len; in sd_dhcp_lease_get_client_id() 1452 int dhcp_lease_set_client_id(sd_dhcp_lease *lease, const void *client_id, size_t client_id_len) { in dhcp_lease_set_client_id() argument 1454 assert_return(client_id || client_id_len <= 0, -EINVAL); in dhcp_lease_set_client_id() 1456 if (client_id_len <= 0) in dhcp_lease_set_client_id() [all …]
|
D | dhcp-lease-internal.h | 66 size_t client_id_len; member 90 int dhcp_lease_set_client_id(sd_dhcp_lease *lease, const void *client_id, size_t client_id_len);
|
D | sd-dhcp-client.c | 95 size_t client_id_len; member 380 if (client->client_id_len) { in sd_dhcp_client_get_client_id() 383 *data_len = client->client_id_len - sizeof(client->client_id.type); in sd_dhcp_client_get_client_id() 407 if (client->client_id_len == data_len + sizeof(client->client_id.type) && in sd_dhcp_client_set_client_id() 432 client->client_id_len = data_len + sizeof (client->client_id.type); in sd_dhcp_client_set_client_id() 507 client->client_id_len = sizeof(client->client_id.type) + len + in dhcp_client_set_iaid_duid_internal() 849 if (client->client_id_len == 0) { in client_message_init() 865 …client->client_id_len = sizeof(client->client_id.type) + sizeof(client->client_id.ns.iaid) + duid_… in client_message_init() 870 if (client->client_id_len) { in client_message_init() 873 client->client_id_len, in client_message_init() [all …]
|
/systemd-251/src/systemd/ |
D | sd-dhcp-lease.h | 73 int sd_dhcp_lease_get_client_id(sd_dhcp_lease *lease, const void **client_id, size_t *client_id_len…
|
/systemd-251/src/network/ |
D | networkctl.c | 2235 size_t client_id_len; in link_status_one() local 2248 r = sd_dhcp_lease_get_client_id(lease, &client_id, &client_id_len); in link_status_one() 2252 r = sd_dhcp_client_id_to_string(client_id, client_id_len, &id); in link_status_one()
|