HomeSort by: relevance | last modified time | path
    Searched refs:sock_fd (Results 1 - 8 of 8) sorted by relevancy

  /src/external/gpl3/gcc/dist/c++tools/
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)
551 int client_fd = accept4 (sock_fd, ip6 ? (sockaddr *)&addr : nullptr,
554 int client_fd = accept (sock_fd, ip6 ? (sockaddr *)&addr : nullptr, &addr_len);
588 /* A server listening on bound socket SOCK_FD. */
591 server (bool ipv6, int sock_fd, module_resolver *resolver)
600 my_epoll_ctl (epoll_fd, EPOLL_CTL_ADD, EPOLLIN, sock_fd, 0);
625 while (sock_fd >= 0 || live
918 int sock_fd = -1; \/* Socket fd, otherwise stdin\/stdout. *\/ local
    [all...]
  /src/external/gpl3/gcc.old/dist/c++tools/
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)
551 int client_fd = accept4 (sock_fd, ip6 ? (sockaddr *)&addr : nullptr,
554 int client_fd = accept (sock_fd, ip6 ? (sockaddr *)&addr : nullptr, &addr_len);
588 /* A server listening on bound socket SOCK_FD. */
591 server (bool ipv6, int sock_fd, module_resolver *resolver)
600 my_epoll_ctl (epoll_fd, EPOLL_CTL_ADD, EPOLLIN, sock_fd, 0);
625 while (sock_fd >= 0 || live
918 int sock_fd = -1; \/* Socket fd, otherwise stdin\/stdout. *\/ local
    [all...]
  /src/external/bsd/libpcap/dist/
pcap-linux.c 325 static int enter_rfmon_mode(pcap_t *handle, int sock_fd,
588 del_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state,
617 get_if_type(pcap_t *handle, int sock_fd, struct nl80211_state *state,
624 ifindex = iface_get_id(sock_fd, device, handle->errbuf);
705 add_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state,
713 ifindex = iface_get_id(sock_fd, device, handle->errbuf);
783 del_mon_if(handle, sock_fd, state, device, mondevice);
797 del_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state,
804 ifindex = iface_get_id(sock_fd, mondevice, handle->errbuf);
2472 int sock_fd, arptype local
    [all...]
  /src/usr.sbin/apmd/
apmd.c 71 static enum apm_state handle_client(int sock_fd, int ctl_fd);
179 handle_client(int sock_fd, int ctl_fd)
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)) {
  /src/external/bsd/ppp/usr.sbin/pppd/
sys-bsd.c 198 static int sock_fd; /* socket for doing interface ioctls */ variable
283 if ((sock_fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0)
310 if (ioctl(sock_fd, SIOCGIFFLAGS, &ifr) >= 0
313 ioctl(sock_fd, SIOCSIFFLAGS, &ifr);
335 if (sock_fd >= 0)
336 close(sock_fd);
1196 if (ifunit >= 0 && ioctl(sock_fd, SIOCSIFMTU, (caddr_t) &ifr) < 0)
1211 if (ifunit >= 0 && ioctl(sock_fd, SIOCGIFMTU, (caddr_t) &ifr) < 0) {
1337 if (ioctl(sock_fd, SIOCGPPPSTATS, &req) < 0) {
1487 if (ioctl(sock_fd, SIOCGIFFLAGS, (caddr_t) &ifr) < 0)
2008 int ret, sock_fd; local
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
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);
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_common_interceptors.inc 2778 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);
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
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);

Completed in 64 milliseconds