Lines Matching refs:sd_netlink_message

18 static int nft_message_new(sd_netlink *nfnl, sd_netlink_message **ret, int family, uint16_t msg_typ…  in nft_message_new()
19 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; in nft_message_new()
41 static int nfnl_message_batch(sd_netlink *nfnl, sd_netlink_message **ret, uint16_t msg_type) { in nfnl_message_batch()
42 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; in nfnl_message_batch()
59 int sd_nfnl_message_batch_begin(sd_netlink *nfnl, sd_netlink_message **ret) { in sd_nfnl_message_batch_begin()
63 int sd_nfnl_message_batch_end(sd_netlink *nfnl, sd_netlink_message **ret) { in sd_nfnl_message_batch_end()
69 sd_netlink_message **ret, in sd_nfnl_nft_message_new_basechain()
77 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; in sd_nfnl_nft_message_new_basechain()
118 sd_netlink_message **ret, in sd_nfnl_nft_message_del_table()
122 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; in sd_nfnl_nft_message_del_table()
139 sd_netlink_message **ret, in sd_nfnl_nft_message_new_table()
143 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; in sd_nfnl_nft_message_new_table()
160 sd_netlink_message **ret, in sd_nfnl_nft_message_new_rule()
165 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; in sd_nfnl_nft_message_new_rule()
186 sd_netlink_message **ret, in sd_nfnl_nft_message_new_set()
193 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; in sd_nfnl_nft_message_new_set()
222 sd_netlink_message **ret, in sd_nfnl_nft_message_new_setelems_begin()
227 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; in sd_nfnl_nft_message_new_setelems_begin()
252 sd_netlink_message **ret, in sd_nfnl_nft_message_del_setelems_begin()
257 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; in sd_nfnl_nft_message_del_setelems_begin()
280 static int sd_nfnl_add_data(sd_netlink_message *m, uint16_t attr, const void *data, uint32_t dlen) { in sd_nfnl_add_data()
295 sd_netlink_message *m, in sd_nfnl_nft_message_add_setelem()
325 int sd_nfnl_nft_message_add_setelem_end(sd_netlink_message *m) { in sd_nfnl_nft_message_add_setelem_end()