Lines Matching refs:batch
641 sd_netlink_message *batch[NFT_INIT_MSGS] = {}; in fw_nftables_init_family() local
648 r = sd_nfnl_message_batch_begin(nfnl, &batch[msgcnt]); in fw_nftables_init_family()
655 r = sd_nfnl_nft_message_new_table(nfnl, &batch[msgcnt], family, NFT_SYSTEMD_TABLE_NAME); in fw_nftables_init_family()
662 r = sd_nfnl_nft_message_new_basechain(nfnl, &batch[msgcnt], family, NFT_SYSTEMD_TABLE_NAME, in fw_nftables_init_family()
670 r = sd_nfnl_nft_message_new_basechain(nfnl, &batch[msgcnt], family, NFT_SYSTEMD_TABLE_NAME, in fw_nftables_init_family()
678 r = sd_nfnl_nft_message_new_basechain(nfnl, &batch[msgcnt], family, NFT_SYSTEMD_TABLE_NAME, in fw_nftables_init_family()
695 …r = nft_new_set(nfnl, &batch[msgcnt], family, NFT_SYSTEMD_MASQ_SET_NAME, ++set_id, NFT_SET_INTERVA… in fw_nftables_init_family()
708 r = nft_new_map(nfnl, &batch[msgcnt], family, NFT_SYSTEMD_DNAT_MAP_NAME, ++set_id, 0, in fw_nftables_init_family()
716 r = sd_nfnl_message_new_dnat_rule_pre(nfnl, &batch[msgcnt], family, "prerouting"); in fw_nftables_init_family()
722 r = sd_nfnl_message_new_dnat_rule_out(nfnl, &batch[msgcnt], family, "output"); in fw_nftables_init_family()
727 r = sd_nfnl_message_new_masq_rule(nfnl, &batch[msgcnt], family, "postrouting"); in fw_nftables_init_family()
733 r = sd_nfnl_message_batch_end(nfnl, &batch[msgcnt]); in fw_nftables_init_family()
739 r = nfnl_netlink_sendv(nfnl, batch, msgcnt); in fw_nftables_init_family()
745 sd_netlink_message_unref(batch[i]); in fw_nftables_init_family()