Home
last modified time | relevance | path

Searched refs:udp (Results 1 – 25 of 223) sorted by relevance

123456789

/third_party/iptables/extensions/
Dlibxt_udp.t2 -p udp -m udp --sport 1;=;OK
3 -p udp -m udp --sport 65535;=;OK
4 -p udp -m udp --dport 1;=;OK
5 -p udp -m udp --dport 65535;=;OK
6 -p udp -m udp --sport 1:1023;=;OK
7 -p udp -m udp --sport 1024:65535;=;OK
8 -p udp -m udp --sport 1024:;-p udp -m udp --sport 1024:65535;OK
9 -p udp -m udp ! --sport 1;=;OK
10 -p udp -m udp ! --sport 65535;=;OK
11 -p udp -m udp ! --dport 1;=;OK
[all …]
Dlibxt_udp.txlate1 iptables-translate -A INPUT -p udp -i eth0 --sport 53 -j ACCEPT
2 nft add rule ip filter INPUT iifname "eth0" udp sport 53 counter accept
4 iptables-translate -A OUTPUT -p udp -o eth0 --dport 53:66 -j DROP
5 nft add rule ip filter OUTPUT oifname "eth0" udp dport 53-66 counter drop
7 iptables-translate -I OUTPUT -p udp -d 8.8.8.8 -j ACCEPT
8 nft insert rule ip filter OUTPUT ip protocol udp ip daddr 8.8.8.8 counter accept
10 iptables-translate -I OUTPUT -p udp --dport 1020:1023 --sport 53 -j ACCEPT
11 nft insert rule ip filter OUTPUT udp sport 53 udp dport 1020-1023 counter accept
Dlibxt_length.txlate4 iptables-translate -A INPUT -p udp -m length --length :400
5 nft add rule ip filter INPUT ip protocol udp meta length 0-400 counter
7 iptables-translate -A INPUT -p udp -m length --length 40
8 nft add rule ip filter INPUT ip protocol udp meta length 40 counter
10 iptables-translate -A INPUT -p udp -m length ! --length 40
11 nft add rule ip filter INPUT ip protocol udp meta length != 40 counter
/third_party/boost/libs/asio/test/ip/
Dudp.cpp110 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()
[all …]
/third_party/boost/boost/asio/ip/
Dudp.hpp43 class udp class
47 typedef basic_endpoint<udp> endpoint;
50 static udp v4() BOOST_ASIO_NOEXCEPT in v4()
52 return udp(BOOST_ASIO_OS_DEF(AF_INET)); in v4()
56 static udp v6() BOOST_ASIO_NOEXCEPT in v6()
58 return udp(BOOST_ASIO_OS_DEF(AF_INET6)); in v6()
80 typedef basic_datagram_socket<udp> socket;
83 typedef basic_resolver<udp> resolver;
86 friend bool operator==(const udp& p1, const udp& p2) in operator ==()
92 friend bool operator!=(const udp& p1, const udp& p2) in operator !=()
[all …]
/third_party/boost/libs/asio/include/boost/asio/ip/
Dudp.hpp43 class udp class
47 typedef basic_endpoint<udp> endpoint;
50 static udp v4() BOOST_ASIO_NOEXCEPT in v4()
52 return udp(BOOST_ASIO_OS_DEF(AF_INET)); in v4()
56 static udp v6() BOOST_ASIO_NOEXCEPT in v6()
58 return udp(BOOST_ASIO_OS_DEF(AF_INET6)); in v6()
80 typedef basic_datagram_socket<udp> socket;
83 typedef basic_resolver<udp> resolver;
86 friend bool operator==(const udp& p1, const udp& p2) in operator ==()
92 friend bool operator!=(const udp& p1, const udp& p2) in operator !=()
[all …]
/third_party/ltp/runtest/
Dnet.nfs5 nfs3_01 nfs01.sh -v 3 -t udp
10 nfs3_ipv6_01 nfs01.sh -6 -v 3 -t udp
16 nfs3_02 nfs02.sh -v 3 -t udp
21 nfs3_ipv6_02 nfs02.sh -6 -v 3 -t udp
27 nfs3_03 nfs03.sh -v 3 -t udp
32 nfs3_ipv6_03 nfs03.sh -6 -v 3 -t udp
38 nfs3_04 nfs04.sh -v 3 -t udp
43 nfs3_ipv6_04 nfs04.sh -6 -v 3 -t udp
49 nfs3_05 nfs05.sh -v 3 -t udp
54 nfs3_ipv6_05 nfs05.sh -6 -v 3 -t udp
[all …]
/third_party/boost/doc/html/boost_asio/example/cpp03/porthopper/
Dclient.cpp25 using boost::asio::ip::udp;
51 boost::shared_ptr<udp::socket> data_socket( in main()
52 new udp::socket(io_context, udp::endpoint(udp::v4(), 0))); in main()
55 udp::endpoint data_endpoint = data_socket->local_endpoint(); in main()
83 boost::shared_ptr<udp::socket> new_data_socket( in main()
84 new udp::socket(io_context, udp::endpoint(udp::v4(), 0))); in main()
87 udp::endpoint new_data_endpoint = new_data_socket->local_endpoint(); in main()
115 lambda::var(data_socket) = boost::shared_ptr<udp::socket>() in main()
/third_party/boost/libs/asio/example/cpp03/porthopper/
Dclient.cpp25 using boost::asio::ip::udp;
51 boost::shared_ptr<udp::socket> data_socket( in main()
52 new udp::socket(io_context, udp::endpoint(udp::v4(), 0))); in main()
55 udp::endpoint data_endpoint = data_socket->local_endpoint(); in main()
83 boost::shared_ptr<udp::socket> new_data_socket( in main()
84 new udp::socket(io_context, udp::endpoint(udp::v4(), 0))); in main()
87 udp::endpoint new_data_endpoint = new_data_socket->local_endpoint(); in main()
115 lambda::var(data_socket) = boost::shared_ptr<udp::socket>() in main()
/third_party/boost/doc/html/boost_asio/example/cpp03/echo/
Dblocking_udp_echo_client.cpp16 using boost::asio::ip::udp;
32 udp::socket s(io_context, udp::endpoint(udp::v4(), 0)); in main()
34 udp::resolver resolver(io_context); in main()
35 udp::resolver::results_type endpoints = in main()
36 resolver.resolve(udp::v4(), argv[1], argv[2]); in main()
46 udp::endpoint sender_endpoint; in main()
/third_party/boost/doc/html/boost_asio/example/cpp11/echo/
Dblocking_udp_echo_client.cpp16 using boost::asio::ip::udp;
32 udp::socket s(io_context, udp::endpoint(udp::v4(), 0)); in main()
34 udp::resolver resolver(io_context); in main()
35 udp::resolver::results_type endpoints = in main()
36 resolver.resolve(udp::v4(), argv[1], argv[2]); in main()
45 udp::endpoint sender_endpoint; in main()
Dblocking_udp_echo_server.cpp15 using boost::asio::ip::udp;
21 udp::socket sock(io_context, udp::endpoint(udp::v4(), port)); in server()
25 udp::endpoint sender_endpoint; in server()
/third_party/boost/libs/asio/example/cpp03/echo/
Dblocking_udp_echo_client.cpp16 using boost::asio::ip::udp;
32 udp::socket s(io_context, udp::endpoint(udp::v4(), 0)); in main()
34 udp::resolver resolver(io_context); in main()
35 udp::resolver::results_type endpoints = in main()
36 resolver.resolve(udp::v4(), argv[1], argv[2]); in main()
46 udp::endpoint sender_endpoint; in main()
Dblocking_udp_echo_server.cpp15 using boost::asio::ip::udp;
21 udp::socket sock(io_context, udp::endpoint(udp::v4(), port)); in server()
25 udp::endpoint sender_endpoint; in server()
/third_party/boost/libs/asio/example/cpp11/echo/
Dblocking_udp_echo_client.cpp16 using boost::asio::ip::udp;
32 udp::socket s(io_context, udp::endpoint(udp::v4(), 0)); in main()
34 udp::resolver resolver(io_context); in main()
35 udp::resolver::results_type endpoints = in main()
36 resolver.resolve(udp::v4(), argv[1], argv[2]); in main()
45 udp::endpoint sender_endpoint; in main()
Dblocking_udp_echo_server.cpp15 using boost::asio::ip::udp;
21 udp::socket sock(io_context, udp::endpoint(udp::v4(), port)); in server()
25 udp::endpoint sender_endpoint; in server()
/third_party/boost/libs/log/src/
Dsyslog_backend.cpp316 asio::ip::udp::socket m_Socket;
320 …icit syslog_udp_socket(asio::io_context& io_ctx, asio::ip::udp const& protocol, asio::ip::udp::end…
336 …void send_message(int pri, const char* local_host_name, asio::ip::udp::endpoint const& target, con…
359 asio::ip::udp::resolver m_HostNameResolver;
381 … int pri, const char* local_host_name, asio::ip::udp::endpoint const& target, const char* message)
422 asio::ip::udp m_Protocol;
428 asio::ip::udp::endpoint m_TargetHost;
431 explicit udp_socket_based(syslog::facility const& fac, asio::ip::udp const& protocol) : in udp_socket_based()
436 if (m_Protocol == asio::ip::udp::v4()) in udp_socket_based()
438 … m_TargetHost = asio::ip::udp::endpoint(asio::ip::address_v4(0x7F000001), 514); // 127.0.0.1:514 in udp_socket_based()
[all …]
/third_party/iptables/iptables/tests/shell/testcases/ipt-save/dumps/
Dfedora27-iptables26 [0:0] -A POSTROUTING -o virbr0 -p udp -m udp --dport 68 -j CHECKSUM --checksum-fill
56 [0:0] -A PRE_FedoraWorkstation_allow -p udp -m udp --dport 137 -j CT --helper netbios-ns
85 [5:6] -A INPUT -i virbr0 -p udp -m udp --dport 53 -j ACCEPT
87 [0:0] -A INPUT -i virbr0 -p udp -m udp --dport 67 -j ACCEPT
110 [0:0] -A OUTPUT -o virbr0 -p udp -m udp --dport 68 -j ACCEPT
129 [0:0] -A IN_FedoraWorkstation_allow -p udp -m udp --dport 137 -m conntrack --ctstate NEW -j ACCEPT
130 [0:0] -A IN_FedoraWorkstation_allow -p udp -m udp --dport 138 -m conntrack --ctstate NEW -j ACCEPT
132 [0:0] -A IN_FedoraWorkstation_allow -d 224.0.0.251/32 -p udp -m udp --dport 5353 -m conntrack --cts…
133 [0:0] -A IN_FedoraWorkstation_allow -p udp -m udp --dport 1025:65535 -m conntrack --ctstate NEW -j …
Dipt-save-filter.txt18 -A FORWARD -d 192.168.100.77/32 -i ppp0 -p udp -m udp --dport 4166 -j ACCEPT
25 -A FORWARD ! -s 192.168.0.0/24 -i eth2 -p udp -j DROP
28 -A FORWARD ! -s 192.168.100.0/24 -i eth1 -p udp -j DROP
30 -A FORWARD -o ppp0 -p udp -m udp --sport 137:139 -j DROP
31 -A FORWARD -o ppp0 -p udp -m udp --sport 445 -j DROP
34 -A FORWARD -i ppp0 -p udp -m udp --dport 137:139 -j DROP
35 -A FORWARD -i ppp0 -p udp -m udp --dport 445 -j DROP
53 -A block -p udp -j reject_log
64 -A reject_log -p udp -j REJECT --reject-with icmp-port-unreachable
/third_party/boost/libs/asio/example/cpp03/tutorial/daytime4/
Dclient.cpp15 using boost::asio::ip::udp;
29 udp::resolver resolver(io_context); in main()
30 udp::endpoint receiver_endpoint = in main()
31 *resolver.resolve(udp::v4(), argv[1], "daytime").begin(); in main()
33 udp::socket socket(io_context); in main()
34 socket.open(udp::v4()); in main()
40 udp::endpoint sender_endpoint; in main()
/third_party/libuv/test/
Dbenchmark-ping-udp.c34 uv_udp_t udp; member
82 r = uv_udp_try_send(&pinger->udp, &buf, 1, in pinger_write_ping()
88 static void pinger_read_cb(uv_udp_t* udp, in pinger_read_cb() argument
95 pinger = (pinger_t*)udp->data; in pinger_read_cb()
107 uv_close((uv_handle_t*)udp, pinger_close_cb); in pinger_read_cb()
127 r = uv_udp_init(loop, &pinger->udp); in udp_pinger_new()
129 r = uv_udp_bind(&pinger->udp, (const struct sockaddr*) &pinger->server_addr, 0); in udp_pinger_new()
132 pinger->udp.data = pinger; in udp_pinger_new()
135 if (0 != uv_udp_recv_start(&pinger->udp, buf_alloc, pinger_read_cb)) { in udp_pinger_new()
/third_party/boost/doc/html/boost_asio/example/cpp11/futures/
Ddaytime_client.cpp19 using boost::asio::ip::udp;
25 udp::resolver resolver(io_context); in get_daytime()
27 std::future<udp::resolver::results_type> endpoints = in get_daytime()
29 udp::v4(), hostname, "daytime", in get_daytime()
35 udp::socket socket(io_context, udp::v4()); in get_daytime()
48 udp::endpoint sender_endpoint; in get_daytime()
/third_party/boost/libs/asio/example/cpp11/futures/
Ddaytime_client.cpp19 using boost::asio::ip::udp;
25 udp::resolver resolver(io_context); in get_daytime()
27 std::future<udp::resolver::results_type> endpoints = in get_daytime()
29 udp::v4(), hostname, "daytime", in get_daytime()
35 udp::socket socket(io_context, udp::v4()); in get_daytime()
48 udp::endpoint sender_endpoint; in get_daytime()
/third_party/boost/libs/asio/doc/overview/
Dbsd_sockets.qbk21 TCP one would use `ip::tcp::socket`, and for UDP one uses `ip::udp::socket`.
35 For UDP: [link boost_asio.reference.ip__udp.socket ip::udp::socket]
54 For UDP: [link boost_asio.reference.ip__udp.endpoint ip::udp::endpoint]
69 For UDP: [link boost_asio.reference.basic_socket.bind ip::udp::socket::bind()]
78 For UDP: [link boost_asio.reference.basic_socket.close ip::udp::socket::close()]
86 For UDP: [link boost_asio.reference.basic_socket.connect ip::udp::socket::connect()]
100 For UDP: [link boost_asio.reference.ip__basic_resolver.resolve ip::udp::resolver::resolve()],
101 … [link boost_asio.reference.ip__basic_resolver.async_resolve ip::udp::resolver::async_resolve()]
114 …For UDP: [link boost_asio.reference.basic_socket.remote_endpoint ip::udp::socket::remote_endpoint(…
123 … For UDP: [link boost_asio.reference.basic_socket.local_endpoint ip::udp::socket::local_endpoint()]
[all …]
/third_party/boost/libs/asio/example/cpp03/tutorial/daytime5/
Dserver.cpp17 using boost::asio::ip::udp;
32 udp::socket socket(io_context, udp::endpoint(udp::v4(), 13)); in main()
37 udp::endpoint remote_endpoint; in main()

123456789