Searched refs:recvfrom (Results 76 - 100 of 104) sorted by relevance

12345

/freebsd-11-stable/sbin/natd/
H A Dnatd.c527 origBytes = recvfrom (fd,
666 origBytes = recvfrom (fd,
/freebsd-11-stable/contrib/ntp/ntpdate/
H A Dntpdate.c1978 * either recvfrom or ReadFile() has to be used here.
1980 * just to be different use recvfrom() here
1982 recvfrom(fdc, buf, sizeof(buf), 0, (struct sockaddr *)0, NULL);
1990 rb->recv_length = recvfrom(fdc, (char *)&rb->recv_pkt,
/freebsd-11-stable/lib/libradius/
H A Dradlib.c678 h->in_len = recvfrom(h->fd, h->in,
681 generr(h, "recvfrom: %s", strerror(errno));
789 h->in_len = recvfrom(h->fd, h->in,
792 generr(h, "recvfrom: %s", strerror(errno));
/freebsd-11-stable/contrib/gcclibs/libmudflap/
H A Dmf-hooks2.c1335 WRAPPER2(int, recvfrom, int s, void *buf, size_t len, int flags,
1339 MF_VALIDATE_EXTENT (buf, len, __MF_CHECK_WRITE, "recvfrom buf");
1341 "recvfrom from");
1342 return recvfrom (s, buf, len, flags, from, fromlen);
/freebsd-11-stable/contrib/ldns/
H A Dnet.c703 wire_size = recvfrom(sockfd, (void*)wire, LDNS_MAX_PACKETLEN, 0,
706 /* recvfrom can also return 0 */
/freebsd-11-stable/crypto/heimdal/kpasswd/
H A Dkpasswdd.c724 retx = recvfrom(sockets[i], buf, sizeof(buf), 0,
730 krb5_err (context, 1, errno, "recvfrom");
/freebsd-11-stable/sbin/routed/
H A Drdisc.c959 cc = recvfrom(rdisc_sock, &buf, sizeof(buf), 0,
964 LOGERR("recvfrom(rdisc_sock)");
968 logbad(1,"impossible recvfrom(rdisc_sock) fromlen=%d",
/freebsd-11-stable/crypto/heimdal/lib/kadm5/
H A Dipropd_master.c964 if(recvfrom(signal_fd, (void *)&vers, sizeof(vers), 0,
966 krb5_warn (context, errno, "recvfrom");
/freebsd-11-stable/contrib/netcat/
H A Dnetcat.c419 * For UDP and not -k, we will use recvfrom() initially
430 rv = recvfrom(s, buf, plen, MSG_PEEK,
433 err(1, "recvfrom");
/freebsd-11-stable/tests/sys/kern/
H A Dunix_seqpacket_test.c664 /* sendto(2) and recvfrom(2) a single short record
669 * source addres in recvfrom(2).
703 rsize = recvfrom(sv[1], recv_buf, bufsize, MSG_WAITALL,
706 perror("recvfrom");
707 atf_tc_fail("recvfrom returned < 0");
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dhlr_auc_gw.c893 res = recvfrom(s, buf, sizeof(buf), 0, (struct sockaddr *) &from,
896 perror("recvfrom");
H A Dctrl_iface.c3406 res = recvfrom(sock, buf, sizeof(buf) - 1, 0,
3409 wpa_printf(MSG_ERROR, "recvfrom(ctrl_iface): %s",
4129 res = recvfrom(sock, buffer, sizeof(buffer) - 1, 0,
4132 wpa_printf(MSG_ERROR, "recvfrom(ctrl_iface): %s",
/freebsd-11-stable/contrib/wpa/src/drivers/
H A Ddriver_privsep.c526 res = recvfrom(sock, buf, buflen, 0,
529 wpa_printf(MSG_ERROR, "recvfrom(priv_socket): %s",
/freebsd-11-stable/libexec/bootpd/
H A Dbootpd.c546 n = recvfrom(s, pktbuf, MAX_MSG_SIZE, 0,
/freebsd-11-stable/contrib/wpa/src/radius/
H A Dradius_server.c1845 len = recvfrom(sock, buf, RADIUS_MAX_MSG_LEN, 0,
1848 wpa_printf(MSG_INFO, "recvfrom[radius_server]: %s",
1977 len = recvfrom(sock, buf, RADIUS_MAX_MSG_LEN, 0,
1980 wpa_printf(MSG_INFO, "recvfrom[radius_server]: %s",
/freebsd-11-stable/crypto/openssh/regress/
H A Dnetcat.c391 * For UDP and not -k, we will use recvfrom() initially
402 rv = recvfrom(s, buf, plen, MSG_PEEK,
405 err(1, "recvfrom");
/freebsd-11-stable/usr.sbin/rpcbind/
H A Drpcb_svc_com.c1248 inlen = recvfrom(fd, buffer, RPC_BUF_MAX, 0,
1254 "handle_reply: recvfrom returned %d, errno %d\n", inlen, errno);
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dwpa_priv.c636 res = recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr *) &from,
639 wpa_printf(MSG_ERROR, "recvfrom: %s", strerror(errno));
/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Dbss_dgram.c399 ret = recvfrom(b->num, out, outl, 0, &sa.peer.sa, (void *)&sa.len);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dsocket_wrapper.c143 #define real_recvfrom recvfrom
162 can't tell which port a packet came from with recvfrom()
/freebsd-11-stable/contrib/traceroute/
H A Dtraceroute.c1288 cc = recvfrom(sock, (char *)packet, sizeof(packet), 0,
/freebsd-11-stable/usr.sbin/inetd/
H A Dinetd.c668 if (recvfrom(ctrl, buf, sizeof(buf),
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Devdns.c1381 const int r = recvfrom(ns->socket, (void*)packet,
1419 r = recvfrom(s->socket, (void*)packet, sizeof(packet), 0,
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_io.c3513 buflen = recvfrom(fd, buf, sizeof(buf), 0,
3530 rb->recv_length = recvfrom(fd, (char *)&rb->recv_space,
3557 msyslog(LOG_ERR, "recvfrom(%s) fd=%d: %m",
3559 DPRINTF(5, ("read_network_packet: fd=%d dropped (bad recvfrom)\n",
3570 msyslog(LOG_ERR, "recvfrom(%s) fd=%d: refclock srcadr on a network interface!",
/freebsd-11-stable/sys/kern/
H A Dinit_sysent.c77 { AS(recvfrom_args), (sy_call_t *)sys_recvfrom, AUE_RECVFROM, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 29 = recvfrom */
173 { compat(AS(recvfrom_args),recvfrom), AUE_RECVFROM, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 125 = old recvfrom */

Completed in 498 milliseconds

12345