Lines Matching refs:client_id_len
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()
1461 p = memdup(client_id, client_id_len); in dhcp_lease_set_client_id()
1467 lease->client_id_len = client_id_len; in dhcp_lease_set_client_id()