Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c19 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) in linux_set_iface_flags()
59 int linux_iface_up(int sock, const char *ifname) in linux_iface_up()
81 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr) in linux_get_ifhwaddr()
104 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr) in linux_set_ifhwaddr()
123 int linux_br_add(int sock, const char *brname) in linux_br_add()
138 int linux_br_del(int sock, const char *brname) in linux_br_del()
150 int linux_br_add_if(int sock, const char *brname, const char *ifname) in linux_br_add_if()
175 int linux_br_del_if(int sock, const char *brname, const char *ifname) in linux_br_del_if()
/external/openssh/
Dcanohost.c68 get_socket_address(int sock, int remote, int flags) in get_socket_address()
114 get_peer_ipaddr(int sock) in get_peer_ipaddr()
124 get_local_ipaddr(int sock) in get_local_ipaddr()
156 get_sock_port(int sock, int local) in get_sock_port()
195 get_peer_port(int sock) in get_peer_port()
201 get_local_port(int sock) in get_local_port()
Dauthfd.c92 int sock, oerrno; in ssh_get_authentication_socket_path() local
138 ssh_request_reply(int sock, struct sshbuf *request, struct sshbuf *reply) in ssh_request_reply()
186 ssh_close_authentication_socket(int sock) in ssh_close_authentication_socket()
194 ssh_lock_agent(int sock, int lock, const char *password) in ssh_lock_agent()
243 ssh_fetch_identitylist(int sock, struct ssh_identitylist **idlp) in ssh_fetch_identitylist()
339 ssh_agent_has_key(int sock, struct sshkey *key) in ssh_agent_has_key()
385 ssh_agent_sign(int sock, const struct sshkey *key, in ssh_agent_sign()
477 ssh_add_identity_constrained(int sock, struct sshkey *key, in ssh_add_identity_constrained()
537 ssh_remove_identity(int sock, struct sshkey *key) in ssh_remove_identity()
575 ssh_update_card(int sock, int add, const char *reader_id, const char *pin, in ssh_update_card()
[all …]
Dmonitor.c573 mm_answer_moduli(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_moduli()
615 mm_answer_sign(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_sign()
717 mm_answer_pwnamallow(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pwnamallow()
816 int mm_answer_auth2_read_banner(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_auth2_read_banner()
832 mm_answer_authserv(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_authserv()
882 mm_answer_authpassword(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_authpassword()
928 mm_answer_bsdauthquery(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_bsdauthquery()
962 mm_answer_bsdauthrespond(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_bsdauthrespond()
996 mm_answer_pam_start(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pam_start()
1011 mm_answer_pam_account(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pam_account()
[all …]
/external/libnl/lib/route/link/
Dbonding.c73 int rtnl_link_bond_add(struct nl_sock *sock, const char *name, in rtnl_link_bond_add()
108 int rtnl_link_bond_enslave_ifindex(struct nl_sock *sock, int master, in rtnl_link_bond_enslave_ifindex()
164 int rtnl_link_bond_enslave(struct nl_sock *sock, struct rtnl_link *master, in rtnl_link_bond_enslave()
184 int rtnl_link_bond_release_ifindex(struct nl_sock *sock, int slave) in rtnl_link_bond_release_ifindex()
208 int rtnl_link_bond_release(struct nl_sock *sock, struct rtnl_link *slave) in rtnl_link_bond_release()
/external/tpm2-tss/test/unit/
Dio.c120 SOCKET sock; in socket_connect_test() local
133 SOCKET sock; in socket_connect_socket_fail_test() local
144 SOCKET sock; in socket_connect_connect_fail_test() local
159 SOCKET sock; in socket_ipv6_connect_test() local
172 SOCKET sock; in socket_ipv6_connect_socket_fail_test() local
183 SOCKET sock; in socket_ipv6_connect_connect_fail_test() local
197 SOCKET sock; in socket_connect_null_test() local
/external/python/cpython3/Lib/asyncio/
Dproactor_events.py28 def _set_socket_extra(transport, sock): argument
50 def __init__(self, loop, sock, protocol, waiter=None, argument
90 def _set_extra(self, sock): argument
181 def __init__(self, loop, sock, protocol, waiter=None, argument
455 def __init__(self, loop, sock, protocol, address=None, argument
467 def _set_extra(self, sock): argument
600 def __init__(self, loop, sock, protocol, waiter=None, argument
605 def _set_extra(self, sock): argument
634 def _make_socket_transport(self, sock, protocol, waiter=None, argument
652 def _make_datagram_transport(self, sock, protocol, argument
[all …]
Dselector_events.py43 def _check_ssl_socket(sock): argument
64 def _make_socket_transport(self, sock, protocol, waiter=None, *, argument
82 def _make_datagram_transport(self, sock, protocol, argument
147 def _start_serving(self, protocol_factory, sock, argument
155 self, protocol_factory, sock, argument
353 async def sock_recv(self, sock, n): argument
379 def _sock_recv(self, fut, sock, n): argument
395 async def sock_recv_into(self, sock, buf): argument
416 def _sock_recv_into(self, fut, sock, buf): argument
433 async def sock_sendall(self, sock, data): argument
[all …]
/external/deqp/framework/delibs/deutil/
DdeSocket.c412 deSocket* sock = (deSocket*)deCalloc(sizeof(deSocket)); in deSocket_create() local
429 void deSocket_destroy (deSocket* sock) in deSocket_destroy()
438 deSocketState deSocket_getState (const deSocket* sock) in deSocket_getState()
443 deUint32 deSocket_getOpenChannels (const deSocket* sock) in deSocket_getOpenChannels()
448 deBool deSocket_setFlags (deSocket* sock, deUint32 flags) in deSocket_setFlags()
496 deBool deSocket_listen (deSocket* sock, const deSocketAddress* address) in deSocket_listen()
542 deSocket* deSocket_accept (deSocket* sock, deSocketAddress* clientAddress) in deSocket_accept()
578 deBool deSocket_connect (deSocket* sock, const deSocketAddress* address) in deSocket_connect()
611 deBool deSocket_shutdown (deSocket* sock, deUint32 channels) in deSocket_shutdown()
696 deBool deSocket_close (deSocket* sock) in deSocket_close()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtcp_client.py11 def read(sock, n): argument
20 def send(sock, s): argument
35 sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) variable
/external/libnl/tests/
Dtest-complex-HTB-with-hash-filters.c140 static int u32_add_filter_on_ht(struct nl_sock *sock, struct rtnl_link *rtnlLink, uint32_t prio, in u32_add_filter_on_ht()
192 static int u32_add_filter_on_ht_with_hashmask(struct nl_sock *sock, struct rtnl_link *rtnlLink, uin… in u32_add_filter_on_ht_with_hashmask()
243 static int u32_add_ht(struct nl_sock *sock, struct rtnl_link *rtnlLink, uint32_t prio, uint32_t hti… in u32_add_ht()
282 static int qdisc_add_HTB(struct nl_sock *sock, struct rtnl_link *rtnlLink, uint32_t defaultClass) in qdisc_add_HTB()
332 static int class_add_HTB(struct nl_sock *sock, struct rtnl_link *rtnlLink, in class_add_HTB()
394 static int class_add_HTB_root(struct nl_sock *sock, struct rtnl_link *rtnlLink, in class_add_HTB_root()
449 static int qdisc_add_SFQ_leaf(struct nl_sock *sock, struct rtnl_link *rtnlLink, in qdisc_add_SFQ_leaf()
499 struct nl_sock *sock; in main() local
Dtest-u32-filter-with-actions.c106 int u32_add_filter_on_ht_with_hashmask(struct nl_sock *sock, struct rtnl_link *rtnlLink, uint32_t p… in u32_add_filter_on_ht_with_hashmask()
158 int u32_add_ht(struct nl_sock *sock, struct rtnl_link *rtnlLink, uint32_t prio, uint32_t htid, uint… in u32_add_ht()
198 int qdisc_add_ingress(struct nl_sock *sock, struct rtnl_link *rtnlLink) in qdisc_add_ingress()
239 struct nl_sock *sock; in main() local
/external/libnl/src/lib/
Dlink.c35 struct nl_cache *nl_cli_link_alloc_cache_family_flags(struct nl_sock *sock, in nl_cli_link_alloc_cache_family_flags()
51 struct nl_cache *nl_cli_link_alloc_cache_family(struct nl_sock *sock, int family) in nl_cli_link_alloc_cache_family()
56 struct nl_cache *nl_cli_link_alloc_cache(struct nl_sock *sock) in nl_cli_link_alloc_cache()
61 struct nl_cache *nl_cli_link_alloc_cache_flags(struct nl_sock *sock, in nl_cli_link_alloc_cache_flags()
/external/linux-kselftest/tools/testing/selftests/vm/
Dmap_populate.c33 static int parent_f(int sock, unsigned long *smap, int child) in parent_f()
53 static int child_f(int sock, unsigned long *smap, int fd) in child_f()
77 int sock[2], child, ret; in main() local
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c104 int ret, sock = socket(PF_PACKET, SOCK_RAW, 0); in pfsocket() local
223 static void walk_v1_v2_rx(int sock, struct ring *ring) in walk_v1_v2_rx()
345 static void __v1_v2_set_packet_loss_discard(int sock) in __v1_v2_set_packet_loss_discard()
373 static void walk_tx(int sock, struct ring *ring) in walk_tx()
504 static void walk_v1_v2(int sock, struct ring *ring) in walk_v1_v2()
585 static void walk_v3_rx(int sock, struct ring *ring) in walk_v3_rx()
626 static void walk_v3(int sock, struct ring *ring) in walk_v3()
671 static void setup_ring(int sock, struct ring *ring, int version, int type) in setup_ring()
712 static void mmap_ring(int sock, struct ring *ring) in mmap_ring()
730 static void bind_ring(int sock, struct ring *ring) in bind_ring()
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_sock_lowlevel.py68 def _basetest_sock_client_ops(self, httpd, sock): argument
104 def _basetest_sock_recv_into(self, httpd, sock): argument
128 async def _basetest_sock_recv_racing(self, httpd, sock): argument
144 async def _basetest_sock_recv_into_racing(self, httpd, sock): argument
164 async def _basetest_sock_send_racing(self, listener, sock): argument
219 async def _basetest_sock_connect_racing(self, listener, sock): argument
/external/android-clat/
Dsetif.c138 static int do_anycast_setsockopt(int sock, int what, struct in6_addr *addr, int ifindex) { in do_anycast_setsockopt()
165 int add_anycast_address(int sock, struct in6_addr *addr, const char *ifname) { in add_anycast_address()
182 int del_anycast_address(int sock, struct in6_addr *addr) { in del_anycast_address()
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnectionOperator.java145 Socket sock = plain_sf.createSocket(); in openConnection() local
239 final Socket sock; in updateSecureConnection() local
262 protected void prepareSocket(Socket sock, HttpContext context, in prepareSocket()
/external/apache-http/src/org/apache/http/conn/
DOperatedClientConnection.java130 void opening(Socket sock, HttpHost target) in opening()
173 void update(Socket sock, HttpHost target, in update()
/external/autotest/client/profilers/powertop/src/
Dethernet.c54 int sock; in activate_WOL_suggestion() local
95 int sock; in suggest_WOL_off() local
/external/boringssl/src/crypto/bio/
Dsocket_helper.c91 int bio_socket_nbio(int sock, int on) { in bio_socket_nbio()
112 int bio_sock_error(int sock) { in bio_sock_error()
/external/rust/crates/quiche/deps/boringssl/src/crypto/bio/
Dsocket_helper.c87 int bio_socket_nbio(int sock, int on) { in bio_socket_nbio()
108 int bio_sock_error(int sock) { in bio_sock_error()
/external/adhd/cras/src/tests/
Dhfp_info_unittest.cc172 int sock[2]; in TEST() local
228 int sock[2]; in TEST() local
248 int sock[2]; in TEST() local
293 int sock[2]; in TEST() local
375 int sock[2]; in TEST() local
475 int sock[2]; in TEST() local
/external/tpm2-tss/src/util/
Dio.c118 SOCKET sock, in socket_recv_buf()
127 SOCKET sock, in socket_xmit_buf()
183 SOCKET *sock) in socket_connect()
/external/rust/crates/gdbstub/examples/armv4t/
Dmain.rs20 let sock = TcpListener::bind(sockaddr)?; in wait_for_tcp() localVariable
39 let sock = UnixListener::bind(path)?; in wait_for_uds() localVariable

12345678910>>...20