• Home
  • Raw
  • Download

Lines Matching refs:udp

110     ip::udp::socket socket1(ioc);  in test()
111 ip::udp::socket socket2(ioc, ip::udp::v4()); in test()
112 ip::udp::socket socket3(ioc, ip::udp::v6()); in test()
113 ip::udp::socket socket4(ioc, ip::udp::endpoint(ip::udp::v4(), 0)); in test()
114 ip::udp::socket socket5(ioc, ip::udp::endpoint(ip::udp::v6(), 0)); in test()
116 ip::udp::socket::native_handle_type native_socket1 in test()
118 ip::udp::socket socket6(ioc, ip::udp::v4(), native_socket1); in test()
121 ip::udp::socket socket7(ioc_ex); in test()
122 ip::udp::socket socket8(ioc_ex, ip::udp::v4()); in test()
123 ip::udp::socket socket9(ioc_ex, ip::udp::v6()); in test()
124 ip::udp::socket socket10(ioc_ex, ip::udp::endpoint(ip::udp::v4(), 0)); in test()
125 ip::udp::socket socket11(ioc_ex, ip::udp::endpoint(ip::udp::v6(), 0)); in test()
127 ip::udp::socket::native_handle_type native_socket2 in test()
129 ip::udp::socket socket12(ioc_ex, ip::udp::v4(), native_socket2); in test()
133 ip::udp::socket socket13(std::move(socket6)); in test()
139 socket1 = ip::udp::socket(ioc); in test()
145 ip::udp::socket::executor_type ex = socket1.get_executor(); in test()
150 ip::udp::socket::lowest_layer_type& lowest_layer = socket1.lowest_layer(); in test()
153 const ip::udp::socket& socket14 = socket1; in test()
154 const ip::udp::socket::lowest_layer_type& lowest_layer2 in test()
158 socket1.open(ip::udp::v4()); in test()
159 socket1.open(ip::udp::v6()); in test()
160 socket1.open(ip::udp::v4(), ec); in test()
161 socket1.open(ip::udp::v6(), ec); in test()
164 ip::udp::socket::native_handle_type native_socket3 in test()
166 socket1.assign(ip::udp::v4(), native_socket3); in test()
167 ip::udp::socket::native_handle_type native_socket4 in test()
169 socket1.assign(ip::udp::v4(), native_socket4, ec); in test()
181 ip::udp::socket::native_handle_type native_socket5 in test()
198 socket1.bind(ip::udp::endpoint(ip::udp::v4(), 0)); in test()
199 socket1.bind(ip::udp::endpoint(ip::udp::v6(), 0)); in test()
200 socket1.bind(ip::udp::endpoint(ip::udp::v4(), 0), ec); in test()
201 socket1.bind(ip::udp::endpoint(ip::udp::v6(), 0), ec); in test()
203 socket1.connect(ip::udp::endpoint(ip::udp::v4(), 0)); in test()
204 socket1.connect(ip::udp::endpoint(ip::udp::v6(), 0)); in test()
205 socket1.connect(ip::udp::endpoint(ip::udp::v4(), 0), ec); in test()
206 socket1.connect(ip::udp::endpoint(ip::udp::v6(), 0), ec); in test()
208 socket1.async_connect(ip::udp::endpoint(ip::udp::v4(), 0), in test()
210 socket1.async_connect(ip::udp::endpoint(ip::udp::v6(), 0), in test()
212 int i1 = socket1.async_connect(ip::udp::endpoint(ip::udp::v4(), 0), lazy); in test()
214 int i2 = socket1.async_connect(ip::udp::endpoint(ip::udp::v6(), 0), lazy); in test()
244 ip::udp::endpoint endpoint1 = socket1.local_endpoint(); in test()
246 ip::udp::endpoint endpoint2 = socket1.local_endpoint(ec); in test()
249 ip::udp::endpoint endpoint3 = socket1.remote_endpoint(); in test()
251 ip::udp::endpoint endpoint4 = socket1.remote_endpoint(ec); in test()
296 ip::udp::endpoint(ip::udp::v4(), 0)); in test()
298 ip::udp::endpoint(ip::udp::v6(), 0)); in test()
300 ip::udp::endpoint(ip::udp::v4(), 0)); in test()
302 ip::udp::endpoint(ip::udp::v6(), 0)); in test()
304 ip::udp::endpoint(ip::udp::v4(), 0)); in test()
306 ip::udp::endpoint(ip::udp::v6(), 0)); in test()
308 ip::udp::endpoint(ip::udp::v4(), 0), in_flags); in test()
310 ip::udp::endpoint(ip::udp::v6(), 0), in_flags); in test()
312 ip::udp::endpoint(ip::udp::v4(), 0), in_flags); in test()
314 ip::udp::endpoint(ip::udp::v6(), 0), in_flags); in test()
316 ip::udp::endpoint(ip::udp::v4(), 0), in_flags); in test()
318 ip::udp::endpoint(ip::udp::v6(), 0), in_flags); in test()
320 ip::udp::endpoint(ip::udp::v4(), 0), in_flags, ec); in test()
322 ip::udp::endpoint(ip::udp::v6(), 0), in_flags, ec); in test()
324 ip::udp::endpoint(ip::udp::v4(), 0), in_flags, ec); in test()
326 ip::udp::endpoint(ip::udp::v6(), 0), in_flags, ec); in test()
328 ip::udp::endpoint(ip::udp::v4(), 0), in_flags, ec); in test()
330 ip::udp::endpoint(ip::udp::v6(), 0), in_flags, ec); in test()
333 ip::udp::endpoint(ip::udp::v4(), 0), send_handler()); in test()
335 ip::udp::endpoint(ip::udp::v6(), 0), send_handler()); in test()
337 ip::udp::endpoint(ip::udp::v4(), 0), send_handler()); in test()
339 ip::udp::endpoint(ip::udp::v6(), 0), send_handler()); in test()
341 ip::udp::endpoint(ip::udp::v4(), 0), send_handler()); in test()
343 ip::udp::endpoint(ip::udp::v6(), 0), send_handler()); in test()
345 ip::udp::endpoint(ip::udp::v4(), 0), in_flags, send_handler()); in test()
347 ip::udp::endpoint(ip::udp::v6(), 0), in_flags, send_handler()); in test()
349 ip::udp::endpoint(ip::udp::v4(), 0), in_flags, send_handler()); in test()
351 ip::udp::endpoint(ip::udp::v6(), 0), in_flags, send_handler()); in test()
353 ip::udp::endpoint(ip::udp::v4(), 0), in_flags, send_handler()); in test()
355 ip::udp::endpoint(ip::udp::v6(), 0), in_flags, send_handler()); in test()
357 ip::udp::endpoint(ip::udp::v4(), 0), lazy); in test()
360 ip::udp::endpoint(ip::udp::v6(), 0), lazy); in test()
363 ip::udp::endpoint(ip::udp::v4(), 0), lazy); in test()
366 ip::udp::endpoint(ip::udp::v6(), 0), lazy); in test()
369 ip::udp::endpoint(ip::udp::v4(), 0), lazy); in test()
372 ip::udp::endpoint(ip::udp::v6(), 0), lazy); in test()
375 ip::udp::endpoint(ip::udp::v4(), 0), in_flags, lazy); in test()
378 ip::udp::endpoint(ip::udp::v6(), 0), in_flags, lazy); in test()
381 ip::udp::endpoint(ip::udp::v4(), 0), in_flags, lazy); in test()
384 ip::udp::endpoint(ip::udp::v6(), 0), in_flags, lazy); in test()
387 ip::udp::endpoint(ip::udp::v4(), 0), in_flags, lazy); in test()
390 ip::udp::endpoint(ip::udp::v6(), 0), in_flags, lazy); in test()
415 ip::udp::endpoint endpoint; in test()
489 ip::udp::socket s1(ioc, ip::udp::endpoint(ip::udp::v4(), 0)); in test()
490 ip::udp::endpoint target_endpoint = s1.local_endpoint(); in test()
493 ip::udp::socket s2(ioc); in test()
494 s2.open(ip::udp::v4()); in test()
495 s2.bind(ip::udp::endpoint(ip::udp::v4(), 0)); in test()
500 ip::udp::endpoint sender_endpoint; in test()
535 boost::asio::ip::udp::resolver::results_type) {} in operator ()()
555 ip::udp::resolver::query q(ip::udp::v4(), "localhost", "0"); in test()
557 ip::udp::endpoint e(ip::address_v4::loopback(), 0); in test()
561 ip::udp::resolver resolver(ioc); in test()
562 ip::udp::resolver resolver2(ioc_ex); in test()
565 ip::udp::resolver resolver3(std::move(resolver)); in test()
571 resolver = ip::udp::resolver(ioc); in test()
577 ip::udp::resolver::executor_type ex = resolver.get_executor(); in test()
585 ip::udp::resolver::results_type results1 = resolver.resolve(q); in test()
588 ip::udp::resolver::results_type results2 = resolver.resolve(q, ec); in test()
592 ip::udp::resolver::results_type results3 = resolver.resolve("", ""); in test()
595 ip::udp::resolver::results_type results4 = resolver.resolve("", "", ec); in test()
598 ip::udp::resolver::results_type results5 = in test()
599 resolver.resolve("", "", ip::udp::resolver::flags()); in test()
602 ip::udp::resolver::results_type results6 = in test()
603 resolver.resolve("", "", ip::udp::resolver::flags(), ec); in test()
606 ip::udp::resolver::results_type results7 = in test()
607 resolver.resolve(ip::udp::v4(), "", ""); in test()
610 ip::udp::resolver::results_type results8 = in test()
611 resolver.resolve(ip::udp::v4(), "", "", ec); in test()
614 ip::udp::resolver::results_type results9 = in test()
615 resolver.resolve(ip::udp::v4(), "", "", ip::udp::resolver::flags()); in test()
618 ip::udp::resolver::results_type results10 = in test()
619 resolver.resolve(ip::udp::v4(), "", "", ip::udp::resolver::flags(), ec); in test()
622 ip::udp::resolver::results_type results11 = resolver.resolve(e); in test()
625 ip::udp::resolver::results_type results12 = resolver.resolve(e, ec); in test()
639 ip::udp::resolver::flags(), resolve_handler()); in test()
641 ip::udp::resolver::flags(), lazy); in test()
644 resolver.async_resolve(ip::udp::v4(), "", "", resolve_handler()); in test()
645 int i4 = resolver.async_resolve(ip::udp::v4(), "", "", lazy); in test()
648 resolver.async_resolve(ip::udp::v4(), in test()
649 "", "", ip::udp::resolver::flags(), resolve_handler()); in test()
650 int i5 = resolver.async_resolve(ip::udp::v4(), in test()
651 "", "", ip::udp::resolver::flags(), lazy); in test()