/external/ipsec-tools/src/racoon/ |
H A D | grabmyaddr.h | 40 int sock; member in struct:myaddrs
|
/external/libnl/src/ |
H A D | nl-link-name2ifindex.c | 23 struct nl_sock *sock; local 30 sock = nl_cli_alloc_socket(); 31 nl_cli_connect(sock, NETLINK_ROUTE); 32 link_cache = nl_cli_link_alloc_cache(sock);
|
H A D | nl-link-ifindex2name.c | 23 struct nl_sock *sock; local 31 sock = nl_cli_alloc_socket(); 32 nl_cli_connect(sock, NETLINK_ROUTE); 33 link_cache = nl_cli_link_alloc_cache(sock);
|
H A D | genl-ctrl-list.c | 35 struct nl_sock *sock; local 42 sock = nl_cli_alloc_socket(); 43 nl_cli_connect(sock, NETLINK_GENERIC); 44 family_cache = alloc_genl_family_cache(sock);
|
H A D | nl-link-list.c | 52 struct nl_sock *sock; local 60 sock = nl_cli_alloc_socket(); 61 nl_cli_connect(sock, NETLINK_ROUTE); 62 link_cache = nl_cli_link_alloc_cache(sock);
|
H A D | nl-neigh-list.c | 38 struct nl_sock *sock; local 46 sock = nl_cli_alloc_socket(); 47 nl_cli_connect(sock, NETLINK_ROUTE); 48 link_cache = nl_cli_link_alloc_cache(sock); 49 neigh_cache = nl_cli_neigh_alloc_cache(sock);
|
H A D | nl-neightbl-list.c | 30 struct nl_sock *sock; local 37 sock = nl_cli_alloc_socket(); 38 nl_cli_connect(sock, NETLINK_ROUTE); 39 link_cache = nl_cli_link_alloc_cache(sock); 40 neightbl_cache = nl_cli_alloc_cache(sock, "neighbour table",
|
H A D | nl-qdisc-list.c | 39 struct nl_sock *sock; local 47 sock = nl_cli_alloc_socket(); 48 nl_cli_connect(sock, NETLINK_ROUTE); 49 link_cache = nl_cli_link_alloc_cache(sock); 50 qdisc_cache = nl_cli_qdisc_alloc_cache(sock);
|
H A D | nl-rule-list.c | 35 struct nl_sock *sock; local 43 sock = nl_cli_alloc_socket(); 44 nl_cli_connect(sock, NETLINK_ROUTE); 45 link_cache = nl_cli_link_alloc_cache(sock); 46 rule_cache = nl_cli_rule_alloc_cache(sock);
|
H A D | nf-monitor.c | 39 struct nl_sock *sock; local 53 sock = nl_cli_alloc_socket(); 54 nl_socket_disable_seq_check(sock); 55 nl_socket_modify_cb(sock, NL_CB_VALID, NL_CB_CUSTOM, event_input, NULL); 67 nl_cli_connect(sock, NETLINK_NETFILTER); 74 err = nl_socket_add_membership(sock, groups[i].gr_id); 91 fd = nl_socket_get_fd(sock); 100 nl_recvmsgs_default(sock);
|
H A D | nl-cls-add.c | 37 struct nl_sock *sock; local 49 sock = nlt_alloc_socket(); 50 nlt_connect(sock, NETLINK_ROUTE); 51 link_cache = nlt_alloc_link_cache(sock); 108 if ((err = rtnl_cls_add(sock, cls, nlflags)) < 0)
|
H A D | nl-link-stats.c | 81 struct nl_sock *sock; local 85 sock = nl_cli_alloc_socket(); 86 nl_cli_connect(sock, NETLINK_ROUTE); 87 link_cache = nl_cli_link_alloc_cache(sock);
|
/external/libnl/tests/ |
H A D | test-genl.c | 5 struct nl_sock *sock; local 10 sock = nlt_alloc_socket(); 11 nlt_connect(sock, NETLINK_GENERIC); 25 if ((err = nl_send_auto_complete(sock, msg)) < 0) 28 if ((err = nl_recvmsgs_default(sock)) < 0) 32 nl_close(sock); 33 nl_socket_free(sock);
|
H A D | test-nf-cache-mngr.c | 27 struct nl_sock *sock; local 30 sock = nlt_socket_alloc(); 32 mngr = nl_cache_mngr_alloc(sock, NETLINK_NETFILTER, NL_AUTO_PROVIDE);
|
/external/apache-http/src/org/apache/http/conn/ |
H A D | OperatedClientConnection.java | 126 * @param sock the unconnected socket which is about to 130 void opening(Socket sock, HttpHost target) argument 163 * @param sock the new socket for communicating with the target host, 173 void update(Socket sock, HttpHost target, argument
|
H A D | MultihomePlainSocketFactory.java | 95 * @param sock socket to connect to any of the given addresses 105 public Socket connectSocket(Socket sock, String host, int port, argument 117 if (sock == null) 118 sock = createSocket(); 128 sock.bind(isa); 141 sock.connect(new InetSocketAddress(address, port), timeout); 147 sock = new Socket(); 155 return sock; 164 * @param sock the connected socket 170 public final boolean isSecure(Socket sock) argument [all...] |
/external/boringssl/src/tool/ |
H A D | server.cc | 77 int sock = -1; local 78 if (!Accept(&sock, args_map["-accept"])) { 82 BIO *bio = BIO_new_socket(sock, BIO_CLOSE); 97 bool ok = TransferData(ssl, sock);
|
/external/linux-tools-perf/src/tools/perf/util/ |
H A D | cpumap.h | 22 static inline int cpu_map__socket(struct cpu_map *sock, int s) argument 24 if (!sock || s > sock->nr || s < 0) 26 return sock->map[s];
|
/external/openssh/ |
H A D | monitor_fdpass.c | 52 mm_send_fd(int sock, int fd) argument 88 pfd.fd = sock; 90 while ((n = sendmsg(sock, &msg, 0)) == -1 && 114 mm_receive_fd(int sock) argument 145 pfd.fd = sock; 147 while ((n = recvmsg(sock, &msg, 0)) == -1 &&
|
/external/toybox/toys/other/ |
H A D | nbd_client.c | 41 int sock = -1, nbd, flags; local 61 sock = socket(p->ai_family, p->ai_socktype, p->ai_protocol); 62 if (-1 != connect(sock, p->ai_addr, p->ai_addrlen)) break; 63 close(sock); 70 setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &temp, sizeof(int)); 74 xreadall(sock, toybuf, 152); 90 if (ioctl(nbd, NBD_SET_SOCK, sock) < 0) break; 120 close(sock);
|
/external/apache-http/src/org/apache/http/impl/conn/ |
H A D | DefaultClientConnectionOperator.java | 145 Socket sock = plain_sf.createSocket(); 146 conn.opening(sock, target); 149 Socket connsock = plain_sf.connectSocket(sock, 153 if (sock != connsock) { 154 sock = connsock; 155 conn.opening(sock, target); 168 prepareSocket(sock, context, params); 170 Socket layeredsock = layered_sf.createSocket(sock, 174 if (layeredsock != sock) { 179 conn.openCompleted(sf.isSecure(sock), param 262 prepareSocket(Socket sock, HttpContext context, HttpParams params) argument [all...] |
/external/boringssl/src/crypto/bio/ |
H A D | socket_helper.c | 83 int bio_socket_nbio(int sock, int on) { argument 87 return 0 == ioctlsocket(sock, FIONBIO, &arg); 89 int flags = fcntl(sock, F_GETFL, 0); 98 return fcntl(sock, F_SETFL, flags) == 0; 104 int bio_sock_error(int sock) { argument 108 if (getsockopt(sock, SOL_SOCKET, SO_ERROR, (char *)&error, &error_size) < 0) {
|
/external/conscrypt/src/compat/java/org/conscrypt/ |
H A D | BaseOpenSSLSocketAdapterFactory.java | 85 protected abstract Socket wrap(OpenSSLSocketImpl sock) throws IOException; argument
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/ |
H A D | SocketConnector.java | 57 private Socket sock; field in class:SocketConnector 66 this.sock = new Socket(address, port); 67 remoteAddress = sock.getRemoteSocketAddress(); // for info purposes 71 sock.setTcpNoDelay(true); 73 in = sock.getInputStream(); 74 out = sock.getOutputStream(); 81 if( sock == null ) 87 if( sock == null ) 89 return sock.isConnected(); 96 Socket temp = sock; [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/udp/ |
H A D | UdpConnector.java | 52 private DatagramSocket sock = new DatagramSocket(); field in class:UdpConnector 70 this.sock = new DatagramSocket( localSocketAddress ); 74 sock.connect( remoteAddress ); 81 if( sock == null ) 87 if( sock == null ) 89 return sock.isConnected(); 95 DatagramSocket temp = sock; 96 sock = null; 120 sock.receive(packet); 140 sock [all...] |