Home
last modified time | relevance | path

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

12345678910>>...17

/third_party/libsoup/libsoup/
Dsoup-socket.c114 soup_socket_init (SoupSocket *sock) in soup_socket_init()
129 SoupSocket *sock = SOUP_SOCKET (initable); in soup_socket_initable_init() local
184 disconnect_internal (SoupSocket *sock, gboolean close) in disconnect_internal()
208 SoupSocket *sock = SOUP_SOCKET (object); in soup_socket_finalize() local
248 finish_socket_setup (SoupSocket *sock) in finish_socket_setup()
275 SoupSocket *sock = SOUP_SOCKET (object); in soup_socket_set_property() local
377 SoupSocket *sock = SOUP_SOCKET (object); in soup_socket_get_property() local
839 SoupSocket *sock; in soup_socket_new() local
851 soup_socket_event (SoupSocket *sock, in soup_socket_event()
866 SoupSocket *sock = user_data; in re_emit_socket_client_event() local
[all …]
/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_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_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 …]
/third_party/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()
/third_party/lwip/src/api/
Dsockets.c127 #define SOCK_ADDR_TYPE_MATCH(name, sock) \ argument
142 #define SOCK_ADDR_TYPE_MATCH(name, sock) 1 argument
151 #define SOCK_ADDR_TYPE_MATCH(name, sock) 1 argument
161 #define SOCK_ADDR_TYPE_MATCH_OR_UNSPEC(name, sock) (((name)->sa_family == AF_UNSPEC) || \ argument
166 #define LWIP_SOCKOPT_CHECK_OPTLEN(sock, optlen, opttype) do { if ((optlen) < sizeof(opttype)) { don… argument
167 #define LWIP_SOCKOPT_CHECK_OPTLEN_CONN(sock, optlen, opttype) do { \ argument
170 #define LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB(sock, optlen, opttype) do { \ argument
173 #define LWIP_SOCKOPT_CHECK_OPTLEN_CONN_PCB_TYPE(sock, optlen, opttype, netconntype) do { \ argument
182 #define LWIP_SETGETSOCKOPT_DATA_VAR_ALLOC(name, sock) do { \ argument
190 #define LWIP_SETGETSOCKOPT_DATA_VAR_ALLOC(name, sock) argument
[all …]
/third_party/openssl/crypto/bio/
Db_sock2.c42 int sock = -1; in BIO_socket() local
77 int BIO_connect(int sock, const BIO_ADDR *addr, int options) in BIO_connect()
134 int BIO_bind(int sock, const BIO_ADDR *addr, int options) in BIO_bind()
206 int BIO_listen(int sock, const BIO_ADDR *addr, int options) in BIO_listen()
312 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.c39 int distributed_net_connect(int sock, const struct sockaddr *addr, socklen_t addr_len) in distributed_net_connect()
76 int distributed_net_close(int sock) in distributed_net_close()
95 ssize_t distributed_net_sendto(int sock, const void *buf, size_t buf_len, int flags, const struct s… in distributed_net_sendto()
137 ssize_t distributed_net_sendmsg(int sock, const struct msghdr *hdr, int flags) in distributed_net_sendmsg()
182 ssize_t distributed_net_recvfrom(int sock, void *buf, size_t buf_len, int flags, struct sockaddr *f… in distributed_net_recvfrom()
Ddistributed_net.c54 int sock = lwip_socket(AF_INET, SOCK_STREAM, 0); in try_connect_to_local_tcp_server() local
65 void set_distributed_net_socket(int sock) in set_distributed_net_socket()
75 void reset_distributed_net_socket(int sock) in reset_distributed_net_socket()
/third_party/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
/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/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()
/third_party/libsoup/tests/
Dsocket-test.c21 SoupSocket *sock; in do_unconnected_socket_test() local
127 SoupSocket *sock; in do_socket_from_fd_client_test() local
186 SoupSocket *sock; in do_socket_from_fd_server_test() local
240 SoupSocket *sock, *sock2; in do_socket_from_fd_bad_test() local
/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/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/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

12345678910>>...17