HomeSort by relevance Sort by last modified time
    Searched defs:sockfd (Results 1 - 9 of 9) sorted by null

  /external/iptables/extensions/
libxt_set.h 18 int res, sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_RAW); local
22 if (sockfd < 0)
27 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req_version, &size);
34 return sockfd;
42 int res, sockfd; local
44 sockfd = get_version(&req.version);
47 res = getsockopt(sockfd, SOL_IP, SO_IP_SET, &req, &size);
48 close(sockfd);
71 int res, sockfd; local
73 sockfd = get_version(&req.version)
    [all...]
  /external/mdnsresponder/mDNSPosix/
mDNSUNP.c 95 int sockfd = -1; local
104 sockfd = socket(AF_INET6, SOCK_DGRAM, 0);
105 if (sockfd < 0) {
174 if (ioctl(sockfd, SIOCGIFFLAGS, &ifr) < 0) {
207 if (sockfd != -1) {
208 assert(close(sockfd) == 0);
218 int sockfd, sockf6, len, lastlen, flags, myflags; local
235 sockfd = -1;
240 sockfd = socket(AF_INET, SOCK_DGRAM, 0);
241 if (sockfd < 0)
    [all...]
  /external/ppp/pppd/plugins/radius/
sendserver.c 194 int sockfd; local
235 sockfd = socket (AF_INET, SOCK_DGRAM, 0);
236 if (sockfd < 0)
249 if (bind (sockfd, (struct sockaddr *) sin, length) < 0 ||
250 getsockname (sockfd, (struct sockaddr *) sin, &length) < 0)
252 close (sockfd);
296 sendto (sockfd, (char *) auth, (unsigned int) total_length, (int) 0,
302 FD_SET (sockfd, &readfds);
303 if (select (sockfd + 1, &readfds, NULL, NULL, &authtime) < 0)
309 close (sockfd);
    [all...]
  /external/clang/tools/libclang/
CIndexCodeCompletion.cpp 782 int sockfd = socket(AF_INET, SOCK_DGRAM, 0); local
783 if (sockfd < 0)
786 sendto(sockfd, res.data(), res.size(), 0,
788 close(sockfd);
    [all...]
  /external/valgrind/tsan/
ts_util.cc 479 int sockfd; local
482 sockfd = socket(AF_INET, SOCK_STREAM, 0);
483 if (sockfd < 0) return NULL;
492 if (connect(sockfd, (struct sockaddr*)&serv_addr, sizeof(serv_addr)) < 0)
494 return fdopen(sockfd, "w");
  /external/iptables/iptables/
xtables.c 744 int max_rev, sockfd; local
746 sockfd = socket(afinfo->family, SOCK_RAW, IPPROTO_RAW);
747 if (sockfd < 0) {
762 if (fcntl(sockfd, F_SETFD, FD_CLOEXEC) == -1) {
773 max_rev = getsockopt(sockfd, afinfo->ipproto, opt, &rev, &s);
777 close(sockfd);
780 close(sockfd);
789 close(sockfd);
    [all...]
  /external/mdnsresponder/mDNSShared/
dnssd_clientstub.c 119 #define DNSServiceRefValid(X) (dnssd_SocketValid((X)->sockfd) && (((X)->sockfd ^ (X)->validator) == ValidatorBits))
131 dnssd_sock_t sockfd; // Connected socket between client and daemon member in struct:_DNSServiceRef_t
385 // then sockfd could legitimately contain a failing value (e.g. dnssd_InvalidSocket)
386 if ((x->sockfd ^ x->validator) != ValidatorBits)
387 syslog(LOG_WARNING, "dnssd_clientstub attempt to dispose invalid DNSServiceRef %p %08X %08X", x, x->sockfd, x->validator);
392 x->sockfd = dnssd_InvalidSocket;
438 (*ref), (*ref)->sockfd, (*ref)->validator);
459 sdr->sockfd = dnssd_InvalidSocket;
460 sdr->validator = sdr->sockfd ^ ValidatorBits
    [all...]
  /external/iptables/libiptc/
libiptc.c 135 int sockfd; variable
1316 int sockfd; local
    [all...]
  /external/dnsmasq/src/
dnsmasq.h 585 int sockfd; member in struct:tftp_transfer

Completed in 298 milliseconds