Lines Matching refs:ret

18 static int nft_message_new(sd_netlink *nfnl, sd_netlink_message **ret, int family, uint16_t msg_typ…  in nft_message_new()  argument
23 assert_return(ret, -EINVAL); in nft_message_new()
37 *ret = TAKE_PTR(m); 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() argument
55 *ret = TAKE_PTR(m); in nfnl_message_batch()
59 int sd_nfnl_message_batch_begin(sd_netlink *nfnl, sd_netlink_message **ret) { in sd_nfnl_message_batch_begin() argument
60 return nfnl_message_batch(nfnl, ret, NFNL_MSG_BATCH_BEGIN); 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() argument
64 return nfnl_message_batch(nfnl, ret, NFNL_MSG_BATCH_END); in sd_nfnl_message_batch_end()
69 sd_netlink_message **ret, in sd_nfnl_nft_message_new_basechain() argument
112 *ret = TAKE_PTR(m); in sd_nfnl_nft_message_new_basechain()
118 sd_netlink_message **ret, in sd_nfnl_nft_message_del_table() argument
133 *ret = TAKE_PTR(m); in sd_nfnl_nft_message_del_table()
139 sd_netlink_message **ret, in sd_nfnl_nft_message_new_table() argument
154 *ret = TAKE_PTR(m); in sd_nfnl_nft_message_new_table()
160 sd_netlink_message **ret, in sd_nfnl_nft_message_new_rule() argument
180 *ret = TAKE_PTR(m); in sd_nfnl_nft_message_new_rule()
186 sd_netlink_message **ret, in sd_nfnl_nft_message_new_set() argument
216 *ret = TAKE_PTR(m); in sd_nfnl_nft_message_new_set()
222 sd_netlink_message **ret, in sd_nfnl_nft_message_new_setelems_begin() argument
246 *ret = TAKE_PTR(m); in sd_nfnl_nft_message_new_setelems_begin()
252 sd_netlink_message **ret, in sd_nfnl_nft_message_del_setelems_begin() argument
276 *ret = TAKE_PTR(m); in sd_nfnl_nft_message_del_setelems_begin()
329 int sd_nfnl_socket_open(sd_netlink **ret) { in sd_nfnl_socket_open() argument
330 return netlink_open_family(ret, NETLINK_NETFILTER); in sd_nfnl_socket_open()