Lines Matching refs:sd_dhcp_server

32 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);
52 int sd_dhcp_server_set_callback(sd_dhcp_server *server, sd_dhcp_server_callback_t cb, void *userdat…
54 int sd_dhcp_server_is_running(sd_dhcp_server *server);
56 int sd_dhcp_server_start(sd_dhcp_server *server);
57 int sd_dhcp_server_stop(sd_dhcp_server *server);
59 int sd_dhcp_server_configure_pool(sd_dhcp_server *server, const struct in_addr *address, unsigned c…
61 int sd_dhcp_server_set_boot_server_address(sd_dhcp_server *server, const struct in_addr *address);
62 int sd_dhcp_server_set_boot_server_name(sd_dhcp_server *server, const char *name);
63 int sd_dhcp_server_set_boot_filename(sd_dhcp_server *server, const char *filename);
64 int sd_dhcp_server_set_bind_to_interface(sd_dhcp_server *server, int enabled);
65 int sd_dhcp_server_set_timezone(sd_dhcp_server *server, const char *timezone);
66 int sd_dhcp_server_set_router(sd_dhcp_server *server, const struct in_addr *address);
69 sd_dhcp_server *server,
74 int sd_dhcp_server_set_lpr(sd_dhcp_server *server, const struct in_addr lpr[], size_t n);
75 int sd_dhcp_server_set_dns(sd_dhcp_server *server, const struct in_addr dns[], size_t n);
76 int sd_dhcp_server_set_ntp(sd_dhcp_server *server, const struct in_addr ntp[], size_t n);
77 int sd_dhcp_server_set_sip(sd_dhcp_server *server, const struct in_addr sip[], size_t n);
78 int sd_dhcp_server_set_pop3(sd_dhcp_server *server, const struct in_addr pop3[], size_t n);
79 int sd_dhcp_server_set_smtp(sd_dhcp_server *server, const struct in_addr smtp[], size_t n);
81 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);
83 int sd_dhcp_server_set_static_lease(sd_dhcp_server *server, const struct in_addr *address, uint8_t …
85 int sd_dhcp_server_set_max_lease_time(sd_dhcp_server *server, uint32_t t);
86 int sd_dhcp_server_set_default_lease_time(sd_dhcp_server *server, uint32_t t);
88 int sd_dhcp_server_forcerenew(sd_dhcp_server *server);
90 int sd_dhcp_server_is_in_relay_mode(sd_dhcp_server *server);
91 int sd_dhcp_server_set_relay_target(sd_dhcp_server *server, const struct in_addr* address);
92 int sd_dhcp_server_set_relay_agent_information(sd_dhcp_server *server, const char* circuit_id, cons…
94 _SD_DEFINE_POINTER_CLEANUP_FUNC(sd_dhcp_server, sd_dhcp_server_unref);