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

1 23 4 5 6 7 8 91011>>

  /external/wpa_supplicant_6/wpa_supplicant/
ctrl_iface_unix.c 51 int sock; member in struct:ctrl_iface_priv
141 static void wpa_supplicant_ctrl_iface_receive(int sock, void *eloop_ctx,
154 res = recvfrom(sock, buf, sizeof(buf) - 1, 0,
186 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from,
190 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from,
193 sendto(sock, "OK\n", 3, 0, (struct sockaddr *) &from,
281 priv->sock = -1;
292 priv->sock = android_get_control_socket(addr.sun_path);
293 if (priv->sock >= 0)
359 priv->sock = socket(PF_UNIX, SOCK_DGRAM, 0)
609 int sock; member in struct:ctrl_iface_global_priv
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
ctrl_iface_unix.c 46 int sock; member in struct:ctrl_iface_priv
127 static void wpa_supplicant_ctrl_iface_receive(int sock, void *eloop_ctx,
140 res = recvfrom(sock, buf, sizeof(buf) - 1, 0,
201 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from,
205 sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from,
208 sendto(sock, "OK\n", 3, 0, (struct sockaddr *) &from,
297 priv->sock = -1;
308 priv->sock = android_get_control_socket(addr.sun_path);
309 if (priv->sock >= 0)
375 priv->sock = socket(PF_UNIX, SOCK_DGRAM, 0)
624 int sock; member in struct:ctrl_iface_global_priv
    [all...]
  /external/apache-http/src/org/apache/http/conn/
OperatedClientConnection.java 121 * @param sock the unconnected socket which is about to
125 void opening(Socket sock, HttpHost target)
158 * @param sock the new socket for communicating with the target host,
168 void update(Socket sock, HttpHost target,
  /external/apache-http/src/org/apache/http/conn/scheme/
SocketFactory.java 73 * @param sock the socket to connect, as obtained from
86 * from the <code>sock</code> argument if this factory supports
96 Socket sock,
120 * @param sock the connected socket to check
134 boolean isSecure(Socket sock)
  /external/dropbear/
listener.h 38 void (*acceptor)(struct Listener*, int sock);
55 void (*acceptor)(struct Listener* listener, int sock),
dbutil.c 156 static void set_sock_priority(int sock) {
162 setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (void*)&val, sizeof(val));
168 setsockopt(sock, IPPROTO_IP, IP_TOS, (void*)&val, sizeof(val));
175 setsockopt(sock, SOL_SOCKET, SO_PRIORITY, (void*) &val, sizeof(val));
194 int sock; local
241 sock = socks[nsock]; /* For clarity */
243 if (sock < 0) {
252 setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (void*) &val, sizeof(val));
255 setsockopt(sock, SOL_SOCKET, SO_LINGER, (void*)&linger, sizeof(linger));
257 set_sock_priority(sock);
307 int sock; local
    [all...]
cli-main.c 42 int sock; local
63 sock = connect_remote(cli_opts.remotehost, cli_opts.remoteport,
66 if (sock < 0) {
77 cli_session(sock, hostandport);
  /external/kernel-headers/original/linux/
netlink.h 174 extern struct sock *netlink_kernel_create(struct net *net,
179 extern void netlink_kernel_release(struct sock *sk);
180 extern int __netlink_change_ngroups(struct sock *sk, unsigned int groups);
181 extern int netlink_change_ngroups(struct sock *sk, unsigned int groups);
182 extern void __netlink_clear_multicast_users(struct sock *sk, unsigned int group);
183 extern void netlink_clear_multicast_users(struct sock *sk, unsigned int group);
185 extern int netlink_has_listeners(struct sock *sk, unsigned int group);
186 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 pid, int nonblock);
187 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 pid,
189 extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb
    [all...]
udp.h 55 static inline struct udp_sock *udp_sk(const struct sock *sk)
  /external/wpa_supplicant_8/src/drivers/
netlink.c 19 int sock; member in struct:netlink_data
36 static void netlink_receive(int sock, void *eloop_ctx, void *sock_ctx)
48 left = recvfrom(sock, buf, sizeof(buf), MSG_DONTWAIT,
102 netlink->sock = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
103 if (netlink->sock < 0) {
113 if (bind(netlink->sock, (struct sockaddr *) &local, sizeof(local)) < 0)
121 eloop_register_read_sock(netlink->sock, netlink_receive, netlink,
132 if (netlink->sock >= 0) {
133 eloop_unregister_read_sock(netlink->sock);
134 close(netlink->sock);
    [all...]
  /external/openssh/
canohost.c 48 get_remote_hostname(int sock, int use_dns)
59 if (getpeername(sock, (struct sockaddr *)&from, &fromlen) < 0) {
65 check_ip_options(sock, ntop);
158 check_ip_options(int sock, char *ipaddr)
173 if (getsockopt(sock, ipproto, IP_OPTIONS, options,
247 get_socket_address(int sock, int remote, int flags)
259 if (getpeername(sock, (struct sockaddr *)&addr, &addrlen)
263 if (getsockname(sock, (struct sockaddr *)&addr, &addrlen)
285 get_peer_ipaddr(int sock)
289 if ((p = get_socket_address(sock, 1, NI_NUMERICHOST)) != NULL
    [all...]
  /external/qemu/
qemu-sockets.c 239 int sock,rc; local
281 sock = qemu_socket(e->ai_family, e->ai_socktype, e->ai_protocol);
282 if (sock < 0) {
287 setsockopt(sock,SOL_SOCKET,SO_REUSEADDR,(void*)&on,sizeof(on));
290 if (connect(sock,e->ai_addr,e->ai_addrlen) < 0) {
295 closesocket(sock);
303 return sock;
316 int sock = -1, rc; local
374 sock = qemu_socket(peer->ai_family, peer->ai_socktype, peer->ai_protocol);
375 if (sock < 0)
503 int sock = -1; local
530 int sock = -1; local
545 int sock, fd; local
595 int sock; local
626 int sock, len; local
654 int sock; local
    [all...]
  /external/qemu/android/protocol/
attach-ui-proxy.c 39 int sock; member in struct:AttachUIProxy
91 _attachUiProxy.sock = fd;
93 loopIo_init(&_attachUiProxy.io, _attachUiProxy.looper, _attachUiProxy.sock,
109 _attachUiProxy.sock = -1;
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLSessionBindingListenerTest.java 63 SSLSocket sock = (SSLSocket) SSLSocketFactory.getDefault() local
65 SSLSession ss = sock.getSession();
77 SSLSocket sock = (SSLSocket) SSLSocketFactory.getDefault() local
79 SSLSession ss = sock.getSession();
  /sdk/emulator/opengl/shared/OpenglCodecCommon/
TcpStream.h 29 TcpStream(int sock, size_t bufSize);
  /system/core/include/sysutils/
FrameworkClient.h 13 FrameworkClient(int sock);
  /external/apache-http/src/org/apache/http/impl/conn/
DefaultClientConnection.java 108 public void opening(Socket sock, HttpHost target) throws IOException {
110 this.socket = sock;
115 sock.close(); // allow this to throw...
151 Socket sock = this.socket; // copy volatile attribute local
152 if (sock != null)
153 sock.close();
209 public void update(Socket sock, HttpHost target,
223 if (sock != null) {
224 this.socket = sock;
225 bind(sock, params)
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/utils/
eloop.c 22 int sock; member in struct:eloop_sock
81 int sock, eloop_sock_handler handler,
95 tmp[table->count].sock = sock;
101 if (sock > eloop.max_sock)
102 eloop.max_sock = sock;
110 int sock)
118 if (table->table[i].sock == sock)
144 FD_SET(table->table[i].sock, fds)
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/stack/
UDPMessageProcessor.java 79 protected DatagramSocket sock; field in class:UDPMessageProcessor
107 this.sock = sipStack.getNetworkLayer().createDatagramSocket(port,
110 sock.setReceiveBufferSize(sipStack.getReceiveUdpBufferSize());
111 sock.setSendBufferSize(sipStack.getSendUdpBufferSize());
115 * prevent sock.receive() from blocking forever
118 sock.setSoTimeout((int) sipStack.getThreadAuditor().getPingIntervalInMillisecs());
126 super.setIpAddress( sock.getLocalAddress() );
188 int bufsize = sock.getReceiveBufferSize();
191 sock.receive(packet);
282 sock.close()
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldAndroidDatagramTest.java 167 DatagramSocket sock = null; local
171 sock = new DatagramSocket();
173 sock.setSoTimeout(timeout);
174 sock.receive(pack);
183 if (sock != null) {
184 sock.close();
  /external/clang/test/Analysis/
casts.c 17 void f(int sock) {
21 getsockname(sock, sockaddr, &addrlen);
  /libcore/luni/src/main/java/javax/net/ssl/
HandshakeCompletedEvent.java 37 * @param sock
42 public HandshakeCompletedEvent(SSLSocket sock, SSLSession s) {
43 super(sock);
  /external/bluetooth/bluez/lib/bluetooth/
cmtp.h 44 int sock; /* Connected socket */ member in struct:cmtp_connadd_req
  /external/ipsec-tools/src/racoon/
grabmyaddr.h 40 int sock; member in struct:myaddrs
  /external/srtp/test/
rtpw.c 115 leave_group(int sock, struct ip_mreq mreq, char *name);
129 int sock, ret; local
257 sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
258 if (sock < 0) {
275 ret = setsockopt(sock, IPPROTO_IP, IP_MULTICAST_TTL, &ttl,
286 ret = setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, (void*)&mreq,
399 ret = bind(sock, (struct sockaddr *) &local, sizeof(struct sockaddr_in));
413 rtp_sender_init(snd, sock, name, ssrc);
427 leave_group(sock, mreq, argv[0]);
448 if (bind(sock, (struct sockaddr *)&name, sizeof(name)) < 0)
    [all...]

Completed in 2343 milliseconds

1 23 4 5 6 7 8 91011>>