| /freebsd/contrib/blocklist/test/ |
| H A D | srvtest.c | 64 process_tcp(int afd) in process_tcp() argument 71 if ((n = read(afd, buffer, sizeof(buffer))) == -1) in process_tcp() 74 printf("%s: sending %d %s\n", getprogname(), afd, buffer); in process_tcp() 76 blocklist_r(b, 1, afd, buffer); in process_tcp() 78 blocklist(1, afd, buffer); in process_tcp() 84 process_udp(int afd) in process_udp() argument 95 if ((n = recvfrom(afd, buffer, sizeof(buffer), 0, (void *)&ss, in process_udp() 99 printf("%s: sending %d %s\n", getprogname(), afd, buffer); in process_udp() 100 blocklist_sa(1, afd, (void *)&ss, slen, buffer); in process_udp() 144 int afd; in handle() local [all …]
|
| /freebsd/lib/libc/net/ |
| H A D | getaddrinfo.c | 123 static const struct afd { struct 263 const struct afd *, const char *); 267 static const struct afd *find_afd(int); 317 #define GET_AI(ai, afd, addr) \ argument 320 (ai) = get_ai(pai, (afd), (addr)); \ 397 const struct afd *afd; in getaddrinfo() local 523 for (afd = afdl; afd->a_af; afd++) { in getaddrinfo() 526 if (!MATCH_FAMILY(pai->ai_family, afd->a_af, 1)) in getaddrinfo() 530 pai->ai_family = afd->a_af; in getaddrinfo() 534 &afailist[afd - afdl]); in getaddrinfo() [all …]
|
| /freebsd/crypto/openssl/test/ |
| H A D | bio_tfo_test.c | 208 int afd = -1; /* accept socket */ in test_fd_tfo() local 268 if (!TEST_int_ge(afd = BIO_socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol, 0), 0) in test_fd_tfo() 269 || !TEST_true(BIO_listen(afd, baddr, server_flags))) in test_fd_tfo() 274 if (!TEST_int_ge(getsockname(afd, (struct sockaddr *)&sstorage, &slen), 0)) in test_fd_tfo() 300 sfd = BIO_accept_ex(afd, NULL, 0); in test_fd_tfo() 329 if (!TEST_int_ge(BIO_socket_wait(afd, 1, time(NULL) + 2), 0)) { in test_fd_tfo() 336 sfd = BIO_accept_ex(afd, NULL, 0); in test_fd_tfo() 372 if (!TEST_int_ge(BIO_socket_wait(afd, 1, time(NULL) + 2), 0)) { in test_fd_tfo() 379 sfd = BIO_accept_ex(afd, NULL, 0); in test_fd_tfo() 409 BIO_closesocket(afd); in test_fd_tfo()
|
| /freebsd/contrib/openbsm/libbsm/ |
| H A D | bsm_wrappers.c | 73 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() 172 (void) au_close(afd, AU_TO_NO_WRITE, au_event); in audit_submit() 176 if (au_write(afd, token) < 0) { in audit_submit() 180 (void) au_close(afd, AU_TO_NO_WRITE, au_event); in audit_submit() 189 (void) au_close(afd, AU_TO_NO_WRITE, au_event); in audit_submit() [all …]
|
| /freebsd/tests/sys/cddl/zfs/bin/ |
| H A D | mktree.c | 151 int afd = -1; in crtfile() local 179 if ((afd = openat(fd, "xattr", O_CREAT | O_RDWR | O_XATTR, 0777)) < 0) { in crtfile() 184 if (write(afd, pbuf, 1024) < 1024) { in crtfile() 190 (void) close(afd); in crtfile()
|
| /freebsd/crypto/openssl/test/helpers/ |
| H A D | ssltestlib.c | 1051 int afd = -1, cfd = -1, sfd = -1; in create_test_sockets() local 1057 afd = BIO_socket(AF_INET, socktype, in create_test_sockets() 1059 if (afd == INVALID_SOCKET) in create_test_sockets() 1062 if (bind(afd, (struct sockaddr *)&sin, sizeof(sin)) < 0) in create_test_sockets() 1065 if (getsockname(afd, (struct sockaddr *)&sin, &slen) < 0) in create_test_sockets() 1073 if (socktype == SOCK_STREAM && listen(afd, 1) < 0) in create_test_sockets() 1081 if (!BIO_socket_nbio(afd, 1)) in create_test_sockets() 1090 sfd = afd; in create_test_sockets() 1091 afd = -1; in create_test_sockets() 1095 sfd = accept(afd, NULL, 0); in create_test_sockets() [all …]
|
| /freebsd/contrib/sendmail/src/ |
| H A D | collect.c | 371 int afd; local 894 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0) 901 else if (fsync(afd) < 0)
|
| H A D | conf.c | 2013 static int afd = -1; in getla() local 2020 if (afd == -1 || lseek(afd, 0L, SEEK_SET) == -1) in getla() 2024 afd = open(_PATH_AVENRUN, O_RDONLY|O_SYNC); in getla() 2025 if (afd < 0) in getla() 2034 r = read(afd, &avenrun, sizeof(avenrun)); in getla()
|
| H A D | milter.c | 1750 int afd; local 1766 else if ((afd = sm_io_getinfo(e->e_dfp, SM_IO_WHAT_FD, NULL)) >= 0 1767 && fsync(afd) < 0)
|
| H A D | srvrsmtp.c | 4282 int afd; local 4313 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0) 4320 else if (fsync(afd) < 0)
|
| /freebsd/contrib/arm-optimized-routines/math/test/testcases/directed/ |
| H A D | log10f.tst | 50 func=log10f op1=3f832a20 result=3c2dc6e9.afd error=0
|
| /freebsd/share/vt/fonts/ |
| H A D | gallant.hex | 4300 2afd:0000000000000cc00cc00cc00cc00cc019801980198019803300330033003300330000000000000000000000
|
| /freebsd/share/misc/ |
| H A D | usb_vendors | 13392 0afd Tateno Dennou, Inc.
|
| H A D | pci_vendors | 38599 7afd Alder Lake-S PCH Serial IO I2C Controller #5
|
| /freebsd/contrib/ntp/ |
| H A D | CommitLog | [all...] |