HomeSort by relevance Sort by last modified time
    Searched refs:sock (Results 126 - 150 of 389) sorted by null

1 2 3 4 56 7 8 91011>>

  /sdk/emulator/opengl/system/OpenglSystemCommon/
QemuPipeStream.h 48 QemuPipeStream(int sock, size_t bufSize);
  /system/netd/
NetlinkManager.h 60 NetlinkHandler* setupSocket(int *sock, int netlinkFamily, int groups,
  /external/kernel-headers/original/linux/
ipv6.h 287 * In the struct sock hierarchy (tcp6_sock, upd6_sock, etc)
289 * is able to calculate its offset from the base struct sock
405 extern int inet6_sk_rebuild_header(struct sock *sk);
408 static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk)
437 static inline struct raw6_sock *raw6_sk(const struct sock *sk)
442 static inline void inet_sk_copy_descendant(struct sock *sk_to,
443 const struct sock *sk_from)
472 static inline struct inet6_timewait_sock *inet6_twsk(const struct sock *sk)
478 static inline struct in6_addr *__inet6_rcv_saddr(const struct sock *sk)
484 static inline struct in6_addr *inet6_rcv_saddr(const struct sock *sk
    [all...]
  /external/javassist/src/main/javassist/tools/rmi/
ObjectImporter.java 155 Socket sock = new Socket(servername, port); local
156 OutputStream out = sock.getOutputStream();
165 InputStream in = new BufferedInputStream(sock.getInputStream());
172 sock.close();
224 Socket sock = new Socket(servername, port); local
226 sock.getOutputStream());
237 InputStream ins = new BufferedInputStream(sock.getInputStream());
250 sock.close();
  /external/wpa_supplicant_8/src/utils/
edit_simple.c 25 static void edit_read_char(int sock, void *eloop_ctx, void *sock_ctx)
31 res = read(sock, buf, 1);
eloop.c 23 int sock; member in struct:eloop_sock
139 int sock, eloop_sock_handler handler,
145 if (sock > eloop.max_sock)
146 new_max_sock = sock;
184 tmp[table->count].sock = sock;
201 int sock)
209 if (table->table[i].sock == sock)
254 fd = readers->table[i].sock;
    [all...]
  /frameworks/base/core/java/android/net/http/
HttpConnection.java 58 Socket sock = new Socket(mHost.getHostName(), mHost.getPort()); local
60 conn.bind(sock, params);
  /system/core/include/sysutils/
SocketClient.h 33 SocketClient(int sock, bool owned);
34 SocketClient(int sock, bool owned, bool useCmdNum);
  /system/security/keystore/
