Searched defs:af (Results 1 - 13 of 13) sorted by relevance

/systemd/src/shared/
H A Dfirewall-util.h31 int af,
41 int af,
57 int af,
69 int af,
55 fw_add_masquerade( bool add, int af, int protocol, const union in_addr_union *source, unsigned source_prefixlen, const char *out_interface, const union in_addr_union *destination, unsigned destination_prefixlen) argument
67 fw_add_local_dnat( bool add, int af, int protocol, const char *in_interface, const union in_addr_union *source, unsigned source_prefixlen, const union in_addr_union *destination, unsigned destination_prefixlen, uint16_t local_port, const union in_addr_union *remote, uint16_t remote_port, const union in_addr_union *previous_remote) argument
H A Dfirewall-util.c83 int af,
98 if (af != AF_INET)
158 int af,
182 if (af != AF_INET)
81 fw_add_masquerade( bool add, int af, int protocol, const union in_addr_union *source, unsigned source_prefixlen, const char *out_interface, const union in_addr_union *destination, unsigned destination_prefixlen) argument
156 fw_add_local_dnat( bool add, int af, int protocol, const char *in_interface, const union in_addr_union *source, unsigned source_prefixlen, const union in_addr_union *destination, unsigned destination_prefixlen, uint16_t local_port, const union in_addr_union *remote, uint16_t remote_port, const union in_addr_union *previous_remote) argument
/systemd/src/resolve/
H A Dtest-dnssec-complex.c24 #include "af-list.h"
93 const char *af; local
96 af = family == AF_UNSPEC ? "AF_UNSPEC" : af_to_name(family);
119 log_info("[OK] %s/%s resulted in <%s>.", name, af, error.name);
122 log_info("[OK] %s/%s succeeded.", name, af);
H A Dresolved-dns-synthesize.c187 int af, const union in_addr_union *match) {
198 if (af != AF_UNSPEC) {
200 if (addresses[j].family != af)
203 if (match && !in_addr_equal(af, match, &addresses[j].address))
225 int n = 0, af; local
231 af = dns_type_to_af(key->type);
232 if (af >= 0) {
233 n = local_addresses(m->rtnl, ifindex, af, &addresses);
243 if (af == AF_INET || af
182 answer_add_addresses_ptr( DnsAnswer **answer, const char *name, struct local_address *addresses, unsigned n_addresses, int af, const union in_addr_union *match) argument
264 synthesize_system_hostname_ptr(Manager *m, int af, const union in_addr_union *address, int ifindex, DnsAnswer **answer) argument
309 int n = 0, af; local
325 synthesize_gateway_ptr(Manager *m, int af, const union in_addr_union *address, int ifindex, DnsAnswer **answer) argument
357 int af; local
[all...]
/systemd/src/libsystemd/sd-netlink/
H A Dlocal-addresses.c56 int local_addresses(sd_netlink *context, int ifindex, int af, struct local_address **ret) { argument
74 r = sd_rtnl_message_new_addr(rtnl, &req, RTM_GETADDR, 0, af);
107 if (af != AF_UNSPEC && af != family)
167 int local_gateways(sd_netlink *context, int ifindex, int af, struct local_address **ret) { argument
185 r = sd_rtnl_message_new_route(rtnl, &req, RTM_GETROUTE, af, RTPROT_UNSPEC);
236 if (af != AF_UNSPEC && af != family)
/systemd/src/nspawn/
H A Dnspawn-expose-ports.c102 int r, af = AF_INET; local
109 if (in_addr_is_null(af, exposed))
116 af,
139 int af = AF_INET, r; local
149 r = local_addresses(rtnl, 0, af, &addresses);
154 addresses[0].family == af &&
161 if (in_addr_equal(af, exposed, &new_exposed))
164 in_addr_to_string(af, &new_exposed, &pretty);
170 af,
178 in_addr_is_null(af, expose
[all...]
/systemd/src/nss-myhostname/
H A Dnss-myhostname.c189 int af,
209 alen = FAMILY_ADDRESS_SIZE(af);
212 if (af == a->family)
258 if (af != a->family)
268 if (af == AF_INET)
298 result->h_addrtype = af;
318 int af,
339 if (af == AF_UNSPEC)
340 af = AF_INET;
342 if (af !
187 fill_in_hostent( const char *canonical, const char *additional, int af, struct local_address *addresses, unsigned n_addresses, uint32_t local_address_ipv4, struct hostent *result, char *buffer, size_t buflen, int *errnop, int *h_errnop, int32_t *ttlp, char **canonp) argument
316 _nss_myhostname_gethostbyname3_r( const char *name, int af, struct hostent *host, char *buffer, size_t buflen, int *errnop, int *h_errnop, int32_t *ttlp, char **canonp) argument
398 _nss_myhostname_gethostbyaddr2_r( const void* addr, socklen_t len, int af, struct hostent *host, char *buffer, size_t buflen, int *errnop, int *h_errnop, int32_t *ttlp) argument
[all...]
/systemd/src/nss-mymachines/
H A Dnss-mymachines.c44 static int count_addresses(sd_bus_message *m, int af, unsigned *ret) { argument
66 if (af != AF_UNSPEC && family != af)
234 int af,
257 if (af == AF_UNSPEC)
258 af = AF_INET;
260 if (af != AF_INET && af != AF_INET6) {
292 r = count_addresses(reply, af, &c);
302 alen = FAMILY_ADDRESS_SIZE(af);
232 _nss_mymachines_gethostbyname3_r( const char *name, int af, struct hostent *result, char *buffer, size_t buflen, int *errnop, int *h_errnop, int32_t *ttlp, char **canonp) argument
[all...]
/systemd/src/nss-resolve/
H A Dnss-resolve.c63 static int count_addresses(sd_bus_message *m, int af, const char **canonical) { argument
90 if (af != AF_UNSPEC && family != af)
296 int af,
305 int af,
328 if (af == AF_UNSPEC)
329 af = AF_INET;
331 if (af != AF_INET && af != AF_INET6) {
354 r = sd_bus_message_append(req, "isit", 0, name, af, (uint64_
294 _nss_resolve_gethostbyname3_r( const char *name, int af, struct hostent *result, char *buffer, size_t buflen, int *errnop, int *h_errnop, int32_t *ttlp, char **canonp) argument
500 _nss_resolve_gethostbyaddr2_r( const void* addr, socklen_t len, int af, struct hostent *result, char *buffer, size_t buflen, int *errnop, int *h_errnop, int32_t *ttlp) argument
[all...]
/systemd/src/core/
H A Ddbus-execute.c26 #include "af-list.h"
543 void *af; local
558 SET_FOREACH(af, c->address_families, i) {
561 name = af_to_name(PTR_TO_INT(af));
H A Dexecute.c53 #include "af-list.h"
1110 int af, first = 0, last = 0; local
1119 af = PTR_TO_INT(afp);
1121 if (af <= 0 || af >= af_max())
1124 if (first == 0 || af < first)
1125 first = af;
1127 if (last == 0 || af > last)
1128 last = af;
1168 for (af
1185 void *af; local
[all...]
H A Dload-fragment.c33 #include "af-list.h"
2729 int af; local
2735 af = af_from_name(t);
2736 if (af <= 0) {
2745 r = set_put(c->address_families, INT_TO_PTR(af));
2751 set_remove(c->address_families, INT_TO_PTR(af));
/systemd/src/journal/
H A Djournal-file.c2167 int journal_file_compare_locations(JournalFile *af, JournalFile *bf) { argument
2168 assert(af);
2169 assert(af->header);
2172 assert(af->location_type == LOCATION_SEEK);
2177 if (sd_id128_equal(af->current_boot_id, bf->current_boot_id) &&
2178 af->current_monotonic == bf->current_monotonic &&
2179 af->current_realtime == bf->current_realtime &&
2180 af->current_xor_hash == bf->current_xor_hash)
2183 if (sd_id128_equal(af->header->seqnum_id, bf->header->seqnum_id)) {
2187 if (af
[all...]

Completed in 2207 milliseconds