/netbsd-current/external/gpl3/gcc/dist/c++tools/ |
H A D | server.cc | 499 int sock_fd = kill_sock_fd; local 500 if (sock_fd >= 0) 501 close (sock_fd); 545 int open_server (bool ip6, int sock_fd) argument 551 int client_fd = accept4 (sock_fd, ip6 ? (sockaddr *)&addr : nullptr, 554 int client_fd = accept (sock_fd, ip6 ? (sockaddr *)&addr : nullptr, &addr_len); 591 server (bool ipv6, int sock_fd, module_resolver *resolver) argument 600 my_epoll_ctl (epoll_fd, EPOLL_CTL_ADD, EPOLLIN, sock_fd, 0); 625 while (sock_fd >= 0 || live) 644 if (sock_fd > 916 int sock_fd = -1; /* Socket fd, otherwise stdin/stdout. */ local [all...] |
/netbsd-current/usr.sbin/apmd/ |
H A D | apmd.c | 71 static enum apm_state handle_client(int sock_fd, int ctl_fd); 179 handle_client(int sock_fd, int ctl_fd) argument 188 cli_fd = accept(sock_fd, (struct sockaddr *)&from, &fromlen); 302 int ctl_fd, sock_fd, ch, ready; local 419 sock_fd = bind_socket(sockname, mode, uid, gid); 423 set[1].fd = sock_fd; 509 switch (handle_client(sock_fd, ctl_fd)) {
|
/netbsd-current/external/bsd/libpcap/dist/ |
H A D | pcap-linux.c | 325 static int enter_rfmon_mode(pcap_t *handle, int sock_fd, 536 del_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, 540 add_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, argument 548 ifindex = iface_get_id(sock_fd, device, handle->errbuf); 631 del_mon_if(handle, sock_fd, state, device, mondevice); 645 del_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, argument 652 ifindex = iface_get_id(sock_fd, mondevice, handle->errbuf); 2309 int sock_fd, arptype; local 2328 sock_fd = is_any_device ? 2332 if (sock_fd 4652 enter_rfmon_mode(pcap_t *handle, int sock_fd, const char *device) argument [all...] |
/netbsd-current/external/bsd/ppp/usr.sbin/pppd/ |
H A D | sys-bsd.c | 193 static int sock_fd; /* socket for doing interface ioctls */ variable 278 if ((sock_fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) 305 if (ioctl(sock_fd, SIOCGIFFLAGS, &ifr) >= 0 308 ioctl(sock_fd, SIOCSIFFLAGS, &ifr); 330 if (sock_fd >= 0) 331 close(sock_fd); 1191 if (ifunit >= 0 && ioctl(sock_fd, SIOCSIFMTU, (caddr_t) &ifr) < 0) 1206 if (ifunit >= 0 && ioctl(sock_fd, SIOCGIFMTU, (caddr_t) &ifr) < 0) { 1332 if (ioctl(sock_fd, SIOCGPPPSTATS, &req) < 0) { 1482 if (ioctl(sock_fd, SIOCGIFFLAG 2003 int ret, sock_fd; local [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 2607 INTERCEPTOR(int, getsockname, int sock_fd, void *addr, int *addrlen) { 2609 COMMON_INTERCEPTOR_ENTER(ctx, getsockname, sock_fd, addr, addrlen); 2615 int res = REAL(getsockname)(sock_fd, addr, addrlen);
|
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 2631 INTERCEPTOR(int, getsockname, int sock_fd, void *addr, int *addrlen) { 2633 COMMON_INTERCEPTOR_ENTER(ctx, getsockname, sock_fd, addr, addrlen); 2639 int res = REAL(getsockname)(sock_fd, addr, addrlen);
|
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 2715 INTERCEPTOR(int, getsockname, int sock_fd, void *addr, unsigned *addrlen) { 2717 COMMON_INTERCEPTOR_ENTER(ctx, getsockname, sock_fd, addr, addrlen); 2726 int res = REAL(getsockname)(sock_fd, addr, addrlen);
|