Home
last modified time | relevance | path

Searched refs:previous_remote (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/shared/
Dfirewall-util-iptables.c164 const union in_addr_union *previous_remote) { in fw_iptables_add_local_dnat() argument
181 assert(add || !previous_remote); in fw_iptables_add_local_dnat()
287 if (previous_remote && previous_remote->in.s_addr != remote->in.s_addr) { in fw_iptables_add_local_dnat()
288 mr->range[0].min_ip = mr->range[0].max_ip = previous_remote->in.s_addr; in fw_iptables_add_local_dnat()
317 if (previous_remote && previous_remote->in.s_addr != remote->in.s_addr) { in fw_iptables_add_local_dnat()
318 … mr->range[0].min_ip = mr->range[0].max_ip = previous_remote->in.s_addr; in fw_iptables_add_local_dnat()
Dfirewall-util.c107 const union in_addr_union *previous_remote) { in fw_add_local_dnat() argument
122 …rn fw_iptables_add_local_dnat(add, af, protocol, local_port, remote, remote_port, previous_remote); in fw_add_local_dnat()
125 …nftables_add_local_dnat(*ctx, add, af, protocol, local_port, remote, remote_port, previous_remote); in fw_add_local_dnat()
Dfirewall-util-private.h46 const union in_addr_union *previous_remote);
64 const union in_addr_union *previous_remote);
Dfirewall-util-nft.c951 const union in_addr_union *previous_remote) { in fw_nftables_add_local_dnat_internal() argument
959 assert(add || !previous_remote); in fw_nftables_add_local_dnat_internal()
994 if (add && previous_remote && !in_addr_equal(af, previous_remote, remote)) { in fw_nftables_add_local_dnat_internal()
996 data[0] = previous_remote->in.s_addr; in fw_nftables_add_local_dnat_internal()
998 memcpy(data, &previous_remote->in6, sizeof(previous_remote->in6)); in fw_nftables_add_local_dnat_internal()
1055 const union in_addr_union *previous_remote) { in fw_nftables_add_local_dnat() argument
1062 …_add_local_dnat_internal(ctx, add, af, protocol, local_port, remote, remote_port, previous_remote); in fw_nftables_add_local_dnat()
Dfirewall-util.h31 const union in_addr_union *previous_remote);