/dports/net/minidlna/minidlna-4f6a473/ |
H A D | sendfile.h | 22 int sys_sendfile(int sock, int sendfd, off_t *offset, off_t len) in sys_sendfile() argument 24 return sendfile(sock, sendfd, offset, len); in sys_sendfile() 33 int sys_sendfile(int sock, int sendfd, off_t *offset, off_t len) in sys_sendfile() argument 37 ret = sendfile(sendfd, sock, *offset, &len, NULL, 0); in sys_sendfile() 49 int sys_sendfile(int sock, int sendfd, off_t *offset, off_t len) in sys_sendfile() argument 54 ret = sendfile(sendfd, sock, *offset, nbytes, NULL, &len, 0); in sys_sendfile() 64 int sys_sendfile(int sock, int sendfd, off_t *offset, off_t len) in sys_sendfile() argument
|
/dports/mail/postfix-current/postfix-3.7-20211107/src/util/ |
H A D | unix_send_fd.c | 48 int unix_send_fd(int fd, int sendfd) in unix_send_fd() argument 73 char control[CMSG_SPACE(sizeof(sendfd))]; in unix_send_fd() 80 msg.msg_controllen = CMSG_LEN(sizeof(sendfd)); /* Fix 200506 */ in unix_send_fd() 85 cmptr->cmsg_len = CMSG_LEN(sizeof(sendfd)); in unix_send_fd() 88 *(int *) CMSG_DATA(cmptr) = sendfd; in unix_send_fd() 90 msg.msg_accrights = (char *) &sendfd; in unix_send_fd() 91 msg.msg_accrightslen = sizeof(sendfd); in unix_send_fd() 137 return (unix_send_fd(fd, sendfd)); in unix_send_fd()
|
H A D | stream_send_fd.c | 55 int stream_send_fd(int fd, int sendfd) in stream_send_fd() argument 60 if (ioctl(fd, I_SENDFD, sendfd) < 0) in stream_send_fd() 61 msg_fatal("%s: send file descriptor %d: %m", myname, sendfd); in stream_send_fd()
|
/dports/net/libunp/unpv12e/lib/ |
H A D | write_fd.c | 5 write_fd(int fd, void *ptr, size_t nbytes, int sendfd) in write_fd() argument 24 *((int *) CMSG_DATA(cmptr)) = sendfd; in write_fd() 26 msg.msg_accrights = (caddr_t) &sendfd; in write_fd() 43 Write_fd(int fd, void *ptr, size_t nbytes, int sendfd) in Write_fd() argument 47 if ( (n = write_fd(fd, ptr, nbytes, sendfd)) < 0) in Write_fd()
|
/dports/devel/libbegemot/libbegemot-1.11/ |
H A D | frame.c | 138 int sendfd, ret, ret1; in framefd_write() local 142 sendfd = h->fd; in framefd_write() 150 h->fd = (sendfd >= 0); in framefd_write() 180 sendfd = h->fd; in framefd_write() 203 int sendfd, ret, ret1; in framefd_writev() local 207 sendfd = h->fd; in framefd_writev() 240 sendfd = h->fd; in framefd_writev() 270 int sendfd; in framefd_write() local 282 sendfd = h->fd; in framefd_write() 341 int sendfd; in framefd_writev() local [all …]
|
/dports/net/libunp/unpv12e/mcast/ |
H A D | main.c | 9 int sendfd, recvfd; in main() local 17 sendfd = Udp_client(argv[1], argv[2], (void **) &sasend, &salen); in main() 28 Mcast_set_loop(sendfd, 0); in main() 33 send_all(sendfd, sasend, salen); /* parent -> sends */ in main()
|
/dports/net/findmtu/findmtu-0.9/ |
H A D | findmtu.c | 82 int sendfd, recvfd, i; in main() local 91 sendfd = opensocket(argv[1]); in main() 92 recvfd = recv_init(sendfd); in main() 93 filter = getfilter(sendfd); in main() 101 send_packet(sendfd, currentmtu); in main()
|
H A D | findmtu-linux.c | 7 int recv_init(int sendfd) { in recv_init() argument 11 if (setsockopt(sendfd, SOL_IPV6, IPV6_MTU_DISCOVER, &on, sizeof(on))) { in recv_init() 17 if (setsockopt(sendfd, SOL_IPV6, IPV6_RECVERR, &on, sizeof(on))) { in recv_init() 22 return sendfd; in recv_init()
|
/dports/net-im/libpurple/pidgin-2.14.8/libpurple/ |
H A D | nat-pmp.c | 281 int sendfd; in purple_pmp_get_public_ip() local 311 sendfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in purple_pmp_get_public_ip() 332 …if (sendto(sendfd, &req, sizeof(req), 0, (struct sockaddr *)(gateway), sizeof(struct sockaddr)) < … in purple_pmp_get_public_ip() 340 if (setsockopt(sendfd, SOL_SOCKET, SO_RCVTIMEO, &req_timeout, sizeof(req_timeout)) < 0) in purple_pmp_get_public_ip() 350 if (recvfrom(sendfd, &resp, sizeof(PurplePmpIpResponse), 0, (struct sockaddr *)(&addr), &len) < 0) in purple_pmp_get_public_ip() 406 int sendfd; in purple_pmp_create_map() local 428 sendfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in purple_pmp_create_map() 452 …success = (sendto(sendfd, &req, sizeof(req), 0, (struct sockaddr *)(gateway), sizeof(struct sockad… in purple_pmp_create_map() 458 success = (setsockopt(sendfd, SOL_SOCKET, SO_RCVTIMEO, &req_timeout, sizeof(req_timeout)) >= 0); in purple_pmp_create_map() 467 success = ((recvfrom(sendfd, resp, sizeof(PurplePmpMapResponse), 0, NULL, NULL) >= 0) || in purple_pmp_create_map()
|
/dports/net-im/pidgin/pidgin-2.14.8/libpurple/ |
H A D | nat-pmp.c | 281 int sendfd; in purple_pmp_get_public_ip() local 311 sendfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in purple_pmp_get_public_ip() 332 …if (sendto(sendfd, &req, sizeof(req), 0, (struct sockaddr *)(gateway), sizeof(struct sockaddr)) < … in purple_pmp_get_public_ip() 340 if (setsockopt(sendfd, SOL_SOCKET, SO_RCVTIMEO, &req_timeout, sizeof(req_timeout)) < 0) in purple_pmp_get_public_ip() 350 if (recvfrom(sendfd, &resp, sizeof(PurplePmpIpResponse), 0, (struct sockaddr *)(&addr), &len) < 0) in purple_pmp_get_public_ip() 406 int sendfd; in purple_pmp_create_map() local 428 sendfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in purple_pmp_create_map() 452 …success = (sendto(sendfd, &req, sizeof(req), 0, (struct sockaddr *)(gateway), sizeof(struct sockad… in purple_pmp_create_map() 458 success = (setsockopt(sendfd, SOL_SOCKET, SO_RCVTIMEO, &req_timeout, sizeof(req_timeout)) >= 0); in purple_pmp_create_map() 467 success = ((recvfrom(sendfd, resp, sizeof(PurplePmpMapResponse), 0, NULL, NULL) >= 0) || in purple_pmp_create_map()
|
/dports/net-im/finch/pidgin-2.14.8/libpurple/ |
H A D | nat-pmp.c | 281 int sendfd; in purple_pmp_get_public_ip() local 311 sendfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in purple_pmp_get_public_ip() 332 …if (sendto(sendfd, &req, sizeof(req), 0, (struct sockaddr *)(gateway), sizeof(struct sockaddr)) < … in purple_pmp_get_public_ip() 340 if (setsockopt(sendfd, SOL_SOCKET, SO_RCVTIMEO, &req_timeout, sizeof(req_timeout)) < 0) in purple_pmp_get_public_ip() 350 if (recvfrom(sendfd, &resp, sizeof(PurplePmpIpResponse), 0, (struct sockaddr *)(&addr), &len) < 0) in purple_pmp_get_public_ip() 406 int sendfd; in purple_pmp_create_map() local 428 sendfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in purple_pmp_create_map() 452 …success = (sendto(sendfd, &req, sizeof(req), 0, (struct sockaddr *)(gateway), sizeof(struct sockad… in purple_pmp_create_map() 458 success = (setsockopt(sendfd, SOL_SOCKET, SO_RCVTIMEO, &req_timeout, sizeof(req_timeout)) >= 0); in purple_pmp_create_map() 467 success = ((recvfrom(sendfd, resp, sizeof(PurplePmpMapResponse), 0, NULL, NULL) >= 0) || in purple_pmp_create_map()
|
/dports/net/libunp/unpv12e/traceroute/ |
H A D | traceloop.c | 14 sendfd = Socket(pr->sasend->sa_family, SOCK_DGRAM, 0); in traceloop() 19 Bind(sendfd, pr->sabind, pr->salen); in traceloop() 26 Setsockopt(sendfd, pr->ttllevel, pr->ttloptname, &ttl, sizeof(int)); in traceloop() 39 Sendto(sendfd, sendbuf, datalen, 0, pr->sasend, pr->salen); in traceloop()
|
/dports/devel/p5-PPerl/PPerl-0.25/ |
H A D | pass_fd.c | 104 send_fd(int over, int sendfd) in send_fd() argument 113 msg.msg_controllen = CMSG_LEN(sizeof(sendfd)); in send_fd() 116 cmptr->cmsg_len = CMSG_LEN(sizeof(sendfd)); in send_fd() 119 *(int *) CMSG_DATA(cmptr) = sendfd; in send_fd()
|
/dports/security/kleopatra/kleopatra-21.12.3/tests/gpg-connect-agent-scripts/ |
H A D | gpgol-verify_detached-openpgp-invalid-unix | 2 /sendfd test.data r 4 /sendfd test.data.sig-invalid r
|
H A D | gpgol-verify_detached-cms-unix | 2 /sendfd test.data r 4 /sendfd test.data-detached-signature.pem r
|
H A D | gpgol-verify_detached-openpgp-good-known-unix | 2 /sendfd test.data r 4 /sendfd test.data.sig-good-known r
|
H A D | gpgol-verify_detached-openpgp-good-unknown-unix | 2 /sendfd test.data r 4 /sendfd test.data.sig-good-unknown r
|
H A D | gpgol-sign_detached-no_sender-openpgp-unix | 2 /sendfd test.data r 4 /sendfd test.data.gpgol-sign_detached-openpgp.asc w
|
H A D | gpgol-decrypt-cms-unix | 2 /sendfd test.data.pem r 4 /sendfd test.data.gpgol-decrypt-cms.out w
|
H A D | gpgol-decrypt-openpgp-unix | 2 /sendfd test.data.gpg r 4 /sendfd test.data.gpgol-decrypt-openpgp.out w
|
H A D | gpgol-sign_detached-no_sender-cms-unix | 2 /sendfd test.data r 4 /sendfd test.data.gpgol-sign_detached-cms.pem w
|
H A D | gpgol-verify_detached-openpgp-unix | 2 /sendfd test.data r 4 /sendfd test.data.sig r
|
H A D | gpgol-verify_opaque-cms-unix | 2 /sendfd test.data.signed-opaque.p7s r 4 /sendfd result-gpgol-verify_opaque-cms-unix w
|
H A D | gpgol-verify_opaque-openpgp-unix | 2 /sendfd test.data.signed-opaque.asc r 4 /sendfd result-gpgol-verify_opaque-openpgp-unix w
|
H A D | gpgol-encrypt-prep_encrypt-unix | 4 /sendfd test.data r 6 /sendfd test.data.gpgol-encrypt-openpgp.asc w
|