Searched refs:sock_fd (Results 1 - 7 of 7) sorted by relevance

/freebsd-current/usr.sbin/rpc.statd/
H A Dstatd.c67 static int *sock_fd; variable
197 sock_fd = NULL;
233 free(sock_fd);
235 sock_fd = NULL;
282 free(sock_fd);
322 * Any file descriptors that have been created are stored in sock_fd and
365 sock_fd = realloc(sock_fd, (sock_fdcnt + 1) * sizeof(int));
366 if (sock_fd == NULL)
368 sock_fd[sock_fdcn
[all...]
/freebsd-current/usr.sbin/rpc.lockd/
H A Dlockd.c91 static int *sock_fd; variable
322 sock_fd = NULL;
363 free(sock_fd);
365 sock_fd = NULL;
417 free(sock_fd);
495 * Any file descriptors that have been created are stored in sock_fd and
542 sock_fd = realloc(sock_fd, (sock_fdcnt + 1) * sizeof(int));
543 if (sock_fd == NULL)
545 sock_fd[sock_fdcn
[all...]
/freebsd-current/contrib/libpcap/
H A Dpcap-linux.c320 static int enter_rfmon_mode(pcap_t *handle, int sock_fd,
531 del_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state,
535 add_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, argument
543 ifindex = iface_get_id(sock_fd, device, handle->errbuf);
626 del_mon_if(handle, sock_fd, state, device, mondevice);
640 del_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, argument
647 ifindex = iface_get_id(sock_fd, mondevice, handle->errbuf);
2304 int sock_fd, arptype; local
2323 sock_fd = is_any_device ?
2327 if (sock_fd
4647 enter_rfmon_mode(pcap_t *handle, int sock_fd, const char *device) argument
[all...]
/freebsd-current/contrib/ofed/libibverbs/
H A Dneigh.c202 int sock_fd; local
230 sock_fd = socket(addr_dst->sktaddr.s.sa_family,
232 if (sock_fd == -1)
234 err = bind(sock_fd, &addr_src.sktaddr.s, addr_src.len);
236 close(sock_fd);
240 *psock_fd = sock_fd;
280 static int try_send_to(int sock_fd, void *buff, size_t buf_size, argument
287 err = sendto(sock_fd, buff, buf_size, 0,
304 int sock_fd; local
334 err = create_socket(neigh_handler, &addr_dst, &sock_fd);
[all...]
/freebsd-current/tests/atf_python/sys/netlink/
H A Dnetlink.py231 self.sock_fd = self._setup_netlink(family)
260 self.sock_fd.setsockopt(socket.SOL_SOCKET, 1, mask)
266 # self.sock_fd.bind(k)
269 self.sock_fd.setsockopt(270, 1, group_id)
277 ret = os.write(self.sock_fd.fileno(), msg_bytes)
329 self.sock_fd.send(data)
333 data = self.sock_fd.recv(65535)
/freebsd-current/usr.sbin/mountd/
H A Dmountd.c286 static int *sock_fd; variable
608 sock_fd = NULL;
650 free(sock_fd);
652 sock_fd = NULL;
703 free(sock_fd);
778 * Any file descriptors that have been created are stored in sock_fd and
822 sock_fd = realloc(sock_fd, (sock_fdcnt + 1) * sizeof(int));
823 if (sock_fd == NULL)
825 sock_fd[sock_fdcn
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2778 INTERCEPTOR(int, getsockname, int sock_fd, void *addr, unsigned *addrlen) {
2780 COMMON_INTERCEPTOR_ENTER(ctx, getsockname, sock_fd, addr, addrlen);
2789 int res = REAL(getsockname)(sock_fd, addr, addrlen);

Completed in 149 milliseconds