Home
last modified time | relevance | path

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

1234567891011

/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/libcoap/src/
Dcoap_io_lwip.c155 coap_socket_send_pdu(coap_socket_t *sock, coap_session_t *session, in coap_socket_send_pdu()
168 coap_socket_send(coap_socket_t *sock, coap_session_t *session, in coap_socket_send()
175 coap_socket_bind_udp(coap_socket_t *sock, in coap_socket_bind_udp()
182 coap_socket_connect_udp(coap_socket_t *sock, in coap_socket_connect_udp()
192 coap_socket_connect_tcp1(coap_socket_t *sock, in coap_socket_connect_tcp1()
202 coap_socket_connect_tcp2(coap_socket_t *sock, in coap_socket_connect_tcp2()
209 coap_socket_bind_tcp(coap_socket_t *sock, in coap_socket_bind_tcp()
224 coap_socket_write(coap_socket_t *sock, const uint8_t *data, size_t data_len) { in coap_socket_write()
229 coap_socket_read(coap_socket_t *sock, uint8_t *data, size_t data_len) { in coap_socket_read()
233 void coap_socket_close(coap_socket_t *sock) { in coap_socket_close()
Dcoap_io.c103 coap_socket_bind_udp(coap_socket_t *sock, in coap_socket_bind_udp()
121 coap_socket_connect_udp(coap_socket_t *sock, in coap_socket_connect_udp()
131 coap_socket_write(coap_socket_t *sock, const uint8_t *data, size_t data_len) { in coap_socket_write()
136 coap_socket_read(coap_socket_t *sock, uint8_t *data, size_t data_len) { in coap_socket_read()
140 void coap_socket_close(coap_socket_t *sock) { in coap_socket_close()
159 coap_socket_bind_udp(coap_socket_t *sock,
296 coap_socket_connect_udp(coap_socket_t *sock,
452 void coap_socket_close(coap_socket_t *sock) {
481 coap_epoll_ctl_mod(coap_socket_t *sock,
511 coap_socket_write(coap_socket_t *sock, const uint8_t *data, size_t data_len) {
[all …]
Dcoap_io_riot.c44 coap_network_send(coap_socket_t *sock, in coap_network_send()
73 coap_network_read(coap_socket_t *sock, coap_packet_t *packet) { in coap_network_read()
228 coap_socket_t *sock = find_socket(s->sock.fd, sockets, num_sockets); in coap_io_process() local
249 coap_socket_t *sock = find_socket(ep->sock.fd, sockets, num_sockets); in coap_io_process() local
Dcoap_tcp.c39 coap_socket_connect_tcp1(coap_socket_t *sock,
154 coap_socket_connect_tcp2(coap_socket_t *sock,
194 coap_socket_bind_tcp(coap_socket_t *sock,
/third_party/lwip/src/api/
Dsockets.c131 #define SOCK_ADDR_TYPE_MATCH(name, sock) \ argument
146 #define SOCK_ADDR_TYPE_MATCH(name, sock) 1 argument
155 #define SOCK_ADDR_TYPE_MATCH(name, sock) 1 argument
165 #define SOCK_ADDR_TYPE_MATCH_OR_UNSPEC(name, sock) (((name)->sa_family == AF_UNSPEC) || \ argument
170 #define LWIP_SOCKOPT_CHECK_OPTLEN(sock, optlen, opttype) do { if ((optlen) < sizeof(opttype)) { don… argument
171 #define LWIP_SOCKOPT_CHECK_OPTLEN_CONN(sock, optlen, opttype) do { \ argument
174 #define LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB(sock, optlen, opttype) do { \ argument
177 #define LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB_TYPE(sock, optlen, opttype, netconntype) do { \ argument
186 #define LWIP_SETGETSOCKOPT_DATA_VAR_ALLOC(name, sock) do { \ argument
194 #define LWIP_SETGETSOCKOPT_DATA_VAR_ALLOC(name, sock) argument
[all …]
/third_party/openssl/crypto/bio/
Dbio_sock2.c43 int sock = -1; in BIO_socket() local
79 int BIO_connect(int sock, const BIO_ADDR *addr, int options) in BIO_connect()
148 int BIO_bind(int sock, const BIO_ADDR *addr, int options) in BIO_bind()
222 int BIO_listen(int sock, const BIO_ADDR *addr, int options) in BIO_listen()
334 int BIO_closesocket(int sock) in BIO_closesocket()
/third_party/python/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
457 def __init__(self, loop, sock, protocol, address=None, argument
469 def _set_extra(self, sock): argument
602 def __init__(self, loop, sock, protocol, waiter=None, argument
607 def _set_extra(self, sock): argument
636 def _make_socket_transport(self, sock, protocol, waiter=None, argument
654 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 …]
/third_party/vk-gl-cts/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 …]
/third_party/lwip/src/core/distributed_net/
Ddistributed_net_core.c45 int distributed_net_connect(int sock, const struct sockaddr *addr, socklen_t addr_len) in distributed_net_connect()
85 int distributed_net_close(int sock) in distributed_net_close()
104 ssize_t distributed_net_sendto(int sock, const void *buf, size_t buf_len, int flags, const struct s… in distributed_net_sendto()
146 ssize_t distributed_net_sendmsg(int sock, const struct msghdr *hdr, int flags) in distributed_net_sendmsg()
191 ssize_t distributed_net_recvfrom(int sock, void *buf, size_t buf_len, int flags, struct sockaddr *f… in distributed_net_recvfrom()
Ddistributed_net.c59 int sock = lwip_socket(AF_INET, SOCK_STREAM, 0); in try_connect_to_local_tcp_server() local
70 void set_distributed_net_socket(int sock) in set_distributed_net_socket()
80 void reset_distributed_net_socket(int sock) in reset_distributed_net_socket()
Dudp_transmit.c63 ssize_t udp_transmit_sendto(int sock, const void *buf, size_t buf_len, const struct sockaddr_in *de… in udp_transmit_sendto()
99 ssize_t udp_transmit_sendmsg(int sock, const struct msghdr *hdr) in udp_transmit_sendmsg()
/third_party/ltp/testcases/kernel/syscalls/send/
Dsend02.c25 static int sock = -1, dst_sock = -1, listen_sock = -1; variable
29 static void do_send(int sock, void *buf, size_t size, int flags) in do_send()
34 static void do_sendto(int sock, void *buf, size_t size, int flags) in do_sendto()
40 static void do_sendmsg(int sock, void *buf, size_t size, int flags) in do_sendmsg()
74 static int check_recv(int sock, long expsize, int loop) in check_recv()
/third_party/libuv/test/
Dtest-poll.c60 uv_os_sock_t sock; member
70 uv_os_sock_t sock; member
104 uv_os_sock_t sock; in create_bound_socket() local
130 static void close_socket(uv_os_sock_t sock) { in close_socket()
145 uv_os_sock_t sock, int is_server_connection) { in create_connection_context()
462 uv_os_sock_t sock) {
497 uv_os_sock_t sock; local
525 uv_os_sock_t sock; local
541 uv_os_sock_t sock; local
Dtest-udp-open.c50 uv_os_sock_t sock; in create_udp_socket() local
72 static void close_socket(uv_os_sock_t sock) { in close_socket()
142 uv_os_sock_t sock; in TEST_IMPL() local
225 uv_os_sock_t sock; in TEST_IMPL() local
257 uv_os_sock_t sock; in TEST_IMPL() local
Dtest-tcp-open.c55 uv_os_sock_t sock; in create_tcp_socket() local
77 static void close_socket(uv_os_sock_t sock) { in close_socket()
238 uv_os_sock_t sock; in TEST_IMPL() local
315 uv_os_sock_t sock; in TEST_IMPL() local
338 uv_os_sock_t sock; in TEST_IMPL() local
371 uv_os_sock_t sock; in TEST_IMPL() local
/third_party/python/Lib/test/test_asyncio/
Dtest_sock_lowlevel.py72 def _basetest_sock_client_ops(self, httpd, sock): argument
108 def _basetest_sock_recv_into(self, httpd, sock): argument
132 async def _basetest_sock_recv_racing(self, httpd, sock): argument
148 async def _basetest_sock_recv_into_racing(self, httpd, sock): argument
168 async def _basetest_sock_send_racing(self, listener, sock): argument
223 async def _basetest_sock_connect_racing(self, listener, sock): argument
Dtest_sslproto.py224 def serve(sock): argument
290 def serve(sock): argument
355 def serve(sock): argument
445 def serve(sock): argument
508 def client(sock, addr): argument
610 def server(sock): argument
654 def server(sock): argument
688 def server(sock): argument
720 def server(sock): argument
Dfunctional.py120 def __init__(self, sock): argument
174 def __init__(self, test, sock, prog, timeout): argument
193 def __init__(self, test, sock, prog, timeout, max_clients): argument
264 def _handle_client(self, sock): argument
/third_party/node/test/parallel/
Dtest-net-connect-memleak.js42 const sock = net.createConnection( constant
51 function done(sock) { argument
Dtest-tls-connect-memleak.js49 const sock = tls.connect( constant
59 function done(sock) { argument
/third_party/alsa-lib/src/
Dsocket.c43 int snd_send_fd(int sock, void *data, size_t len, int fd) in snd_send_fd()
76 int snd_receive_fd(int sock, void *data, size_t len, int *fd) in snd_receive_fd()
/third_party/python/Lib/test/support/
Dsocket_helper.py76 def bind_port(sock, host=HOST): argument
115 def bind_unix_socket(sock, addr): argument

1234567891011