Home
last modified time | relevance | path

Searched refs:sd_dhcp_server (Results 1 – 11 of 11) sorted by relevance

/systemd-251/src/systemd/
Dsd-dhcp-server.h32 typedef struct sd_dhcp_server sd_dhcp_server; typedef
38 int sd_dhcp_server_new(sd_dhcp_server **ret, int ifindex);
40 int sd_dhcp_server_set_ifname(sd_dhcp_server *server, const char *ifname);
41 int sd_dhcp_server_get_ifname(sd_dhcp_server *server, const char **ret);
43 sd_dhcp_server *sd_dhcp_server_ref(sd_dhcp_server *server);
44 sd_dhcp_server *sd_dhcp_server_unref(sd_dhcp_server *server);
46 int sd_dhcp_server_attach_event(sd_dhcp_server *client, sd_event *event, int64_t priority);
47 int sd_dhcp_server_detach_event(sd_dhcp_server *client);
48 sd_event *sd_dhcp_server_get_event(sd_dhcp_server *client);
50 typedef void (*sd_dhcp_server_callback_t)(sd_dhcp_server *server, uint64_t event, void *userdata);
[all …]
/systemd-251/src/libsystemd-network/
Dsd-dhcp-server.c52 sd_dhcp_server *server, in sd_dhcp_server_configure_pool()
116 int sd_dhcp_server_is_running(sd_dhcp_server *server) { in sd_dhcp_server_is_running()
122 int sd_dhcp_server_is_in_relay_mode(sd_dhcp_server *server) { in sd_dhcp_server_is_in_relay_mode()
160 static sd_dhcp_server *dhcp_server_free(sd_dhcp_server *server) { in dhcp_server_free()
189 DEFINE_TRIVIAL_REF_UNREF_FUNC(sd_dhcp_server, sd_dhcp_server, dhcp_server_free);
191 int sd_dhcp_server_new(sd_dhcp_server **ret, int ifindex) { in sd_dhcp_server_new()
192 _cleanup_(sd_dhcp_server_unrefp) sd_dhcp_server *server = NULL; in sd_dhcp_server_new()
197 server = new(sd_dhcp_server, 1); in sd_dhcp_server_new()
201 *server = (sd_dhcp_server) { in sd_dhcp_server_new()
219 int sd_dhcp_server_set_ifname(sd_dhcp_server *server, const char *ifname) { in sd_dhcp_server_set_ifname()
[all …]
Ddhcp-server-internal.h33 sd_dhcp_server *server;
45 struct sd_dhcp_server { struct
109 int dhcp_server_handle_message(sd_dhcp_server *server, DHCPMessage *message, argument
111 int dhcp_server_send_packet(sd_dhcp_server *server,
121 sd_dhcp_server, server, \
126 sd_dhcp_server, server, \
Dfuzz-dhcp-server.c20 static void add_lease(sd_dhcp_server *server, const struct in_addr *server_address, uint8_t i) { in add_lease()
42 static void add_static_lease(sd_dhcp_server *server, uint8_t i) { in add_static_lease()
53 _cleanup_(sd_dhcp_server_unrefp) sd_dhcp_server *server = NULL; in LLVMFuzzerTestOneInput()
Dtest-dhcp-server.c16 _cleanup_(sd_dhcp_server_unrefp) sd_dhcp_server *server = NULL; in test_pool()
24 _cleanup_(sd_dhcp_server_unrefp) sd_dhcp_server *server = NULL; in test_basic()
78 _cleanup_(sd_dhcp_server_unrefp) sd_dhcp_server *server = NULL; in test_message_handler()
266 _cleanup_(sd_dhcp_server_unrefp) sd_dhcp_server *server = NULL; in test_static_lease()
Dfuzz-dhcp-server-relay.c20 _cleanup_(sd_dhcp_server_unrefp) sd_dhcp_server *server = NULL; in LLVMFuzzerTestOneInput()
Ddhcp-option.c126 sd_dhcp_server *server = (sd_dhcp_server *) optval; in option_append()
/systemd-251/src/network/
Dnetworkd-dhcp-server-bus.c21 sd_dhcp_server *s; in property_get_leases()
98 void dhcp_server_callback(sd_dhcp_server *s, uint64_t event, void *data) { in dhcp_server_callback()
Dnetworkd-dhcp-server-bus.h11 void dhcp_server_callback(sd_dhcp_server *server, uint64_t event, void *data);
Dnetworkd-link.h146 sd_dhcp_server *dhcp_server;
Dnetworkd-dhcp-server.c177 sd_dhcp_server *s) { in link_push_uplink_to_dhcp_server()