Home
last modified time | relevance | path

Searched refs:FirewallContext (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/shared/
Dfirewall-util.h9 typedef struct FirewallContext FirewallContext; typedef
11 int fw_ctx_new(FirewallContext **ret);
12 FirewallContext *fw_ctx_free(FirewallContext *ctx);
14 DEFINE_TRIVIAL_CLEANUP_FUNC(FirewallContext *, fw_ctx_free);
17 FirewallContext **ctx,
24 FirewallContext **ctx,
Dfirewall-util.c23 static void firewall_backend_probe(FirewallContext *ctx) { in firewall_backend_probe()
44 int fw_ctx_new(FirewallContext **ret) { in fw_ctx_new()
45 _cleanup_free_ FirewallContext *ctx = NULL; in fw_ctx_new()
47 ctx = new(FirewallContext, 1); in fw_ctx_new()
51 *ctx = (FirewallContext) { in fw_ctx_new()
61 FirewallContext *fw_ctx_free(FirewallContext *ctx) { in fw_ctx_free()
71 FirewallContext **ctx, in fw_add_masquerade()
100 FirewallContext **ctx, in fw_add_local_dnat()
Dfirewall-util-private.h21 struct FirewallContext { struct
28 int fw_nftables_init(FirewallContext *ctx); argument
29 void fw_nftables_exit(FirewallContext *ctx);
32 FirewallContext *ctx,
39 FirewallContext *ctx,
Dfirewall-util-nft.c750 int fw_nftables_init(FirewallContext *ctx) { in fw_nftables_init()
772 void fw_nftables_exit(FirewallContext *ctx) { in fw_nftables_exit()
852 FirewallContext *ctx, in fw_nftables_add_masquerade_internal()
902 FirewallContext *ctx, in fw_nftables_add_masquerade()
944 FirewallContext *ctx, in fw_nftables_add_local_dnat_internal()
1048 FirewallContext *ctx, in fw_nftables_add_local_dnat()
/systemd-251/src/test/
Dtest-firewall-util.c12 static void test_v6(FirewallContext *ctx) { in test_v6()
56 static bool test_v4(FirewallContext *ctx) { in test_v4()
99 _cleanup_(fw_ctx_freep) FirewallContext *ctx = NULL; in main()
/systemd-251/src/nspawn/
Dnspawn-expose-ports.h26 int expose_port_execute(sd_netlink *rtnl, FirewallContext **fw_ctx, ExposePort *l, int af, union in…
27 int expose_port_flush(FirewallContext **fw_ctx, ExposePort* l, int af, union in_addr_union *exposed…
Dnspawn-expose-ports.c85 int expose_port_flush(FirewallContext **fw_ctx, ExposePort* l, int af, union in_addr_union *exposed… in expose_port_flush()
115 int expose_port_execute(sd_netlink *rtnl, FirewallContext **fw_ctx, ExposePort *l, int af, union in… in expose_port_execute()
Dnspawn.c2539 struct FirewallContext *fw_ctx;
5454 _cleanup_(fw_ctx_freep) FirewallContext *fw_ctx = NULL; in run()
/systemd-251/src/network/
Dnetworkd-manager.h101 FirewallContext *fw_ctx;