sd_dhcp_client 65 src/libsystemd-network/dhcp-internal.h DEFINE_TRIVIAL_CLEANUP_FUNC(sd_dhcp_client*, sd_dhcp_client_unref); sd_dhcp_client 72 src/libsystemd-network/dhcp-internal.h _cleanup_dhcp_client_unref_ _unused_ sd_dhcp_client *_dont_destroy_##client = sd_dhcp_client_ref(client) sd_dhcp_client 94 src/libsystemd-network/sd-dhcp-client.c static void client_stop(sd_dhcp_client *client, int error); sd_dhcp_client 96 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_set_callback(sd_dhcp_client *client, sd_dhcp_client_cb_t cb, sd_dhcp_client 106 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_set_request_broadcast(sd_dhcp_client *client, int broadcast) { sd_dhcp_client 114 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_set_request_option(sd_dhcp_client *client, uint8_t option) { sd_dhcp_client 146 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_set_request_address(sd_dhcp_client *client, sd_dhcp_client 160 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_set_index(sd_dhcp_client *client, int interface_index) { sd_dhcp_client 171 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_set_mac(sd_dhcp_client *client, const uint8_t *addr, sd_dhcp_client 212 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_set_hostname(sd_dhcp_client *client, sd_dhcp_client 233 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_set_vendor_class_identifier(sd_dhcp_client *client, sd_dhcp_client 250 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_set_mtu(sd_dhcp_client *client, uint32_t mtu) { sd_dhcp_client 259 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_get_lease(sd_dhcp_client *client, sd_dhcp_lease **ret) { sd_dhcp_client 273 src/libsystemd-network/sd-dhcp-client.c static void client_notify(sd_dhcp_client *client, int event) { sd_dhcp_client 278 src/libsystemd-network/sd-dhcp-client.c static int client_initialize(sd_dhcp_client *client) { sd_dhcp_client 303 src/libsystemd-network/sd-dhcp-client.c static void client_stop(sd_dhcp_client *client, int error) { sd_dhcp_client 318 src/libsystemd-network/sd-dhcp-client.c static int client_message_init(sd_dhcp_client *client, DHCPPacket **ret, sd_dhcp_client 441 src/libsystemd-network/sd-dhcp-client.c static int dhcp_client_send_raw(sd_dhcp_client *client, DHCPPacket *packet, sd_dhcp_client 450 src/libsystemd-network/sd-dhcp-client.c static int client_send_discover(sd_dhcp_client *client) { sd_dhcp_client 516 src/libsystemd-network/sd-dhcp-client.c static int client_send_request(sd_dhcp_client *client) { sd_dhcp_client 635 src/libsystemd-network/sd-dhcp-client.c static int client_start(sd_dhcp_client *client); sd_dhcp_client 639 src/libsystemd-network/sd-dhcp-client.c sd_dhcp_client *client = userdata; sd_dhcp_client 783 src/libsystemd-network/sd-dhcp-client.c static int client_initialize_io_events(sd_dhcp_client *client, sd_dhcp_client 813 src/libsystemd-network/sd-dhcp-client.c static int client_initialize_time_events(sd_dhcp_client *client) { sd_dhcp_client 845 src/libsystemd-network/sd-dhcp-client.c static int client_initialize_events(sd_dhcp_client *client, sd_dhcp_client 853 src/libsystemd-network/sd-dhcp-client.c static int client_start(sd_dhcp_client *client) { sd_dhcp_client 883 src/libsystemd-network/sd-dhcp-client.c sd_dhcp_client *client = userdata; sd_dhcp_client 900 src/libsystemd-network/sd-dhcp-client.c sd_dhcp_client *client = userdata; sd_dhcp_client 924 src/libsystemd-network/sd-dhcp-client.c sd_dhcp_client *client = userdata; sd_dhcp_client 933 src/libsystemd-network/sd-dhcp-client.c static int client_handle_offer(sd_dhcp_client *client, DHCPMessage *offer, sd_dhcp_client 979 src/libsystemd-network/sd-dhcp-client.c static int client_handle_forcerenew(sd_dhcp_client *client, DHCPMessage *force, sd_dhcp_client 992 src/libsystemd-network/sd-dhcp-client.c static int client_handle_ack(sd_dhcp_client *client, DHCPMessage *ack, sd_dhcp_client 1054 src/libsystemd-network/sd-dhcp-client.c static uint64_t client_compute_timeout(sd_dhcp_client *client, sd_dhcp_client 1064 src/libsystemd-network/sd-dhcp-client.c static int client_set_lease_timeouts(sd_dhcp_client *client) { sd_dhcp_client 1214 src/libsystemd-network/sd-dhcp-client.c static int client_handle_message(sd_dhcp_client *client, DHCPMessage *message, sd_dhcp_client 1356 src/libsystemd-network/sd-dhcp-client.c sd_dhcp_client *client = userdata; sd_dhcp_client 1438 src/libsystemd-network/sd-dhcp-client.c sd_dhcp_client *client = userdata; sd_dhcp_client 1498 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_start(sd_dhcp_client *client) { sd_dhcp_client 1517 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_stop(sd_dhcp_client *client) { sd_dhcp_client 1528 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_attach_event(sd_dhcp_client *client, sd_event *event, sd_dhcp_client 1548 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_detach_event(sd_dhcp_client *client) { sd_dhcp_client 1556 src/libsystemd-network/sd-dhcp-client.c sd_event *sd_dhcp_client_get_event(sd_dhcp_client *client) { sd_dhcp_client 1563 src/libsystemd-network/sd-dhcp-client.c sd_dhcp_client *sd_dhcp_client_ref(sd_dhcp_client *client) { sd_dhcp_client 1570 src/libsystemd-network/sd-dhcp-client.c sd_dhcp_client *sd_dhcp_client_unref(sd_dhcp_client *client) { sd_dhcp_client 1592 src/libsystemd-network/sd-dhcp-client.c int sd_dhcp_client_new(sd_dhcp_client **ret) { sd_dhcp_client 1593 src/libsystemd-network/sd-dhcp-client.c _cleanup_dhcp_client_unref_ sd_dhcp_client *client = NULL; sd_dhcp_client 1597 src/libsystemd-network/sd-dhcp-client.c client = new0(sd_dhcp_client, 1); sd_dhcp_client 344 src/network/networkd-dhcp4.c static int dhcp_lease_renew(sd_dhcp_client *client, Link *link) { sd_dhcp_client 402 src/network/networkd-dhcp4.c static int dhcp_lease_acquired(sd_dhcp_client *client, Link *link) { sd_dhcp_client 520 src/network/networkd-dhcp4.c static void dhcp4_handler(sd_dhcp_client *client, int event, void *userdata) { sd_dhcp_client 75 src/network/networkd-link.h sd_dhcp_client *dhcp_client; sd_dhcp_client 39 src/systemd/sd-dhcp-client.h typedef struct sd_dhcp_client sd_dhcp_client; sd_dhcp_client 41 src/systemd/sd-dhcp-client.h typedef void (*sd_dhcp_client_cb_t)(sd_dhcp_client *client, int event, sd_dhcp_client 43 src/systemd/sd-dhcp-client.h int sd_dhcp_client_set_callback(sd_dhcp_client *client, sd_dhcp_client_cb_t cb, sd_dhcp_client 47 src/systemd/sd-dhcp-client.h int sd_dhcp_client_set_request_option(sd_dhcp_client *client, uint8_t option); sd_dhcp_client 48 src/systemd/sd-dhcp-client.h int sd_dhcp_client_set_request_address(sd_dhcp_client *client, sd_dhcp_client 50 src/systemd/sd-dhcp-client.h int sd_dhcp_client_set_request_broadcast(sd_dhcp_client *client, int broadcast); sd_dhcp_client 51 src/systemd/sd-dhcp-client.h int sd_dhcp_client_set_index(sd_dhcp_client *client, int interface_index); sd_dhcp_client 52 src/systemd/sd-dhcp-client.h int sd_dhcp_client_set_mac(sd_dhcp_client *client, const uint8_t *addr, sd_dhcp_client 54 src/systemd/sd-dhcp-client.h int sd_dhcp_client_set_mtu(sd_dhcp_client *client, uint32_t mtu); sd_dhcp_client 55 src/systemd/sd-dhcp-client.h int sd_dhcp_client_set_hostname(sd_dhcp_client *client, const char *hostname); sd_dhcp_client 56 src/systemd/sd-dhcp-client.h int sd_dhcp_client_set_vendor_class_identifier(sd_dhcp_client *client, const char *vci); sd_dhcp_client 57 src/systemd/sd-dhcp-client.h int sd_dhcp_client_get_lease(sd_dhcp_client *client, sd_dhcp_lease **ret); sd_dhcp_client 59 src/systemd/sd-dhcp-client.h int sd_dhcp_client_stop(sd_dhcp_client *client); sd_dhcp_client 60 src/systemd/sd-dhcp-client.h int sd_dhcp_client_start(sd_dhcp_client *client); sd_dhcp_client 62 src/systemd/sd-dhcp-client.h sd_dhcp_client *sd_dhcp_client_ref(sd_dhcp_client *client); sd_dhcp_client 63 src/systemd/sd-dhcp-client.h sd_dhcp_client *sd_dhcp_client_unref(sd_dhcp_client *client); sd_dhcp_client 65 src/systemd/sd-dhcp-client.h int sd_dhcp_client_new(sd_dhcp_client **ret); sd_dhcp_client 67 src/systemd/sd-dhcp-client.h int sd_dhcp_client_attach_event(sd_dhcp_client *client, sd_event *event, int priority); sd_dhcp_client 68 src/systemd/sd-dhcp-client.h int sd_dhcp_client_detach_event(sd_dhcp_client *client); sd_dhcp_client 69 src/systemd/sd-dhcp-client.h sd_event *sd_dhcp_client_get_event(sd_dhcp_client *client);