Searched defs:sa (Results 1 - 25 of 41) sorted by relevance

12

/bind-9.11.3/lib/isc/include/isc/
H A Dsockaddr.h25 struct sockaddr sa; member in union:isc_sockaddr::__anon249
181 isc_sockaddr_format(const isc_sockaddr_t *sa, char *array, unsigned int size);
183 * Format a human-readable representation of the socket address '*sa'
189 isc_sockaddr_ismulticast(const isc_sockaddr_t *sa);
195 isc_sockaddr_isexperimental(const isc_sockaddr_t *sa);
201 isc_sockaddr_islinklocal(const isc_sockaddr_t *sa);
207 isc_sockaddr_issitelocal(const isc_sockaddr_t *sa);
213 isc_sockaddr_isnetzero(const isc_sockaddr_t *sa);
/bind-9.11.3/bin/named/
H A Dlwaddr.c46 lwaddr_sockaddr_fromlwresaddr(isc_sockaddr_t *sa, lwres_addr_t *la, argument
55 isc_sockaddr_fromnetaddr(sa, &na, port);
81 lwaddr_lwresaddr_fromsockaddr(lwres_addr_t *la, isc_sockaddr_t *sa) { argument
83 isc_netaddr_fromsockaddr(&na, sa);
H A Dlwdgnba.c201 isc_sockaddr_t sa; local
229 isc_sockaddr_fromnetaddr(&sa, &client->na, 53);
H A Dlwdgabn.c66 const struct sockaddr *sa; local
76 sa = &ai->sockaddr.type.sa;
77 if (sa->sa_family != af)
/bind-9.11.3/unit/atf-src/tools/
H A Dsignals.cpp105 struct ::sigaction sa; local
107 sa.sa_handler = m_handler;
108 sigemptyset(&sa.sa_mask);
109 sa.sa_flags = 0;
111 if (::sigaction(m_signo, &sa, &m_oldsa) == -1)
139 struct ::sigaction sa; local
141 sa.sa_handler = SIG_DFL;
142 sigemptyset(&sa.sa_mask);
143 sa.sa_flags = 0;
145 (void)::sigaction(signo, &sa, NUL
[all...]
H A Dsignals_test.cpp65 struct sigaction sa; local
66 sa.sa_handler = handler;
67 sigemptyset(&sa.sa_mask);
68 sa.sa_flags = 0;
69 if (::sigaction(SIGUSR1, &sa, NULL) == -1)
H A Dtimers.cpp104 struct ::sigaction sa; local
105 sigemptyset(&sa.sa_mask);
106 sa.sa_flags = SA_SIGINFO;
107 sa.sa_sigaction = ::handler;
108 if (::sigaction(SIGALRM, &sa, &m_pimpl->m_old_sa) == -1)
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Dos.c49 struct sigaction sa; local
51 memset(&sa, 0, sizeof(sa));
52 sa.sa_handler = handler;
54 if (sigfillset(&sa.sa_mask) < 0 ||
55 sigaction(sig, &sa, NULL) < 0)
/bind-9.11.3/lib/isc/unix/
H A Difiter_sysctl.c192 struct sockaddr *sa = (struct sockaddr *)(ifam + 1); local
193 family = sa->sa_family;
200 INSIST(sa < (struct sockaddr *) ifam_end);
204 mask_sa = sa;
207 addr_sa = sa;
210 dst_sa = sa;
214 sa = (struct sockaddr *)((char*)(sa)
215 + ROUNDUP(sa->sa_len));
221 sa
[all...]
H A Dapp.c184 struct sigaction sa; local
187 memset(&sa, 0, sizeof(sa));
188 sa.sa_handler = handler;
190 if (sigfillset(&sa.sa_mask) != 0 ||
191 sigaction(sig, &sa, NULL) < 0) {
/bind-9.11.3/lib/lwres/
H A Dgetnameinfo.c53 * sockaddr sa which is salen bytes long. The hostname is of length
57 * The name of the service associated with the port number in sa is
152 lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, argument
178 if (sa == NULL)
182 len = sa->sa_len;
187 family = sa->sa_family;
201 port = ((const struct sockaddr_in *)sa)->sin_port;
202 addr = &((const struct sockaddr_in *)sa)->sin_addr.s_addr;
206 port = ((const struct sockaddr_in6 *)sa)->sin6_port;
207 addr = ((const struct sockaddr_in6 *)sa)
[all...]
H A Dcontext.c292 struct sockaddr *sa; local
316 sa = (struct sockaddr *)&sin;
324 sa = (struct sockaddr *)&sin6;
345 ret = connect(s, sa, salen);
403 struct sockaddr *sa; local
407 sa = (struct sockaddr *)&sin;
410 sa = (struct sockaddr *)&sin6;
420 ret = recvfrom(ctx->sock, recvbase, recvlen, 0, sa, (void *)&fromlen);
/bind-9.11.3/lib/samples/
H A Dsample-request.c147 isc_sockaddr_t sa; local
222 INSIST(res->ai_addrlen <= sizeof(sa.type));
223 memmove(&sa.type, res->ai_addr, res->ai_addrlen);
225 sa.length = (unsigned int)res->ai_addrlen;
226 ISC_LINK_INIT(&sa, link);
236 result = dns_client_request(client, qmessage, rmessage, &sa, 0, 0,
H A Dsample-async.c268 isc_sockaddr_t sa[MAX_SERVERS]; local
354 isc_sockaddr_fromin(&sa[i], &inaddr, 53);
355 ISC_LIST_APPEND(servers, &sa[i], link);
H A Dresolve.c182 isc_sockaddr_t sa; local
201 INSIST(res->ai_addrlen <= sizeof(sa.type));
202 memmove(&sa.type, res->ai_addr, res->ai_addrlen);
203 sa.length = (unsigned int)res->ai_addrlen;
205 ISC_LINK_INIT(&sa, link);
207 ISC_LIST_APPEND(servers, &sa, link);
/bind-9.11.3/lib/dns/
H A Dforward.c130 isc_sockaddr_t *sa; local
139 for (sa = ISC_LIST_HEAD(*addrs);
140 sa != NULL;
141 sa = ISC_LIST_NEXT(sa, link))
148 fwd->addr = *sa;
/bind-9.11.3/bin/tests/
H A Dbyaddr_test.c194 isc_sockaddr_t sa; local
199 isc_sockaddr_fromin(&sa, &ina, 53);
200 ISC_LIST_APPEND(sal, &sa, link);
H A Dbyname_test.c311 isc_sockaddr_t sa; local
316 isc_sockaddr_fromin(&sa, &ina, 53);
317 ISC_LIST_APPEND(sal, &sa, link);
H A Dsig0_test.c132 isc_sockaddr_t sa; local
181 isc_sockaddr_any(&sa);
182 result = isc_socket_bind(s, &sa, 0);
/bind-9.11.3/lib/irs/
H A Dgetnameinfo.c41 * getnameinfo() returns the hostname for the struct sockaddr sa which is
45 * The name of the service associated with the port number in sa is
137 getnameinfo(const struct sockaddr *sa, IRS_GETNAMEINFO_SOCKLEN_T salen, argument
161 if (sa == NULL)
165 len = sa->sa_len;
170 family = sa->sa_family;
184 port = ((const struct sockaddr_in *)sa)->sin_port;
185 addr = &((const struct sockaddr_in *)sa)->sin_addr.s_addr;
189 port = ((const struct sockaddr_in6 *)sa)->sin6_port;
190 addr = ((const struct sockaddr_in6 *)sa)
[all...]
/bind-9.11.3/lib/isc/
H A Dsockaddr.c54 if (a->type.sa.sa_family != b->type.sa.sa_family)
56 switch (a->type.sa.sa_family) {
119 switch (sockaddr->type.sa.sa_family) {
172 isc_sockaddr_format(const isc_sockaddr_t *sa, char *array, unsigned int size) { argument
180 result = isc_sockaddr_totext(sa, &buf);
189 sa->type.sa.sa_family);
204 switch (sockaddr->type.sa.sa_family) {
226 (int)sockaddr->type.sa
[all...]
/bind-9.11.3/contrib/dlz/modules/include/
H A Ddlz_minimal.h103 struct sockaddr sa; member in union:isc_sockaddr::__anon48
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.c373 idn_stub_getnameinfo(const struct sockaddr *sa, GNI_SALEN_T salen, argument
376 static int (*fp)(const struct sockaddr *sa, GNI_SALEN_T salen,
384 return ((*fp)(sa, salen, host, hostlen, serv, servlen, flags));
/bind-9.11.3/bin/tests/system/lwresd/
H A Dlwtest.c542 struct sockaddr *sa; local
554 sa = (struct sockaddr *) &sin;
564 sa = (struct sockaddr *) &sin6;
567 sa->sa_family = af;
569 ret = getnameinfo(sa, salen, host, sizeof(host), NULL, 0, NI_NAMEREQD);
/bind-9.11.3/lib/tests/
H A Dt_api.c130 struct sigaction sa; local
256 sa.sa_flags = 0;
257 sigfillset(&sa.sa_mask);
259 sa.sa_handler = t_sighandler;
260 (void)sigaction(SIGINT, &sa, NULL);
261 (void)sigaction(SIGALRM, &sa, NULL);
301 sa.sa_handler = t_sighandler;
302 (void)sigaction(SIGALRM, &sa, NULL);
334 sa.sa_handler = SIG_IGN;
335 (void)sigaction(SIGALRM, &sa, NUL
[all...]

Completed in 55 milliseconds

12