/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);
|
H A D | nl-monitor.c | 37 struct nl_sock *sock; local 63 sock = nl_cli_alloc_socket(); 64 nl_socket_disable_seq_check(sock); 65 nl_socket_modify_cb(sock, NL_CB_VALID, NL_CB_CUSTOM, event_input, NULL); 77 nl_cli_connect(sock, NETLINK_ROUTE); 83 if ((err = nl_socket_add_membership(sock, known_groups[i].gr_id)) < 0) { 95 link_cache = nl_cli_link_alloc_cache(sock); 101 fd = nl_socket_get_fd(sock); 110 nl_recvmsgs_default(sock);
|
H A D | nl-neigh-add.c | 46 struct nl_sock *sock; local 55 sock = nl_cli_alloc_socket(); 56 nl_cli_connect(sock, NETLINK_ROUTE); 57 link_cache = nl_cli_link_alloc_cache(sock); 100 if ((err = rtnl_neigh_add(sock, neigh, nlflags)) < 0)
|
H A D | nl-route-get.c | 45 struct nl_sock *sock; local 53 sock = nl_cli_alloc_socket(); 54 nl_cli_connect(sock, NETLINK_ROUTE); 55 link_cache = nl_cli_link_alloc_cache(sock); 56 route_cache = nl_cli_route_alloc_cache(sock, 0); 71 err = nl_send_auto_complete(sock, m); 76 nl_socket_modify_cb(sock, NL_CB_VALID, NL_CB_CUSTOM, cb, NULL); 78 if (nl_recvmsgs_default(sock) < 0)
|
/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/apache-http/src/org/apache/http/conn/scheme/ |
H A D | SocketFactory.java | 78 * @param sock the socket to connect, as obtained from 91 * from the <code>sock</code> argument if this factory supports 101 Socket sock, 125 * @param sock the connected socket to check 139 boolean isSecure(Socket sock) argument 100 connectSocket( Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params ) argument
|
/external/chromium_org/net/dns/ |
H A D | address_sorter_unittest.cc | 44 SOCKET sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); local 45 if (sock == INVALID_SOCKET) { 48 closesocket(sock);
|
/external/linux-tools-perf/perf-3.12.0/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/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 257 prepareSocket(Socket sock, HttpContext context, HttpParams params) argument [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/bio/ |
H A D | bio_test.c | 31 int sock; local 76 sock = accept(listening_sock, (struct sockaddr *) &sin, &sockaddr_len); 77 if (sock < 0) { 82 if (read(sock, buf, sizeof(buf)) != sizeof(kTestMessage)) { 91 close(sock);
|
H A D | socket_helper.c | 81 int bio_socket_nbio(int sock, int on) { argument 85 return 0 == ioctlsocket(sock, FIONBIO, &arg); 87 int flags = fcntl(sock, F_GETFL, 0); 96 return fcntl(sock, F_SETFL, flags) == 0; 102 int bio_sock_error(int sock) { argument 106 if (getsockopt(sock, SOL_SOCKET, SO_ERROR, (char *)&error, &error_size) < 0) {
|