/external/kernel-headers/original/linux/ |
filter.h | 148 struct sock; 165 extern int sk_filter(struct sock *sk, struct sk_buff *skb); 171 extern int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk); 172 extern int sk_detach_filter(struct sock *sk);
|
atmdev.h | 218 #include <net/sock.h> 288 /* struct sock has to be the first member of atm_vcc */ 289 struct sock sk; 318 static inline struct atm_vcc *atm_sk(struct sock *sk) 323 static inline struct atm_vcc *ATM_SD(struct socket *sock) 325 return atm_sk(sock->sk); 328 static inline struct sock *sk_atm(struct atm_vcc *vcc) 330 return (struct sock *)vcc; 419 void vcc_insert_socket(struct sock *sk);
|
netfilter.h | 116 int (*set)(struct sock *sk, int optval, void __user *user, unsigned int len); 118 int (*compat_set)(struct sock *sk, int optval, 123 int (*get)(struct sock *sk, int optval, void __user *user, int *len); 125 int (*compat_get)(struct sock *sk, int optval, 232 int nf_setsockopt(struct sock *sk, u_int8_t pf, int optval, char __user *opt, 234 int nf_getsockopt(struct sock *sk, u_int8_t pf, int optval, char __user *opt, 237 int compat_nf_setsockopt(struct sock *sk, u_int8_t pf, int optval, 239 int compat_nf_getsockopt(struct sock *sk, u_int8_t pf, int optval,
|
/external/nist-sip/java/gov/nist/core/net/ |
SslNetworkLayer.java | 160 Socket sock = new Socket();
local 161 sock.bind(new InetSocketAddress(port));
162 sock.connect(new InetSocketAddress(address, port));
163 return sock;
|
/external/qemu/android/protocol/ |
attach-ui-impl.c | 33 int sock; member in struct:AttachUIImpl
|
ui-commands-impl.c | 45 int sock; member in struct:UICmdImpl 127 status = socket_recv(uicmd->sock, 210 uicmd->sock = core_connection_get_socket(uicmd->core_connection); 211 loopIo_init(uicmd->io, looper, uicmd->sock,
|
/external/openssh/ |
channels.c | 241 c->sock = (rfd == wfd) ? rfd : -1; 376 channel_close_fd(&c->sock); 400 if (c->sock != -1) 401 shutdown(c->sock, SHUT_RDWR); 468 channel_close_fd(&c->sock); 791 FD_SET(c->sock, readset); 799 FD_SET(c->sock, writeset); 806 FD_SET(c->sock, readset); 808 FD_SET(c->sock, writeset); 868 FD_SET(c->sock, writeset) 1533 int err = 0, sock; local 2643 int sock, r, success = 0, wildcard = 0, is_client; local 3080 int sock, saved_errno; local 3139 int sock = -1; local 3255 int display_number, sock; local 3354 int sock; local 3386 int gaierr, sock = 0; local 3496 int remote_id, sock = 0; local [all...] |
sshconnect.c | 190 int sock, gaierr; local 200 sock = rresvport_af(&p, ai->ai_family); 202 if (sock < 0) 207 return sock; 209 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); 210 if (sock < 0) { 214 fcntl(sock, F_SETFD, FD_CLOEXEC); 218 return sock; 229 close(sock); 232 if (bind(sock, res->ai_addr, res->ai_addrlen) < 0) 343 int sock = -1, attempt; local [all...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
UnixStream.cpp | 42 UnixStream::UnixStream(int sock, size_t bufSize) : 43 SocketStream(sock, bufSize)
|
/external/chromium/net/base/ |
listen_socket_unittest.h | 93 virtual bool Send(SOCKET sock, const std::string& str); 98 virtual void DidClose(ListenSocket *sock);
|
listen_socket.cc | 53 ListenSocket* sock = new ListenSocket(s, del); local 54 sock->Listen(); 55 return sock; 185 scoped_refptr<ListenSocket> sock( 189 sock->WatchSocket(WAITING_READ); 191 socket_delegate_->DidAccept(this, sock);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
firewallsocketserver.h | 90 Socket * WrapSocket(Socket * sock, int type); 91 AsyncSocket * WrapSocket(AsyncSocket * sock, int type);
|
/external/chromium_org/net/socket/ |
tcp_listen_socket_unittest.h | 90 virtual bool Send(SocketDescriptor sock, const std::string& str); 97 virtual void DidClose(StreamListenSocket* sock) OVERRIDE;
|
/external/chromium_org/v8/tools/testrunner/network/ |
network_execution.py | 169 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 170 sock.settimeout(self.context.timeout + 10) 171 code = sock.connect_ex((peer.address, constants.PEER_PORT)) 181 compression.Send(data, sock) 182 compression.Send(constants.END_OF_STREAM, sock) 183 rec = compression.Receiver(sock) 219 sock.close() 227 sock.close()
|
/external/clang/test/Analysis/ |
casts.c | 19 void f(int sock) { 23 getsockname(sock, sockaddr, &addrlen);
|
/external/dropbear/ |
tcp-accept.c | 46 static void tcp_acceptor(struct Listener *listener, int sock) { 56 fd = accept(sock, (struct sockaddr*)&addr, &len);
|
/external/iputils/ninfod/ |
ninfod.h | 58 int sock; member in struct:packetcontext 78 extern int sock; /* ninfod.c */
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
UnixStream.cpp | 42 UnixStream::UnixStream(int sock, size_t bufSize) : 43 SocketStream(sock, bufSize)
|
/system/core/libcutils/ |
properties.c | 104 int sock = -1; local 109 sock = socket(AF_UNIX, SOCK_STREAM, 0); 110 if (sock < 0) { 118 cc = connect(sock, (struct sockaddr*) &addr, SUN_LEN(&addr)); 124 close(sock); 128 return sock;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
rpc.py | 128 def __init__(self, sock, objtable=None, debugging=None): 132 self.sock = sock 140 sock = self.sock 141 self.sock = None 142 if sock is not None: 143 sock.close() 331 r, w, x = select.select([], [self.sock], []) 332 n = self.sock.send(s[:BUFSIZE] [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
smtplib.py | 310 self.sock = self._get_socket(host, port, self.timeout) 320 if hasattr(self, 'sock') and self.sock: 322 self.sock.sendall(str) 352 self.file = self.sock.makefile('rb') 641 self.sock = ssl.wrap_socket(self.sock, keyfile, certfile) 642 self.file = SSLFakeFile(self.sock) 748 if self.sock: 749 self.sock.close( [all...] |
ssl.py | 106 def __init__(self, sock, keyfile=None, certfile=None, 111 socket.__init__(self, _sock=sock._sock) 376 def wrap_socket(sock, keyfile=None, certfile=None, 382 return SSLSocket(sock, keyfile=keyfile, certfile=certfile, 459 def sslwrap_simple(sock, keyfile=None, certfile=None): 465 if hasattr(sock, "_sock"): 466 sock = sock._sock 468 ssl_sock = _ssl.sslwrap(sock, 0, keyfile, certfile, CERT_NONE, 471 sock.getpeername( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
rpc.py | 128 def __init__(self, sock, objtable=None, debugging=None): 132 self.sock = sock 140 sock = self.sock 141 self.sock = None 142 if sock is not None: 143 sock.close() 331 r, w, x = select.select([], [self.sock], []) 332 n = self.sock.send(s[:BUFSIZE] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
smtplib.py | 310 self.sock = self._get_socket(host, port, self.timeout) 320 if hasattr(self, 'sock') and self.sock: 322 self.sock.sendall(str) 352 self.file = self.sock.makefile('rb') 641 self.sock = ssl.wrap_socket(self.sock, keyfile, certfile) 642 self.file = SSLFakeFile(self.sock) 748 if self.sock: 749 self.sock.close( [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
TCPMessageChannel.java | 110 * new connections. The sock input is the socket that is returned from the accept. Global data 113 * @param sock Socket from which to read and write messages. The socket is already connected 119 protected TCPMessageChannel(Socket sock, SIPTransactionStack sipStack, 126 mySock = sock; 252 Socket sock = this.sipStack.ioHandler.sendBytes(this.messageProcessor.getIpAddress(), local 261 if (sock != mySock && sock != null) { 267 mySock = sock; 310 Socket sock = this.sipStack.ioHandler.sendBytes(this.messageProcessor.getIpAddress(), local 312 if (sock != mySock && sock != null) [all...] |