Searched refs:afd (Results 1 - 18 of 18) sorted by relevance

/macosx-10.10.1/rsync-45/rsync/lib/
H A Dgetaddrinfo.c83 static struct afd { struct
115 static int get_name (const char *, struct afd *,
154 struct afd *afd,
160 ((afd)->a_socklen)))
165 memset((*to_ai)->ai_addr, 0, (afd)->a_socklen);
166 (*to_ai)->ai_addrlen = (afd)->a_socklen;
168 (*to_ai)->ai_addr->sa_len = (afd)->a_socklen;
170 (*to_ai)->ai_addr->sa_family = (*to_ai)->ai_family = (afd)->a_af;
173 memcpy(p + (afd)
152 get_ai(struct addrinfo ** to_ai, struct addrinfo const * pai, struct afd *afd, const char *addr, short port) argument
367 struct afd *afd; local
530 struct afd *afd; local
[all...]
H A Dgetnameinfo.c45 static struct afd { struct
85 struct afd *afd; local
108 afd = &afdl[i];
114 if (salen != (size_t)afd->a_socklen)
118 addr = (char *)sa + afd->a_off;
154 if (!inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)))
160 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error);
162 hp = gethostbyaddr(addr, afd
[all...]
/macosx-10.10.1/bind9-45.101/bind9/contrib/queryperf/missing/
H A Dgetaddrinfo.c66 static struct afd { struct
98 static int get_name(const char *, struct afd *,
141 #define GET_AI(ai, afd, addr, port) {\
144 ((afd)->a_socklen)))\
151 memset((ai)->ai_addr, 0, (afd)->a_socklen);\
152 SET_AILEN((ai), (afd)->a_socklen);\
153 (ai)->ai_addr->sa_family = (ai)->ai_family = (afd)->a_af;\
156 memcpy(p + (afd)->a_off, (addr), (afd)->a_addrlen);\
335 struct afd *af local
548 struct afd *afd; local
[all...]
H A Dgetnameinfo.c54 static struct afd { struct
93 struct afd *afd; local
117 afd = &afdl[i];
123 if (len != afd->a_socklen) return ENI_SALEN;
126 addr = (char *)sa + afd->a_off;
185 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
193 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error);
195 hp = gethostbyaddr(addr, afd
[all...]
/macosx-10.10.1/libpcap-48/libpcap/Win32/Src/
H A Dgetaddrinfo.c129 static const struct afd { struct
193 static int get_name __P((const char *, const struct afd *, struct addrinfo **,
198 const struct afd *, const char *));
201 static const struct afd *find_afd __P((int));
223 #define GET_AI(ai, afd, addr) \
226 (ai) = get_ai(pai, (afd), (addr)); \
312 const struct afd *afd; local
456 for (afd = afdl; afd
536 const struct afd *afd; local
701 const struct afd *afd; local
763 const struct afd *afd; local
1117 const struct afd *afd; local
[all...]
/macosx-10.10.1/lukemftp-14/tnftp/libnetbsd/
H A Dgetaddrinfo.c93 static const struct afd { struct
160 const struct afd *, const char *);
163 static const struct afd *find_afd(int);
189 #define GET_AI(ai, afd, addr) \
192 (ai) = get_ai(pai, (afd), (addr)); \
277 const struct afd *afd; local
432 for (afd = afdl; afd->a_af; afd
509 const struct afd *afd; local
701 const struct afd *afd; local
758 const struct afd *afd; local
909 get_ai(const struct addrinfo *pai, const struct afd *afd, const char *addr) argument
1020 const struct afd *afd; local
[all...]
H A Dgetnameinfo.c54 static struct afd { struct
93 struct afd *afd; local
114 afd = &afdl[i];
120 if (salen != afd->a_socklen)
125 addr = (const char *)sa + afd->a_off;
203 switch(afd->a_af) {
216 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
226 hp = gethostbyaddr(addr, afd->a_addrlen, afd
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/socket/
H A Dgetaddrinfo.c111 static const struct afd { struct
142 static int get_name __P((const char *, const struct afd *,
177 #define GET_AI(ai, afd, addr, port) {\
180 ((afd)->a_socklen)))\
187 memset((ai)->ai_addr, 0, (afd)->a_socklen);\
188 SET_SA_LEN((ai)->ai_addr, (ai)->ai_addrlen = (afd)->a_socklen);\
189 (ai)->ai_addr->sa_family = (ai)->ai_family = (afd)->a_af;\
192 memcpy(p + (afd)->a_off, (addr), (afd)->a_addrlen);\
419 const struct afd *af local
532 get_name(const char *addr, const struct afd *afd, struct addrinfo **res, char *numaddr, struct addrinfo *pai, int port0) argument
578 const struct afd *afd; local
[all...]
H A Dgetnameinfo.c88 static struct afd { struct
138 struct afd *afd; local
160 afd = &afdl[i];
166 if (len != afd->a_socklen) return ENI_SALEN;
169 addr = (char *)sa + afd->a_off;
216 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
224 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error);
226 hp = gethostbyaddr(addr, afd
[all...]
/macosx-10.10.1/tcpdump-61/tcpdump/missing/
H A Dgetnameinfo.c70 static struct afd { struct
109 struct afd *afd; local
131 afd = &afdl[i];
137 if (salen != afd->a_socklen)
141 addr = (char *)sa + afd->a_off;
216 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
223 if (afd->a_af == AF_INET6 &&
244 hp = getipnodebyaddr(addr, afd->a_addrlen, afd
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/snack/snack/unix/
H A DjkAudIO_oss.c81 A->afd = open(device, O_WRONLY|O_NONBLOCK);
82 if(A->afd == -1) {
86 close(A->afd);
91 if ((A->afd = open(device, O_RDONLY, 0)) == -1) {
99 if ((A->afd = open(device, O_WRONLY, 0)) == -1) {
107 fcntl(A->afd, F_SETFD, FD_CLOEXEC);
109 /* if (ioctl(A->afd, SNDCTL_DSP_SETFRAGMENT, &frag)) return(-1);*/
111 if (ioctl(A->afd, SNDCTL_DSP_GETFMTS, &mask) == -1) {
112 close(A->afd);
177 if (ioctl(A->afd, SNDCTL_DSP_SETFM
404 int afd, format, channels, nchannels; local
548 int afd, mask; local
568 int afd, freq, pos= 0, i; local
[all...]
H A DjkAudIO_sun.c59 if ((A->afd = open(audioDev, O_RDONLY, 0)) < 0) {
67 if ((A->afd = open(audioDev, O_WRONLY, 0)) < 0) {
72 fcntl(A->afd, F_SETFL, O_NONBLOCK);
76 fcntl(A->afd, F_SETFD, FD_CLOEXEC);
136 if (ioctl(A->afd, AUDIO_SETINFO, &A->ainfo) < 0) {
150 close(A->afd);
167 ioctl(A->afd, AUDIO_SETINFO, &A->ainfo);
174 ioctl(A->afd, AUDIO_SETINFO, &A->ainfo);
199 ioctl(A->afd, AUDIO_SETINFO, &A->ainfo);
206 ioctl(A->afd, I_FLUS
[all...]
H A DjkAudIO_alsa.c285 int afd, format, channels, nchannels; local
385 int afd, mask; local
387 if ((afd = open(DEVICE_NAME, O_WRONLY, 0)) == -1) {
390 if (ioctl(afd, SNDCTL_DSP_GETFMTS, &mask) == -1) {
393 close(afd);
/macosx-10.10.1/bind9-45.101/bind9/lib/lwres/
H A Dgetnameinfo.c128 /*% afd structure definition */
129 static struct afd { struct
164 struct afd *afd; local
199 afd = &afdl[i];
205 if (salen != afd->a_socklen)
267 if (lwres_net_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
271 if (afd->a_af == AF_INET6 &&
315 (lwres_uint16_t)afd->a_addrlen,
329 if (lwres_net_ntop(afd
[all...]
/macosx-10.10.1/bind9-45.101/bind9/lib/irs/
H A Dgetnameinfo.c122 /*% afd structure definition */
123 static struct afd { struct
150 struct afd *afd; local
181 afd = &afdl[i];
187 if (salen != afd->a_socklen)
249 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
253 if (afd->a_af == AF_INET6 &&
396 if (inet_ntop(afd->a_af, addr, numaddr,
/macosx-10.10.1/tcl-105/tcl_ext/snack/snack/generic/
H A DjkAudIO.h121 int afd; member in struct:ADesc
139 int afd; member in struct:ADesc
/macosx-10.10.1/ruby-106/ruby/
H A Dio.c167 rb_atomic_t afd = (rb_atomic_t)fd; local
173 while (max_file_descriptor < afd) {
174 ATOMIC_CAS(max_file_descriptor, max_file_descriptor, afd);
/macosx-10.10.1/emacs-93/emacs/leim/CXTERM-DIC/
H A DARRAY30.tit6700 .afd �� # ---> 9v1-4-3- 0

Completed in 406 milliseconds