keystore.cpp 856 static int recv_code(int sock, int8_t* code) {
857 return recv(sock, code, 1, 0) == 1;
860 static int recv_message(int sock, uint8_t* message, int length) {
862 if (recv(sock, &bytes[0], 1, 0) != 1 ||
863 recv(sock, &bytes[1], 1, 0) != 1) {
873 int n = recv(sock, &message[offset], length - offset, 0);
883 static int recv_end_of_file(int sock) {
885 return recv(sock, &byte, 1, 0) == 0;
888 static void send_code(int sock, int8_t code) {
889 send(sock, &code, 1, 0)
1404 int sock; local
    [all...]
  /external/bluetooth/bluez/common/
android_bluez.c 105 int sock = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI); local
109 if(sock < 0) {
115 if (setsockopt(sock, SOL_HCI, HCI_DATA_DIR, &opt, sizeof(opt)) < 0) {
123 if(bind(sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
129 return sock;
  /external/bluetooth/bluez/src/
android_bluez.c 105 int sock = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI); local
109 if(sock < 0) {
115 if (setsockopt(sock, SOL_HCI, HCI_DATA_DIR, &opt, sizeof(opt)) < 0) {
124 if(bind(sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
130 return sock;
  /external/clang/test/Analysis/
taint-generic.c 162 int sock; local
165 sock = socket(AF_INET, SOCK_STREAM, 0);
166 read(sock, buffer, 100);
169 sock = socket(AF_LOCAL, SOCK_STREAM, 0);
170 read(sock, buffer, 100);
  /external/dropbear/
cli-tcpfwd.c 170 int sock; local
196 sock = connect_remote(iter->connectaddr, portstring, 1, NULL);
197 if (sock < 0) {
198 TRACE(("leave newtcpdirect: sock failed"))
203 ses.maxfd = MAX(ses.maxfd, sock);
207 channel->writefd = sock;
listener.c 60 int sock; local
67 sock = listener->socks[j];
68 if (FD_ISSET(sock, readfds)) {
69 listener->acceptor(listener, sock);
81 void (*acceptor)(struct Listener* listener, int sock),
svr-tcpfwd.c 235 int sock; local
267 sock = connect_remote(desthost, portstring, 1, NULL);
268 if (sock < 0) {
270 TRACE(("leave newtcpdirect: sock failed"))
274 ses.maxfd = MAX(ses.maxfd, sock);
278 channel->writefd = sock;
  /external/nist-sip/java/gov/nist/javax/sip/stack/
TCPMessageProcessor.java 68 private ServerSocket sock; field in class:TCPMessageProcessor
95 this.sock = sipStack.getNetworkLayer().createServerSocket(getPort(), 0, getIpAddress());
99 super.setIpAddress(sock.getInetAddress());
133 Socket newsock = sock.accept();
179 sock.close();
  /external/ppp/pppd/plugins/pppoatm/
pppoatm.c 177 int sock; local
181 sock = socket(AF_INET, SOCK_DGRAM, 0);
182 if (sock < 0)
186 if (ioctl(sock, SIOCSIFMTU, (caddr_t) &ifr) < 0)
188 (void) close (sock);
  /libcore/luni/src/main/native/
libcore_net_RawSocket.cpp 68 int sock = socket(PF_PACKET, SOCK_DGRAM, htons(protocolType)); local
70 if (sock == -1) {
76 jniSetFileDescriptorOfFD(env, fileDescriptor, sock);
77 if (!setBlocking(sock, false)) {
83 int err = bind(sock, &su.sa, sizeof(su));
  /libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
NativeCryptoTest.java 761 Socket sock, FileDescriptor fd,
766 super.afterHandshake(session, s, c, sock, fd, callback);
777 Socket sock, FileDescriptor fd,
785 super.afterHandshake(session, s, c, sock, fd, callback);
    [all...]
  /external/wpa_supplicant_8/src/drivers/
driver_wired.c 57 int sock; /* raw packet socket for driver access */ member in struct:wpa_driver_wired_data
90 static int wired_multicast_membership(int sock, int ifindex,
96 if (sock < 0)
105 if (setsockopt(sock, SOL_PACKET,
159 static void handle_read(int sock, void *eloop_ctx, void *sock_ctx)
164 len = recv(sock, buf, sizeof(buf), 0);
174 static void handle_dhcp(int sock, void *eloop_ctx, void *sock_ctx)
182 len = recv(sock, buf, sizeof(buf), 0);
215 drv->sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_PAE));
216 if (drv->sock < 0)
    [all...]
  /external/apache-http/src/org/apache/http/conn/ssl/
SSLSocketFactory.java 278 final Socket sock,
294 ((sock != null) ? sock : createSocket());
341 * @param sock the connected socket
347 public boolean isSecure(Socket sock)
350 if (sock == null) {
354 if (!(sock instanceof SSLSocket)) {
359 if (sock.isClosed()) {
  /external/chromium/third_party/libjingle/source/talk/base/
firewallsocketserver.cc 101 while (AsyncSocket* sock = AsyncSocketAdapter::Accept(&addr)) {
105 return sock;
107 sock->Close();
108 delete sock;
201 AsyncSocket* FirewallSocketServer::WrapSocket(AsyncSocket* sock, int type) {
202 if (!sock ||
208 return new FirewallSocket(this, sock, type);
  /external/openssh/openbsd-compat/
port-tun.c 122 int fd = -1, sock, flag; local
171 if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) == -1)
174 if (ioctl(sock, SIOCGIFFLAGS, &ifr) == -1)
178 if (ioctl(sock, SIOCSIFFLAGS, &ifr) == -1)
182 close(sock);
188 if (sock >= 0)
189 close(sock);
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
SSLSocketFactory.java 282 final Socket sock,
298 ((sock != null) ? sock : createSocket());
345 * @param sock the connected socket
351 public boolean isSecure(Socket sock)
354 if (sock == null) {
358 if (!(sock instanceof SSLSocket)) {
363 if (sock.isClosed()) {
  /system/core/libnl_2/genl/
genl.c 90 int genl_ctrl_alloc_cache(struct nl_sock *sock, struct nl_cache **result)
111 nlmhdr.nlmsg_seq = sock->s_seq_next;
112 nlmhdr.nlmsg_pid = sock->s_local.nl_pid;
128 msg.msg_name = (void *) &sock->s_peer;
129 msg.msg_namelen = sizeof(sock->s_peer);
137 num_char = sendmsg(sock->s_fd, &msg, 0);
164 recvmsg_len = recvmsg(sock->s_fd, &msg, 0);

Completed in 6645 milliseconds

1 2 3 4 56 7 8 91011>>