Home
last modified time | relevance | path

Searched refs:afd (Results 1 – 11 of 11) sorted by relevance

/freebsd-12.1/lib/libc/net/
H A Dgetnameinfo.c119 const struct afd *afd; in getnameinfo() local
125 if (afd == NULL) in getnameinfo()
160 return ((*afd->a_func)(afd, sa, salen, host, hostlen, in getnameinfo()
167 const struct afd *afd; in find_afd() local
171 for (afd = &afdl[0]; afd->a_af > 0; afd++) { in find_afd()
173 return (afd); in find_afd()
179 getnameinfo_inet(const struct afd *afd, in getnameinfo_inet() argument
271 switch(afd->a_af) { in getnameinfo_inet()
294 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); in getnameinfo_inet()
424 getnameinfo_link(const struct afd *afd, in getnameinfo_link() argument
[all …]
H A Dgetaddrinfo.c400 const struct afd *afd; in getaddrinfo() local
526 for (afd = afdl; afd->a_af; afd++) { in getaddrinfo()
665 for (afd = afdl; afd->a_af; afd++) { in getaddrinfo()
1198 const struct afd *afd; in explore_null() local
1224 GET_AI(ai, afd, afd->a_addrany); in explore_null()
1227 GET_AI(ai, afd, afd->a_loopback); in explore_null()
1247 const struct afd *afd; in explore_numeric() local
1341 const struct afd *afd; in explore_numeric_scope()
1588 const struct afd *afd; in find_afd() local
1592 for (afd = afdl; afd->a_af; afd++) { in find_afd()
[all …]
/freebsd-12.1/contrib/blacklist/test/
H A Dsrvtest.c62 process_tcp(int afd) in process_tcp() argument
69 if ((n = read(afd, buffer, sizeof(buffer))) == -1) in process_tcp()
74 blacklist_r(b, 1, afd, buffer); in process_tcp()
76 blacklist(1, afd, buffer); in process_tcp()
82 process_udp(int afd) in process_udp() argument
98 blacklist_sa(1, afd, (void *)&ss, slen, buffer); in process_udp()
142 int afd; in handle() local
148 afd = sfd; in handle()
156 process_udp(afd); in handle()
158 process_tcp(afd); in handle()
[all …]
/freebsd-12.1/contrib/openbsm/libbsm/
H A Dbsm_wrappers.c73 int error, afd, subj_ex; in audit_submit() local
93 afd = au_open(); in audit_submit()
94 if (afd < 0) { in audit_submit()
152 (void) au_close(afd, AU_TO_NO_WRITE, au_event); in audit_submit()
156 if (au_write(afd, token) < 0) { in audit_submit()
160 (void) au_close(afd, AU_TO_NO_WRITE, au_event); in audit_submit()
176 if (au_write(afd, token) < 0) { in audit_submit()
189 (void) au_close(afd, AU_TO_NO_WRITE, au_event); in audit_submit()
193 if (au_write(afd, token) < 0) { in audit_submit()
197 (void) au_close(afd, AU_TO_NO_WRITE, au_event); in audit_submit()
[all …]
/freebsd-12.1/tests/sys/cddl/zfs/bin/
H A Dmktree.c153 int afd = -1; in crtfile() local
181 if ((afd = openat(fd, "xattr", O_CREAT | O_RDWR | O_XATTR, 0777)) < 0) { in crtfile()
186 if (write(afd, pbuf, 1024) < 1024) { in crtfile()
192 (void) close(afd); in crtfile()
/freebsd-12.1/contrib/sendmail/src/
H A Dcollect.c299 int afd; local
778 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0)
785 else if (fsync(afd) < 0)
H A Dconf.c1944 static int afd = -1; in getla() local
1951 if (afd == -1 || lseek(afd, 0L, SEEK_SET) == -1) in getla()
1955 afd = open(_PATH_AVENRUN, O_RDONLY|O_SYNC); in getla()
1956 if (afd < 0) in getla()
1965 r = read(afd, &avenrun, sizeof(avenrun)); in getla()
H A Dmilter.c1751 int afd; local
1767 else if ((afd = sm_io_getinfo(e->e_dfp, SM_IO_WHAT_FD, NULL)) >= 0
1768 && fsync(afd) < 0)
H A Dsrvrsmtp.c3852 int afd; local
3883 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0)
3890 else if (fsync(afd) < 0)
/freebsd-12.1/
H A DObsoleteFiles.inc5513 # 20110817: no more acd.4, ad.4, afd.4 and ast.4
5516 OLD_FILES+=usr/share/man/man4/afd.4.gz
/freebsd-12.1/contrib/ntp/
H A DCommitLog178565 use one receive per socket to avoid Win2000 afd.sys bugcheck 0x76
178568 use one receive per socket to avoid Win2000 afd.sys bugcheck 0x76
178572 use one receive per socket to avoid Win2000 afd.sys bugcheck 0x76
178575 use one receive per socket to avoid Win2000 afd.sys bugcheck 0x76