Home
last modified time | relevance | path

Searched refs:user_class (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/libsystemd-network/
Ddhcp6-option.h79 int dhcp6_option_append_user_class(uint8_t **buf, size_t *buflen, char * const *user_class);
80 int dhcp6_option_append_vendor_class(uint8_t **buf, size_t *buflen, char * const *user_class);
Dsd-dhcp6-client.c405 int sd_dhcp6_client_set_request_user_class(sd_dhcp6_client *client, char * const *user_class) { in sd_dhcp6_client_set_request_user_class() argument
410 assert_return(!strv_isempty(user_class), -EINVAL); in sd_dhcp6_client_set_request_user_class()
412 STRV_FOREACH(p, user_class) { in sd_dhcp6_client_set_request_user_class()
419 s = strv_copy(user_class); in sd_dhcp6_client_set_request_user_class()
423 return strv_free_and_replace(client->user_class, s); in sd_dhcp6_client_set_request_user_class()
598 if (client->user_class) { in client_append_common_options_in_managed_mode()
599 r = dhcp6_option_append_user_class(opt, optlen, client->user_class); in client_append_common_options_in_managed_mode()
1448 strv_free(client->user_class); in dhcp6_client_free()
Dsd-dhcp-client.c99 char **user_class; member
596 char * const *user_class) { in sd_dhcp_client_set_user_class() argument
601 assert_return(!strv_isempty(user_class), -EINVAL); in sd_dhcp_client_set_user_class()
603 STRV_FOREACH(p, user_class) { in sd_dhcp_client_set_user_class()
610 s = strv_copy(user_class); in sd_dhcp_client_set_user_class()
614 return strv_free_and_replace(client->user_class, s); in sd_dhcp_client_set_user_class()
1033 if (client->user_class) { in client_append_common_discover_request_options()
1036 strv_length(client->user_class), in client_append_common_discover_request_options()
1037 client->user_class); in client_append_common_discover_request_options()
2231 client->user_class = strv_free(client->user_class); in dhcp_client_free()
Ddhcp6-internal.h70 char **user_class; member
Ddhcp6-option.c419 int dhcp6_option_append_user_class(uint8_t **buf, size_t *buflen, char * const *user_class) { in dhcp6_option_append_user_class() argument
426 assert(!strv_isempty(user_class)); in dhcp6_option_append_user_class()
428 STRV_FOREACH(s, user_class) { in dhcp6_option_append_user_class()
/systemd-251/src/systemd/
Dsd-dhcp6-client.h247 char * const *user_class);
Dsd-dhcp-client.h304 char * const *user_class);