/freebsd-11-stable/contrib/blacklist/test/ |
H A D | srvtest.c | 62 process_tcp(int afd) argument 69 if ((n = read(afd, buffer, sizeof(buffer))) == -1) 72 printf("%s: sending %d %s\n", getprogname(), afd, buffer); 74 blacklist_r(b, 1, afd, buffer); 76 blacklist(1, afd, buffer); 82 process_udp(int afd) argument 93 if ((n = recvfrom(afd, buffer, sizeof(buffer), 0, (void *)&ss, 97 printf("%s: sending %d %s\n", getprogname(), afd, buffer); 98 blacklist_sa(1, afd, (void *)&ss, slen, buffer); 142 int afd; local [all...] |
/freebsd-11-stable/lib/libc/net/ |
H A D | getnameinfo.c | 66 static const struct afd *find_afd(int); 67 static int getnameinfo_inet(const struct afd *, 75 static int getnameinfo_link(const struct afd *, 79 static int getnameinfo_un(const struct afd *, 83 static const struct afd { struct 88 int (*a_func)(const struct afd *, 117 const struct afd *afd; local 122 afd = find_afd(sa->sa_family); 123 if (afd 155 const struct afd *afd; local 167 getnameinfo_inet(const struct afd *afd, const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument 416 getnameinfo_link(const struct afd *afd, const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument 512 getnameinfo_un(const struct afd *afd, const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument [all...] |
H A D | getaddrinfo.c | 124 static const struct afd { struct 264 const struct afd *, const char *); 268 static const struct afd *find_afd(int); 318 #define GET_AI(ai, afd, addr) \ 321 (ai) = get_ai(pai, (afd), (addr)); \ 398 const struct afd *afd; local 524 for (afd = afdl; afd->a_af; afd 1196 const struct afd *afd; local 1245 const struct afd *afd; local 1407 get_ai(const struct addrinfo *pai, const struct afd *afd, const char *addr) argument 1586 const struct afd *afd; local 1984 const struct afd *afd; local [all...] |
/freebsd-11-stable/contrib/openbsm/libbsm/ |
H A D | bsm_wrappers.c | 67 int error, afd, subj_ex; local 87 afd = au_open(); 88 if (afd < 0) { 146 (void) au_close(afd, AU_TO_NO_WRITE, au_event); 150 if (au_write(afd, token) < 0) { 154 (void) au_close(afd, AU_TO_NO_WRITE, au_event); 166 (void) au_close(afd, AU_TO_NO_WRITE, au_event); 170 if (au_write(afd, token) < 0) { 174 (void) au_close(afd, AU_TO_NO_WRITE, au_event); 183 (void) au_close(afd, AU_TO_NO_WRIT [all...] |
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | collect.c | 299 int afd; local 773 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0) 780 else if (fsync(afd) < 0)
|
H A D | conf.c | 2009 static int afd = -1; local 2016 if (afd == -1 || lseek(afd, 0L, SEEK_SET) == -1) 2020 afd = open(_PATH_AVENRUN, O_RDONLY|O_SYNC); 2021 if (afd < 0) 2030 r = read(afd, &avenrun, sizeof(avenrun));
|
H A D | milter.c | 1749 int afd; local 1765 else if ((afd = sm_io_getinfo(e->e_dfp, SM_IO_WHAT_FD, NULL)) >= 0 1766 && fsync(afd) < 0)
|
H A D | srvrsmtp.c | 3996 int afd; local 4027 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0) 4034 else if (fsync(afd) < 0)
|