Home
last modified time | relevance | path

Searched refs:client_id_size (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/network/
Dnetworkd-dhcp-server-static-lease.c83 if (static_lease->client_id_size == 0 || !static_lease->client_id) in static_lease_verify()
89 assert(static_lease->client_id_size == ETH_ALEN + 1); in static_lease_verify()
183 lease->client_id_size = 0; in config_parse_dhcp_static_lease_hwaddr()
208 lease->client_id_size = ETH_ALEN + 1; in config_parse_dhcp_static_lease_hwaddr()
Dnetworkd-dhcp-server-static-lease.h19 size_t client_id_size; member
Dnetworkd-dhcp-server.c523 …(link->dhcp_server, &static_lease->address, static_lease->client_id, static_lease->client_id_size); in dhcp4_server_configure()
/systemd-251/src/systemd/
Dsd-dhcp-server.h83 …(sd_dhcp_server *server, const struct in_addr *address, uint8_t *client_id, size_t client_id_size);
/systemd-251/src/libsystemd-network/
Dsd-dhcp-server.c1630 size_t client_id_size) { in sd_dhcp_server_set_static_lease() argument
1637 assert_return(client_id_size > 0, -EINVAL); in sd_dhcp_server_set_static_lease()
1646 .length = client_id_size, in sd_dhcp_server_set_static_lease()
1660 .client_id.length = client_id_size, in sd_dhcp_server_set_static_lease()
1662 lease->client_id.data = memdup(client_id, client_id_size); in sd_dhcp_server_set_static_lease()