Lines Matching refs:sd_netlink

22 static int netlink_new(sd_netlink **ret) {  in netlink_new()
23 _cleanup_(sd_netlink_unrefp) sd_netlink *nl = NULL; in netlink_new()
27 nl = new(sd_netlink, 1); in netlink_new()
31 *nl = (sd_netlink) { in netlink_new()
71 int sd_netlink_new_from_fd(sd_netlink **ret, int fd) { in sd_netlink_new_from_fd()
72 _cleanup_(sd_netlink_unrefp) sd_netlink *nl = NULL; in sd_netlink_new_from_fd()
96 int sd_netlink_open_fd(sd_netlink **ret, int fd) { in sd_netlink_open_fd()
97 _cleanup_(sd_netlink_unrefp) sd_netlink *nl = NULL; in sd_netlink_open_fd()
134 int netlink_open_family(sd_netlink **ret, int family) { in netlink_open_family()
150 int sd_netlink_open(sd_netlink **ret) { in sd_netlink_open()
154 bool netlink_pid_changed(sd_netlink *nl) { in netlink_pid_changed()
163 int sd_netlink_inc_rcvbuf(sd_netlink *nl, size_t size) { in sd_netlink_inc_rcvbuf()
170 static sd_netlink *netlink_free(sd_netlink *nl) { in netlink_free()
205 DEFINE_TRIVIAL_REF_UNREF_FUNC(sd_netlink, sd_netlink, netlink_free);
207 static void netlink_seal_message(sd_netlink *nl, sd_netlink_message *m) { in netlink_seal_message()
230 sd_netlink *nl, in sd_netlink_send()
254 sd_netlink *nl, in sd_netlink_sendv()
291 int netlink_rqueue_make_room(sd_netlink *nl) { in netlink_rqueue_make_room()
305 int netlink_rqueue_partial_make_room(sd_netlink *nl) { in netlink_rqueue_partial_make_room()
319 static int dispatch_rqueue(sd_netlink *nl, sd_netlink_message **message) { in dispatch_rqueue()
344 static int process_timeout(sd_netlink *nl) { in process_timeout()
384 static int process_reply(sd_netlink *nl, sd_netlink_message *m) { in process_reply()
426 static int process_match(sd_netlink *nl, sd_netlink_message *m) { in process_match()
478 static int process_running(sd_netlink *nl, sd_netlink_message **ret) { in process_running()
516 int sd_netlink_process(sd_netlink *nl, sd_netlink_message **ret) { in sd_netlink_process()
541 static int netlink_poll(sd_netlink *nl, bool need_more, usec_t timeout_usec) { in netlink_poll()
575 int sd_netlink_wait(sd_netlink *nl, uint64_t timeout_usec) { in sd_netlink_wait()
598 sd_netlink *nl, in sd_netlink_call_async()
663 sd_netlink *nl, in sd_netlink_read()
740 sd_netlink *nl, in sd_netlink_call()
759 int sd_netlink_get_events(sd_netlink *nl) { in sd_netlink_get_events()
766 int sd_netlink_get_timeout(sd_netlink *nl, uint64_t *timeout_usec) { in sd_netlink_get_timeout()
790 sd_netlink *nl = userdata; in io_callback()
803 sd_netlink *nl = userdata; in time_callback()
816 sd_netlink *nl = userdata; in prepare_callback()
849 int sd_netlink_attach_event(sd_netlink *nl, sd_event *event, int64_t priority) { in sd_netlink_attach_event()
901 int sd_netlink_detach_event(sd_netlink *nl) { in sd_netlink_detach_event()
915 sd_netlink *nl, in netlink_add_match_internal()
965 sd_netlink *rtnl, in sd_netlink_add_match()
1034 int sd_netlink_attach_filter(sd_netlink *nl, size_t len, struct sock_filter *filter) { in sd_netlink_attach_filter()