Lines Matching refs:af
85 int expose_port_flush(FirewallContext **fw_ctx, ExposePort* l, int af, union in_addr_union *exposed… in expose_port_flush() argument
93 if (!in_addr_is_set(af, exposed)) in expose_port_flush()
101 af, in expose_port_flush()
108 log_warning_errno(r, "Failed to modify %s firewall: %m", af_to_name(af)); 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() argument
129 r = local_addresses(rtnl, 0, af, &addresses); in expose_port_execute()
134 addresses[0].family == af && in expose_port_execute()
138 return expose_port_flush(fw_ctx, l, af, exposed); in expose_port_execute()
141 if (in_addr_equal(af, exposed, &new_exposed)) in expose_port_execute()
146 in_addr_to_string(af, &new_exposed, &pretty); in expose_port_execute()
154 af, in expose_port_execute()
159 in_addr_is_set(af, exposed) ? exposed : NULL); in expose_port_execute()
161 log_warning_errno(r, "Failed to modify %s firewall: %m", af_to_name(af)); in expose_port_execute()