/bind-9.11.3/lib/isc/include/isc/ |
H A D | sockaddr.h | 25 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 D | lwaddr.c | 46 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 D | lwdgnba.c | 201 isc_sockaddr_t sa; local 229 isc_sockaddr_fromnetaddr(&sa, &client->na, 53);
|
H A D | lwdgabn.c | 66 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 D | signals.cpp | 105 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 D | signals_test.cpp | 65 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 D | timers.cpp | 104 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 D | os.c | 49 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 D | ifiter_sysctl.c | 192 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 D | app.c | 184 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 D | getnameinfo.c | 53 * 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 D | context.c | 292 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 D | sample-request.c | 147 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 D | sample-async.c | 268 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 D | resolve.c | 182 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 D | forward.c | 130 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 D | byaddr_test.c | 194 isc_sockaddr_t sa; local 199 isc_sockaddr_fromin(&sa, &ina, 53); 200 ISC_LIST_APPEND(sal, &sa, link);
|
H A D | byname_test.c | 311 isc_sockaddr_t sa; local 316 isc_sockaddr_fromin(&sa, &ina, 53); 317 ISC_LIST_APPEND(sal, &sa, link);
|
H A D | sig0_test.c | 132 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 D | getnameinfo.c | 41 * 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 D | sockaddr.c | 54 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 D | dlz_minimal.h | 103 struct sockaddr sa; member in union:isc_sockaddr::__anon48
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/runidn/ |
H A D | stub.c | 373 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 D | lwtest.c | 542 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 D | t_api.c | 130 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...] |