Home
last modified time | relevance | path

Searched refs:socket_type (Results 1 – 25 of 39) sorted by relevance

12

/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dsocket_ops.hpp63 ASIO_DECL socket_type accept(socket_type s, socket_addr_type* addr,
66 ASIO_DECL socket_type sync_accept(socket_type s,
71 ASIO_DECL bool non_blocking_accept(socket_type s,
73 asio::error_code& ec, socket_type& new_socket);
76 ASIO_DECL int bind(socket_type s, const socket_addr_type* addr,
79 ASIO_DECL int close(socket_type s, state_type& state,
82 ASIO_DECL bool set_user_non_blocking(socket_type s,
85 ASIO_DECL bool set_internal_non_blocking(socket_type s,
88 ASIO_DECL int shutdown(socket_type s,
91 ASIO_DECL int connect(socket_type s, const socket_addr_type* addr,
[all …]
Dposix_fd_set_adapter.hpp45 bool set(socket_type descriptor) in set()
47 if (descriptor < (socket_type)FD_SETSIZE) in set()
57 void set(reactor_op_queue<socket_type>& operations, op_queue<operation>& ops) in set()
59 reactor_op_queue<socket_type>::iterator i = operations.begin(); in set()
62 reactor_op_queue<socket_type>::iterator op_iter = i++; in set()
71 bool is_set(socket_type descriptor) const in is_set()
81 socket_type max_descriptor() const in max_descriptor()
86 void perform(reactor_op_queue<socket_type>& operations, in perform()
89 reactor_op_queue<socket_type>::iterator i = operations.begin(); in perform()
92 reactor_op_queue<socket_type>::iterator op_iter = i++; in perform()
[all …]
Dselect_reactor.hpp69 ASIO_DECL int register_descriptor(socket_type, per_descriptor_data&);
74 int op_type, socket_type descriptor,
85 ASIO_DECL void start_op(int op_type, socket_type descriptor,
91 ASIO_DECL void cancel_ops(socket_type descriptor, per_descriptor_data&);
95 ASIO_DECL void deregister_descriptor(socket_type descriptor,
100 socket_type descriptor, per_descriptor_data& descriptor_data);
103 ASIO_DECL void move_descriptor(socket_type descriptor,
148 ASIO_DECL void cancel_ops_unlocked(socket_type descriptor,
161 reactor_op_queue<socket_type> op_queue_[max_ops];
Dsocket_holder.hpp36 explicit socket_holder(socket_type s) in socket_holder()
53 socket_type get() const in get()
71 void reset(socket_type s) in reset()
78 socket_type release() in release()
80 socket_type tmp = socket_; in release()
87 socket_type socket_;
Dreactive_socket_accept_op.hpp33 reactive_socket_accept_op_base(socket_type socket, in reactive_socket_accept_op_base()
51 socket_type new_socket = invalid_socket; in do_perform()
70 socket_type socket_;
84 reactive_socket_accept_op(socket_type socket, in reactive_socket_accept_op()
Dreactive_socket_connect_op.hpp31 reactive_socket_connect_op_base(socket_type socket, func_type complete_func) in reactive_socket_connect_op_base()
46 socket_type socket_;
55 reactive_socket_connect_op(socket_type socket, Handler& handler) in reactive_socket_connect_op()
Dreactive_socket_send_op.hpp32 reactive_socket_send_op_base(socket_type socket, in reactive_socket_send_op_base()
56 socket_type socket_;
68 reactive_socket_send_op(socket_type socket, in reactive_socket_send_op()
Dreactive_socket_recvmsg_op.hpp33 reactive_socket_recvmsg_op_base(socket_type socket, in reactive_socket_recvmsg_op_base()
59 socket_type socket_;
72 reactive_socket_recvmsg_op(socket_type socket, in reactive_socket_recvmsg_op()
Dreactive_socket_recv_op.hpp32 reactive_socket_recv_op_base(socket_type socket, in reactive_socket_recv_op_base()
58 socket_type socket_;
71 reactive_socket_recv_op(socket_type socket, in reactive_socket_recv_op()
Dreactive_socket_sendto_op.hpp32 reactive_socket_sendto_op_base(socket_type socket, in reactive_socket_sendto_op_base()
58 socket_type socket_;
71 reactive_socket_sendto_op(socket_type socket, in reactive_socket_sendto_op()
Dreactive_socket_recvfrom_op.hpp32 reactive_socket_recvfrom_op_base(socket_type socket, int protocol_type, in reactive_socket_recvfrom_op_base()
65 socket_type socket_;
79 reactive_socket_recvfrom_op(socket_type socket, int protocol_type, in reactive_socket_recvfrom_op()
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dsocket_ops.ipp67 inline socket_type call_accept(SockLenType msghdr::*,
68 socket_type s, socket_addr_type* addr, std::size_t* addrlen)
71 socket_type result = ::accept(s, addr, addrlen ? &tmp_addrlen : 0);
77 socket_type accept(socket_type s, socket_addr_type* addr,
88 socket_type new_s = error_wrapper(call_accept(
108 socket_type sync_accept(socket_type s, state_type state,
115 socket_type new_socket = socket_ops::accept(s, addr, addrlen, ec);
153 bool non_blocking_accept(socket_type s,
155 asio::error_code& ec, socket_type& new_socket)
202 socket_type s, const socket_addr_type* addr, std::size_t addrlen)
[all …]
Dselect_reactor.ipp72 int select_reactor::register_descriptor(socket_type,
79 int op_type, socket_type descriptor,
90 void select_reactor::move_descriptor(socket_type,
96 void select_reactor::start_op(int op_type, socket_type descriptor,
114 void select_reactor::cancel_ops(socket_type descriptor,
121 void select_reactor::deregister_descriptor(socket_type descriptor,
129 socket_type descriptor, select_reactor::per_descriptor_data&)
146 socket_type max_fd = 0;
222 void select_reactor::cancel_ops_unlocked(socket_type descriptor,
/external/grpc-grpc/test/core/network_benchmarks/
Dlow_level_ping_pong.cc560 int create_socket(const char* socket_type, fd_pair* client_fds, in create_socket() argument
562 if (strcmp(socket_type, "tcp") == 0) { in create_socket()
564 } else if (strcmp(socket_type, "socketpair") == 0) { in create_socket()
566 } else if (strcmp(socket_type, "pipe") == 0) { in create_socket()
569 fprintf(stderr, "Invalid socket type %s\n", socket_type); in create_socket()
576 static int run_benchmark(const char* socket_type, thread_args* client_args, in run_benchmark() argument
580 rv = create_socket(socket_type, &client_args->fds, &server_args->fds); in run_benchmark()
586 socket_type, client_args->msg_size); in run_benchmark()
607 const char* socket_type = socket_types[j]; in run_all_benchmarks() local
619 error = run_benchmark(socket_type, client_args, server_args); in run_all_benchmarks()
[all …]
/external/syzkaller/sys/netbsd/
Dsocket_inet.txt24 socket$inet(domain const[AF_INET], type flags[socket_type], proto int8) sock_in
25 socketpair$inet(domain const[AF_INET], type flags[socket_type], proto int8, fds ptr[out, sock_in_pa…
Dsocket_inet6.txt29 socket$inet6(domain const[AF_INET6], type flags[socket_type], proto int8) sock_in6
30 socketpair$inet6(domain const[AF_INET6], type flags[socket_type], proto int8, fds ptr[out, sock_in6…
Dsocket.txt16 socket(domain flags[socket_domain], type flags[socket_type], proto int8) sock
17 socketpair(domain flags[socket_domain], type flags[socket_type], proto int8, fds ptr[out, pipefd])
37 socket_type = SOCK_STREAM, SOCK_DGRAM, SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SOCK_NONBLOCK, SOCK_CLOE…
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Drxtimestamp.c35 struct socket_type { struct
60 static struct socket_type socket_types[] = { argument
271 bool run_test_case(struct socket_type s, struct test_case t) in run_test_case()
/external/syzkaller/sys/freebsd/
Dsocket.txt18 socket(domain flags[socket_domain], type flags[socket_type], proto int8) sock
19 socketpair(domain flags[socket_domain], type flags[socket_type], proto int8, fds ptr[out, pipefd])
39 socket_type = SOCK_STREAM, SOCK_DGRAM, SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SOCK_NONBLOCK, SOCK_CLOE…
Dsocket_inet6.txt36 socket$inet6(domain const[AF_INET6], type flags[socket_type], proto int8) sock_in6
37 socketpair$inet6(domain const[AF_INET6], type flags[socket_type], proto int8, fds ptr[out, sock_in6…
Dsocket_inet.txt31 socket$inet(domain const[AF_INET], type flags[socket_type], proto int8) sock_in
32 socketpair$inet(domain const[AF_INET], type flags[socket_type], proto int8, fds ptr[out, sock_in_pa…
/external/python/cpython2/Lib/
DSocketServer.py404 socket_type = socket.SOCK_STREAM variable in TCPServer
414 self.socket_type)
487 socket_type = socket.SOCK_DGRAM variable in UDPServer
/external/libpcap/rpcapd/
Drpcapd.xinetd.conf2 socket_type = stream
/external/python/cpython3/Lib/
Dsocketserver.py439 socket_type = socket.SOCK_STREAM variable in TCPServer
449 self.socket_type)
522 socket_type = socket.SOCK_DGRAM variable in UDPServer
/external/ltp/testcases/network/xinetd/
Dxinetd_tests.sh63 socket_type = stream

12