Searched refs:sockets (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-13-stable/lib/libifconfig/
H A Dlibifconfig_internal.c89 if (h->sockets[addressfamily] != -1) {
90 *s = h->sockets[addressfamily];
95 h->sockets[addressfamily] = socket(addressfamily, SOCK_DGRAM, 0);
96 if (h->sockets[addressfamily] == -1) {
102 *s = h->sockets[addressfamily];
H A Dlibifconfig_internal.h54 int sockets[AF_MAX + 1]; member in struct:ifconfig_handle
H A Dlibifconfig.c87 h->sockets[i] = -1;
98 if (h->sockets[i] != -1) {
99 (void)close(h->sockets[i]);
/freebsd-13-stable/tools/regression/tmpfs/
H A Dt_sockets37 # Verifies that sockets can be created using socket/bind.
44 ${Src_Dir}/h_tools sockets a
48 echo "${Src_Dir}/h_tools sockets dir/a" | kqueue_monitor 1 dir || die
H A Dt_readdir54 ${Src_Dir}/h_tools sockets sock || die
/freebsd-13-stable/tests/sys/common/
H A Dnet_receiver.py57 sockets = []
66 sockets.append(s)
67 inputs = sockets
87 sockets = []
95 sockets.append(s)
96 inputs = sockets
/freebsd-13-stable/usr.sbin/bhyve/
H A Dbhyverun.h39 extern uint16_t cores, sockets, threads;
/freebsd-13-stable/crypto/openssh/
H A Dssh-agent.c116 SocketEntry *sockets = NULL; variable
704 e = &sockets[socknum];
806 if (sockets[i].type == AUTH_UNUSED) {
807 sockets[i].fd = fd;
808 if ((sockets[i].input = sshbuf_new()) == NULL)
810 if ((sockets[i].output = sshbuf_new()) == NULL)
812 if ((sockets[i].request = sshbuf_new()) == NULL)
814 sockets[i].type = type;
819 sockets = xreallocarray(sockets, new_allo
[all...]
/freebsd-13-stable/contrib/netbsd-tests/fs/tmpfs/
H A Dt_sockets.sh30 atf_set "descr" "Verifies that sockets can be created using" \
37 atf_check -s eq:0 -o empty -e empty $(atf_get_srcdir)/h_tools sockets a
41 echo "$(atf_get_srcdir)/h_tools sockets dir/a" | kqueue_monitor 1 dir
H A Dt_readdir.sh64 $(atf_get_srcdir)/h_tools sockets sock
/freebsd-13-stable/sys/amd64/vmm/
H A Dx86.c99 uint16_t cores, maxcpus, sockets, threads; local
154 vm_get_topology(vm, &sockets, &cores, &threads,
254 vm_get_topology(vm, &sockets, &cores, &threads,
295 vm_get_topology(vm, &sockets, &cores, &threads,
395 vm_get_topology(vm, &sockets, &cores, &threads,
407 vm_get_topology(vm, &sockets, &cores, &threads,
493 vm_get_topology(vm, &sockets, &cores, &threads,
/freebsd-13-stable/stand/libsa/
H A Dnetif.c50 struct iodesc sockets[SOPEN_MAX]; variable in typeref:struct:iodesc
271 return (&sockets[sock]);
282 for (fd = 0, s = sockets; fd < SOPEN_MAX; fd++, s++)
312 netif_detach(sockets[sock].io_netif);
313 sockets[sock].io_netif = (struct netif *)0;
H A Dnet.h100 extern struct iodesc sockets[SOPEN_MAX];
/freebsd-13-stable/tests/sys/kern/
H A Dsonewconn_overflow.py47 self.sockets = []
62 self.sockets.append(s)
66 for s in self.sockets:
/freebsd-13-stable/sys/netgraph/bluetooth/socket/
H A Dng_btsocket.c68 * Bluetooth raw HCI sockets
87 * Bluetooth raw L2CAP sockets
106 * Bluetooth SEQPACKET L2CAP sockets
127 * Bluetooth STREAM RFCOMM sockets
148 * Bluetooth SEQPACKET SCO sockets
237 SYSCTL_NODE(_net_bluetooth_hci, OID_AUTO, sockets,
239 "Bluetooth HCI sockets family");
240 SYSCTL_NODE(_net_bluetooth_l2cap, OID_AUTO, sockets,
242 "Bluetooth L2CAP sockets family");
243 SYSCTL_NODE(_net_bluetooth_rfcomm, OID_AUTO, sockets,
[all...]
/freebsd-13-stable/crypto/heimdal/kpasswd/
H A Dkpasswdd.c654 int *sockets; local
676 sockets = malloc (n * sizeof(*sockets));
677 if (sockets == NULL)
686 sockets[i] = socket (sa->sa_family, SOCK_DGRAM, 0);
687 if (sockets[i] < 0)
689 if (bind (sockets[i], sa, sa_size) < 0) {
700 maxfd = max (maxfd, sockets[i]);
703 FD_SET(sockets[i], &real_fdset);
706 krb5_errx (context, 1, "No sockets!");
[all...]
/freebsd-13-stable/contrib/libevent/
H A Dhttp-internal.h142 TAILQ_HEAD(boundq, evhttp_bound_socket) sockets; member in struct:evhttp
/freebsd-13-stable/contrib/ntp/sntp/libevent/
H A Dhttp-internal.h145 TAILQ_HEAD(boundq, evhttp_bound_socket) sockets; member in struct:evhttp
/freebsd-13-stable/share/dtrace/
H A Dtcpstate29 * The tcpstate D script shows TCP sockets transitioning between states.
/freebsd-13-stable/usr.bin/svn/lib/libapr/
H A DMakefile73 sockets.c \
/freebsd-13-stable/contrib/wpa/hs20/client/
H A DAndroid.mk31 L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\"
/freebsd-13-stable/lib/libvmmapi/
H A Dvmmapi.h243 int vm_set_topology(struct vmctx *ctx, uint16_t sockets, uint16_t cores,
245 int vm_get_topology(struct vmctx *ctx, uint16_t *sockets, uint16_t *cores,
/freebsd-13-stable/contrib/lib9p/transport/
H A Dsocket.c76 int sockets[2]; local
101 sockets[nsockets] = s;
/freebsd-13-stable/contrib/apr/network_io/unix/
H A Dsockopt.c35 #error Please teach APR how to make sockets blocking on your platform.
61 #error Please teach APR how to make sockets non-blocking on your platform.
/freebsd-13-stable/contrib/apr/
H A Dapr.mak108 -@erase "$(INTDIR)\sockets.obj"
183 "$(INTDIR)\sockets.obj" \
294 -@erase "$(INTDIR)\sockets.obj"
369 "$(INTDIR)\sockets.obj" \
480 -@erase "$(INTDIR)\sockets.obj"
555 "$(INTDIR)\sockets.obj" \
666 -@erase "$(INTDIR)\sockets.obj"
742 "$(INTDIR)\sockets.obj" \
1098 SOURCE=.\network_io\win32\sockets.c
1100 "$(INTDIR)\sockets
[all...]

Completed in 292 milliseconds

12