Lines Matching refs:sd_netlink

34 typedef struct sd_netlink sd_netlink;  typedef
39 typedef int (*sd_netlink_message_handler_t)(sd_netlink *nl, sd_netlink_message *m, void *userdata);
43 int sd_netlink_new_from_fd(sd_netlink **nl, int fd);
44 int sd_netlink_open(sd_netlink **nl);
45 int sd_netlink_open_fd(sd_netlink **nl, int fd);
46 int sd_netlink_inc_rcvbuf(sd_netlink *nl, const size_t size);
48 sd_netlink *sd_netlink_ref(sd_netlink *nl);
49 sd_netlink *sd_netlink_unref(sd_netlink *nl);
51 int sd_netlink_send(sd_netlink *nl, sd_netlink_message *message, uint32_t *serial);
52 int sd_netlink_sendv(sd_netlink *nl, sd_netlink_message **messages, size_t msgcnt, uint32_t **ret_s…
53 int sd_netlink_call_async(sd_netlink *nl, sd_netlink_slot **ret_slot, sd_netlink_message *message,
56 int sd_netlink_call(sd_netlink *nl, sd_netlink_message *message, uint64_t timeout,
58 int sd_netlink_read(sd_netlink *nl, uint32_t serial, uint64_t timeout, sd_netlink_message **reply);
60 int sd_netlink_get_events(sd_netlink *nl);
61 int sd_netlink_get_timeout(sd_netlink *nl, uint64_t *timeout);
62 int sd_netlink_process(sd_netlink *nl, sd_netlink_message **ret);
63 int sd_netlink_wait(sd_netlink *nl, uint64_t timeout);
65 int sd_netlink_add_match(sd_netlink *nl, sd_netlink_slot **ret_slot, uint16_t match,
70 int sd_netlink_attach_event(sd_netlink *nl, sd_event *e, int64_t priority);
71 int sd_netlink_detach_event(sd_netlink *nl);
72 int sd_netlink_attach_filter(sd_netlink *nl, size_t len, struct sock_filter *filter);
119 int sd_netlink_message_rewind(sd_netlink_message *m, sd_netlink *nl);
137 int sd_rtnl_message_new_addr(sd_netlink *nl, sd_netlink_message **ret, uint16_t msg_type, int index…
138 int sd_rtnl_message_new_addr_update(sd_netlink *nl, sd_netlink_message **ret, int index, int family…
148 int sd_rtnl_message_new_link(sd_netlink *nl, sd_netlink_message **ret, uint16_t msg_type, int index…
156 int sd_rtnl_message_new_route(sd_netlink *nl, sd_netlink_message **ret, uint16_t nlmsg_type, int rt…
173 int sd_rtnl_message_new_nexthop(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, in…
179 int sd_rtnl_message_new_neigh(sd_netlink *nl, sd_netlink_message **ret, uint16_t nlmsg_type, int in…
187 int sd_rtnl_message_new_addrlabel(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, …
191 int sd_rtnl_message_new_routing_policy_rule(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nl…
205 int sd_rtnl_message_new_traffic_control(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_…
211 int sd_rtnl_message_new_mdb(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t nlmsg_type, int md…
214 int sd_nfnl_socket_open(sd_netlink **ret);
215 int sd_nfnl_message_batch_begin(sd_netlink *nfnl, sd_netlink_message **ret);
216 int sd_nfnl_message_batch_end(sd_netlink *nfnl, sd_netlink_message **ret);
217 int sd_nfnl_nft_message_del_table(sd_netlink *nfnl, sd_netlink_message **ret,
219 int sd_nfnl_nft_message_new_table(sd_netlink *nfnl, sd_netlink_message **ret,
221 int sd_nfnl_nft_message_new_basechain(sd_netlink *nfnl, sd_netlink_message **ret,
224 int sd_nfnl_nft_message_new_rule(sd_netlink *nfnl, sd_netlink_message **ret,
226 int sd_nfnl_nft_message_new_set(sd_netlink *nfnl, sd_netlink_message **ret,
229 int sd_nfnl_nft_message_new_setelems_begin(sd_netlink *nfnl, sd_netlink_message **ret,
231 int sd_nfnl_nft_message_del_setelems_begin(sd_netlink *nfnl, sd_netlink_message **ret,
240 int sd_genl_socket_open(sd_netlink **ret);
241 int sd_genl_message_new(sd_netlink *genl, const char *family_name, uint8_t cmd, sd_netlink_message …
242 int sd_genl_message_get_family_name(sd_netlink *genl, sd_netlink_message *m, const char **ret);
243 int sd_genl_message_get_command(sd_netlink *genl, sd_netlink_message *m, uint8_t *ret);
244 int sd_genl_add_match(sd_netlink *nl, sd_netlink_slot **ret_slot, const char *family_name,
254 sd_netlink *sd_netlink_slot_get_netlink(sd_netlink_slot *slot);
264 _SD_DEFINE_POINTER_CLEANUP_FUNC(sd_netlink, sd_netlink_unref);