Home
last modified time | relevance | path

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

/systemd-251/src/systemd/
Dsd-resolve.h40 typedef struct sd_resolve_query sd_resolve_query; typedef
43 typedef int (*sd_resolve_getaddrinfo_handler_t)(sd_resolve_query *q, int ret, const struct addrinfo…
44 typedef int (*sd_resolve_getnameinfo_handler_t)(sd_resolve_query *q, int ret, const char *host, con…
94 int sd_resolve_getaddrinfo(sd_resolve *resolve, sd_resolve_query **q, const char *node, const char …
102 int sd_resolve_getnameinfo(sd_resolve *resolve, sd_resolve_query **q, const struct sockaddr *sa, so…
104 sd_resolve_query *sd_resolve_query_ref(sd_resolve_query *q);
105 sd_resolve_query *sd_resolve_query_unref(sd_resolve_query *q);
108 int sd_resolve_query_is_done(sd_resolve_query *q);
110 void *sd_resolve_query_get_userdata(sd_resolve_query *q);
111 void *sd_resolve_query_set_userdata(sd_resolve_query *q, void *userdata);
[all …]
/systemd-251/src/libsystemd/sd-resolve/
Dsd-resolve.c63 sd_resolve_query* query_array[QUERIES_MAX];
69 sd_resolve_query *current;
74 LIST_HEAD(sd_resolve_query, queries);
77 struct sd_resolve_query { struct
101 LIST_FIELDS(sd_resolve_query, queries); argument
161 static int getaddrinfo_done(sd_resolve_query* q);
162 static int getnameinfo_done(sd_resolve_query *q);
164 static void resolve_query_disconnect(sd_resolve_query *q);
169 static void query_assign_errno(sd_resolve_query *q, int ret, int error, int h_error) { in query_assign_errno()
562 sd_resolve_query *q; in resolve_free()
[all …]
Dresolve-private.h7 sd_resolve *resolve, sd_resolve_query **q,
12 sd_resolve *resolve, sd_resolve_query **q,
19 … int (*_callback_)(sd_resolve_query*, int, const struct addrinfo*, typeof(userdata)) = callback; \
31 …int (*_callback_)(sd_resolve_query*, int, const char*, const char*, typeof(userdata)) = callback; \
Dtest-resolve.c20 static int getaddrinfo_handler(sd_resolve_query *q, int ret, const struct addrinfo *ai, void *userd… in getaddrinfo_handler()
42 static int getnameinfo_handler(sd_resolve_query *q, int ret, const char *host, const char *serv, vo… in getnameinfo_handler()
55 _cleanup_(sd_resolve_query_unrefp) sd_resolve_query *q1 = NULL, *q2 = NULL; in main()
/systemd-251/src/network/netdev/
Dwireguard.h41 sd_resolve_query *resolve_query;
Dwireguard.c330 sd_resolve_query *q, in wireguard_peer_resolve_handler()
/systemd-251/src/timesync/
Dtimesyncd-manager.h58 sd_resolve_query *resolve_query;
Dtimesyncd-manager.c737 static int manager_resolve_handler(sd_resolve_query *q, int ret, const struct addrinfo *ai, Manager… in manager_resolve_handler()
/systemd-251/src/socket-proxy/
Dsocket-proxyd.c57 sd_resolve_query *resolve_query;
397 static int resolve_handler(sd_resolve_query *q, int ret, const struct addrinfo *ai, Connection *c) { in resolve_handler()