Home
last modified time | relevance | path

Searched refs:sd_dhcp_option (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/systemd/
Dsd-dhcp-option.h28 typedef struct sd_dhcp_option sd_dhcp_option; typedef
30 int sd_dhcp_option_new(uint8_t option, const void *data, size_t length, sd_dhcp_option **ret);
31 sd_dhcp_option *sd_dhcp_option_ref(sd_dhcp_option *ra);
32 sd_dhcp_option *sd_dhcp_option_unref(sd_dhcp_option *ra);
34 _SD_DEFINE_POINTER_CLEANUP_FUNC(sd_dhcp_option, sd_dhcp_option_unref);
Dsd-dhcp-server.h81 int sd_dhcp_server_add_option(sd_dhcp_server *server, sd_dhcp_option *v);
82 int sd_dhcp_server_add_vendor_option(sd_dhcp_server *server, sd_dhcp_option *v);
Dsd-dhcp-client.h315 int sd_dhcp_client_add_option(sd_dhcp_client *client, sd_dhcp_option *v);
316 int sd_dhcp_client_add_vendor_option(sd_dhcp_client *client, sd_dhcp_option *v);
/systemd-251/src/libsystemd-network/
Ddhcp-option.c105 struct sd_dhcp_option *p; in option_append()
400 static sd_dhcp_option* dhcp_option_free(sd_dhcp_option *i) { in dhcp_option_free()
408 int sd_dhcp_option_new(uint8_t option, const void *data, size_t length, sd_dhcp_option **ret) { in sd_dhcp_option_new()
416 sd_dhcp_option *p = new(sd_dhcp_option, 1); in sd_dhcp_option_new()
420 *p = (sd_dhcp_option) { in sd_dhcp_option_new()
431 DEFINE_TRIVIAL_REF_UNREF_FUNC(sd_dhcp_option, sd_dhcp_option, dhcp_option_free);
437 sd_dhcp_option,
Ddhcp-internal.h18 typedef struct sd_dhcp_option { struct
24 } sd_dhcp_option; typedef
Dsd-dhcp-server.c568 sd_dhcp_option *j; in server_send_offer_or_ack()
1549 int sd_dhcp_server_add_option(sd_dhcp_server *server, sd_dhcp_option *v) { in sd_dhcp_server_add_option()
1563 int sd_dhcp_server_add_vendor_option(sd_dhcp_server *server, sd_dhcp_option *v) { in sd_dhcp_server_add_vendor_option()
Dsd-dhcp-client.c645 int sd_dhcp_client_add_option(sd_dhcp_client *client, sd_dhcp_option *v) { in sd_dhcp_client_add_option()
659 int sd_dhcp_client_add_vendor_option(sd_dhcp_client *client, sd_dhcp_option *v) { in sd_dhcp_client_add_vendor_option()
991 sd_dhcp_option *j; in client_append_common_discover_request_options()
/systemd-251/src/network/
Dnetworkd-dhcp-common.c682 _cleanup_(sd_dhcp_option_unrefp) sd_dhcp_option *opt4 = NULL; in config_parse_dhcp_send_option()
684 _unused_ _cleanup_(sd_dhcp_option_unrefp) sd_dhcp_option *old4 = NULL; in config_parse_dhcp_send_option()
Dnetworkd-dhcp-server.c367 sd_dhcp_option *p; in dhcp4_server_configure()
Dnetworkd-dhcp4.c1366 sd_dhcp_option *send_option; in dhcp4_configure()