HomeSort by relevance Sort by last modified time
    Searched refs:sock (Results 101 - 125 of 326) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/dropbear/
session.h 44 void common_session_init(int sock, char* remotehost);
51 void svr_session(int sock, int childpipe, char *remotehost, char *addrstring);
56 void cli_session(int sock, char *remotehost);
92 int sock; member in struct:sshsession
svr-session.c 77 void svr_session(int sock, int childpipe,
85 common_session_init(sock, remotehost);
201 close(ses.sock);
202 ses.sock = -1;
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/core/net/
DefaultNetworkLayer.java 150 Socket sock = new Socket(); local
151 sock.bind(new InetSocketAddress(port));
152 sock.connect(new InetSocketAddress(address, port));
153 return sock;
  /external/qemu/android/protocol/
ui-commands-proxy.c 40 int sock; member in struct:UICmdProxy
164 _uiCmdProxy.sock = fd;
166 loopIo_init(&_uiCmdProxy.io, _uiCmdProxy.looper, _uiCmdProxy.sock,
199 _uiCmdProxy.sock = -1;
  /system/core/include/sysutils/
SocketClient.h 28 SocketClient(int sock, bool owned);
  /system/netd/
NetlinkManager.h 55 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 31 static void edit_read_char(int sock, void *eloop_ctx, void *sock_ctx)
37 res = read(sock, buf, 1);
  /frameworks/base/core/java/android/net/http/
HttpConnection.java 58 Socket sock = new Socket(mHost.getHostName(), mHost.getPort()); local
60 conn.bind(sock, params);
  /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/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 70 int sock = socket(PF_PACKET, SOCK_DGRAM, htons(protocol)); local
71 if (sock == -1) {
77 jniSetFileDescriptorOfFD(env, fileDescriptor, sock);
78 if (!setBlocking(sock, false)) {
84 int err = bind(sock, &su.sa, sizeof(su));
  /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);
  /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);
  /external/bluetooth/bluez/audio/
ctl_bluetooth.c 49 int sock; member in struct:bluetooth_data
67 if (data->sock >= 0)
68 bt_audio_service_close(data->sock);
159 ret = send(data->sock, req, BT_SUGGESTED_BUFFER_SIZE, MSG_NOSIGNAL);
165 ret = recv(data->sock, rsp, BT_SUGGESTED_BUFFER_SIZE, 0);
269 ret = recv(data->sock, ind, BT_SUGGESTED_BUFFER_SIZE, MSG_DONTWAIT);
327 data->sock = -1;
333 data->sock = sk;
367 data->ext.poll_fd = data->sock;
  /external/wpa_supplicant/
driver_ndiswrapper.c 32 int sock; member in struct:wpa_driver_ndiswrapper_data
82 int sock; local
85 sock = socket(families[i], SOCK_DGRAM, 0);
86 if (sock >= 0)
87 return sock;
97 return ioctl(drv->sock, request, pwrq);
332 drv->sock = get_socket();
333 if (drv->sock < 0) {
347 close(drv->sock);

Completed in 818 milliseconds

1 2 3 45 6 7 8 91011>>