Home
last modified time | relevance | path

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

1234567891011

/external/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.c108 const struct xt_udp *udp = (struct xt_udp *)match->data; in udp_print() local
111 print_ports("spt", udp->spts[0], udp->spts[1], in udp_print()
112 udp->invflags & XT_UDP_INV_SRCPT, in udp_print()
114 print_ports("dpt", udp->dpts[0], udp->dpts[1], in udp_print()
115 udp->invflags & XT_UDP_INV_DSTPT, in udp_print()
117 if (udp->invflags & ~XT_UDP_INV_MASK) in udp_print()
119 udp->invflags & ~XT_UDP_INV_MASK); in udp_print()
Dlibxt_multiport.t4 -p udp -m multiport --sports 53,1024:65535;=;OK
5 -p udp -m multiport --dports 53,1024:65535;=;OK
6 -p udp -m multiport --ports 53,1024:65535;=;OK
7 -p udp -m multiport --ports 53,1024:65535;=;OK
15 -p udp -m multiport --sports 1024:65536;;FAIL
17 -p udp -m multiport --ports 1024:65536;;FAIL
Dlibip6t_MASQUERADE.t6 -p udp -j MASQUERADE --to-ports 1024-65535;=;OK
7 -p udp -j MASQUERADE --to-ports 1024-65536;;FAIL
8 -p udp -j MASQUERADE --to-ports -1;;FAIL
Dlibipt_MASQUERADE.t6 -p udp -j MASQUERADE --to-ports 1024-65535;=;OK
7 -p udp -j MASQUERADE --to-ports 1024-65536;;FAIL
8 -p udp -j MASQUERADE --to-ports -1;;FAIL
/external/bcc/examples/lua/
Dsock-parse-dns.lua29 local udp = ip.udp -- Only messages >12 octets (DNS header)
30 if udp.length < 12 then return false end
32 udp = udp.data + 12
33 local label = udp[0]
35 udp = udp + label + 1
36 label = udp[0]
38 udp = udp + label + 1
42 if udp[0] == 0 then
43 local qtype = udp[2] -- Low octet from QTYPE
/external/ltp/runtest/
Dnet.nfs5 nfs3_01 nfs01 -v 3 -t udp
10 nfs3_ipv6_01 nfs01 -6 -v 3 -t udp
16 nfs3_02 nfs02 -v 3 -t udp
21 nfs3_ipv6_02 nfs02 -6 -v 3 -t udp
27 nfs3_03 nfs03 -v 3 -t udp
32 nfs3_ipv6_03 nfs03 -6 -v 3 -t udp
38 nfs3_04 nfs04 -v 3 -t udp
43 nfs3_ipv6_04 nfs04 -6 -v 3 -t udp
49 nfs3_05 nfs05 -v 3 -t udp
54 nfs3_ipv6_05 nfs05 -6 -v 3 -t udp
[all …]
/external/tcpdump/tests/
Dbabel1v.out1 … (17) payload length: 20) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (8)
3 …P (17) payload length: 20) fe80::3428:af91:251:d626.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (8)
5 …17) payload length: 122) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (11…
12 …(17) payload length: 36) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (24)
15 …P (17) payload length: 20) fe80::3428:af91:251:d626.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (8)
17 … (17) payload length: 20) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (8)
19 … (17) payload length: 36) fe80::3428:af91:251:d626.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (24)
22 … (17) payload length: 20) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (8)
24 …P (17) payload length: 20) fe80::3428:af91:251:d626.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (8)
26 …(17) payload length: 64) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6697: [udp sum ok] babel 2 (52)
[all …]
Dikev2fourv4.out2 …192.168.1.2.500 > 192.168.1.1.500: [bad udp cksum 0x0765 -> 0xf5df!] isakmp 2.0 msgid 00000000 coo…
22 …192.168.1.1.500 > 192.168.1.2.500: [bad udp cksum 0x0629 -> 0x0cd0!] isakmp 2.0 msgid 00000000 coo…
25 …192.168.1.2.500 > 192.168.1.1.500: [bad udp cksum 0x0785 -> 0x7702!] isakmp 2.0 msgid 00000000 coo…
46 …192.168.1.1.500 > 192.168.1.2.500: [bad udp cksum 0x071d -> 0x8650!] isakmp 2.0 msgid 00000000 coo…
58 …192.168.1.2.500 > 192.168.1.1.500: [bad udp cksum 0x07d9 -> 0xb2d6!] isakmp 2.0 msgid 00000001 coo…
61 …192.168.1.1.500 > 192.168.1.2.500: [bad udp cksum 0x0689 -> 0x0748!] isakmp 2.0 msgid 00000001 coo…
64 …192.168.1.2.500 > 192.168.1.1.500: [bad udp cksum 0x07e9 -> 0x35ac!] isakmp 2.0 msgid 00000002 coo…
67 …192.168.1.2.500 > 192.168.1.1.500: [bad udp cksum 0x06c9 -> 0xdeaf!] isakmp 2.0 msgid 00000003 coo…
70 …192.168.1.1.500 > 192.168.1.2.500: [bad udp cksum 0x0639 -> 0xc72b!] isakmp 2.0 msgid 00000002 coo…
73 …192.168.1.1.500 > 192.168.1.2.500: [bad udp cksum 0x0639 -> 0x4119!] isakmp 2.0 msgid 00000003 coo…
[all …]
Dikev2fourv.out2 …192.168.1.2.500 > 192.168.1.1.500: [bad udp cksum 0x0765 -> 0xf5df!] isakmp 2.0 msgid 00000000 coo…
22 …192.168.1.1.500 > 192.168.1.2.500: [bad udp cksum 0x0629 -> 0x0cd0!] isakmp 2.0 msgid 00000000 coo…
25 …192.168.1.2.500 > 192.168.1.1.500: [bad udp cksum 0x0785 -> 0x7702!] isakmp 2.0 msgid 00000000 coo…
46 …192.168.1.1.500 > 192.168.1.2.500: [bad udp cksum 0x071d -> 0x8650!] isakmp 2.0 msgid 00000000 coo…
58 …192.168.1.2.500 > 192.168.1.1.500: [bad udp cksum 0x07d9 -> 0xb2d6!] isakmp 2.0 msgid 00000001 coo…
61 …192.168.1.1.500 > 192.168.1.2.500: [bad udp cksum 0x0689 -> 0x0748!] isakmp 2.0 msgid 00000001 coo…
64 …192.168.1.2.500 > 192.168.1.1.500: [bad udp cksum 0x07e9 -> 0x35ac!] isakmp 2.0 msgid 00000002 coo…
67 …192.168.1.2.500 > 192.168.1.1.500: [bad udp cksum 0x06c9 -> 0xdeaf!] isakmp 2.0 msgid 00000003 coo…
70 …192.168.1.1.500 > 192.168.1.2.500: [bad udp cksum 0x0639 -> 0xc72b!] isakmp 2.0 msgid 00000002 coo…
73 …192.168.1.1.500 > 192.168.1.2.500: [bad udp cksum 0x0639 -> 0x4119!] isakmp 2.0 msgid 00000003 coo…
[all …]
Dbabel_rtt.out1 …P (17) payload length: 26) fe80::5054:ff:fe85:5da9.6696 > ff02::1:6.6696: [udp sum ok] babel 2 (14)
3 …P (17) payload length: 52) fe80::5054:ff:fe23:4567.6696 > ff02::1:6.6696: [udp sum ok] babel 2 (40)
6 …P (17) payload length: 52) fe80::5054:ff:fe85:5da9.6696 > ff02::1:6.6696: [udp sum ok] babel 2 (40)
9 …P (17) payload length: 26) fe80::5054:ff:fe85:5da9.6696 > ff02::1:6.6696: [udp sum ok] babel 2 (14)
11 …P (17) payload length: 26) fe80::5054:ff:fe23:4567.6696 > ff02::1:6.6696: [udp sum ok] babel 2 (14)
13 …P (17) payload length: 26) fe80::5054:ff:fe23:4567.6696 > ff02::1:6.6696: [udp sum ok] babel 2 (14)
15 …P (17) payload length: 26) fe80::5054:ff:fe85:5da9.6696 > ff02::1:6.6696: [udp sum ok] babel 2 (14)
17 …P (17) payload length: 52) fe80::5054:ff:fe23:4567.6696 > ff02::1:6.6696: [udp sum ok] babel 2 (40)
20 …P (17) payload length: 88) fe80::5054:ff:fe85:5da9.6696 > ff02::1:6.6696: [udp sum ok] babel 2 (76)
Dahcp-vv.out1 …gth: 60) fe80::6aa3:c4ff:fef4:841e.5359 > ff02::cca6:c0f9:e182:5359.5359: [udp sum ok] AHCP Versio…
10 …th: 193) fe80::22cf:30ff:fe02:b052.5359 > fe80::6aa3:c4ff:fef4:841e.5359: [udp sum ok] AHCP Versio…
20 …gth: 56) fe80::6aa3:c4ff:fef4:841e.5359 > ff02::cca6:c0f9:e182:5359.5359: [udp sum ok] AHCP Versio…
29 …th: 193) fe80::22cf:30ff:fe02:b052.5359 > fe80::6aa3:c4ff:fef4:841e.5359: [udp sum ok] AHCP Versio…
39 …gth: 56) fe80::6aa3:c4ff:fef4:841e.5359 > ff02::cca6:c0f9:e182:5359.5359: [udp sum ok] AHCP Versio…
48 …th: 193) fe80::22cf:30ff:fe02:b052.5359 > fe80::6aa3:c4ff:fef4:841e.5359: [udp sum ok] AHCP Versio…
58 …gth: 56) fe80::6aa3:c4ff:fef4:841e.5359 > ff02::cca6:c0f9:e182:5359.5359: [udp sum ok] AHCP Versio…
67 …th: 193) fe80::22cf:30ff:fe02:b052.5359 > fe80::6aa3:c4ff:fef4:841e.5359: [udp sum ok] AHCP Versio…
Ddnssec-vv.out2 …127.0.0.1.43144 > 127.0.0.1.53: [bad udp cksum 0xfe49 -> 0xb5ef!] 20972+ [1au] SSHFP? monadic.cyni…
4 …127.0.0.1.53 > 127.0.0.1.43144: [bad udp cksum 0x09e0 -> 0x4239!] 20972$ q: SSHFP? monadic.cynic.n…
6 …127.0.0.1.32972 > 127.0.0.1.53: [bad udp cksum 0xfe49 -> 0x28d8!] 48576+ [1au] A? monadic.cynic.ne…
8 …127.0.0.1.53 > 127.0.0.1.32972: [bad udp cksum 0xfee1 -> 0x60dd!] 48576 q: A? monadic.cynic.net. 1…
10 …127.0.0.1.36069 > 127.0.0.1.53: [bad udp cksum 0xfe49 -> 0xf266!] 49432+ [1au] SSHFP? monadic.cyni…
12 …127.0.0.1.53 > 127.0.0.1.36069: [bad udp cksum 0xfef3 -> 0x1227!] 49432 q: SSHFP? monadic.cynic.ne…
Dlspping-fec-rsvp-vv.out3 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok]
19 10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok]
28 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok]
44 10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok]
53 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok]
69 10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok]
78 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok]
94 10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok]
103 12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok]
119 10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok]
Dlspping-fec-ldp-vv.out7 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok]
20 10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok]
36 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok]
49 10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok]
58 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok]
71 10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok]
80 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok]
93 10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok]
102 12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok]
115 10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok]
Dhncp.out1 … UDP (17) payload length: 32) fe80::218:f3ff:fea9:914e.8231 > ff02::11.8231: [udp sum ok] hncp (24)
4 …ad length: 12) fe80::21e:64ff:fe23:4d34.8231 > fe80::218:f3ff:fea9:914e.8231: [udp sum ok] hncp (4)
6 …d length: 80) fe80::218:f3ff:fea9:914e.8231 > fe80::21e:64ff:fe23:4d34.8231: [udp sum ok] hncp (72)
11 …ad length: 16) fe80::21e:64ff:fe23:4d34.8231 > fe80::218:f3ff:fea9:914e.8231: [udp sum ok] hncp (8)
13 …ad length: 16) fe80::21e:64ff:fe23:4d34.8231 > fe80::218:f3ff:fea9:914e.8231: [udp sum ok] hncp (8)
15 …length: 332) fe80::218:f3ff:fea9:914e.8231 > fe80::21e:64ff:fe23:4d34.8231: [udp sum ok] hncp (324)
33 …length: 564) fe80::218:f3ff:fea9:914e.8231 > fe80::21e:64ff:fe23:4d34.8231: [udp sum ok] hncp (556)
/external/android-clat/
Ddump.c134 void dump_udp_generic(const struct udphdr *udp, uint32_t temp_checksum, const uint8_t *payload, in dump_udp_generic() argument
138 temp_checksum = ip_checksum_add(temp_checksum, udp, sizeof(struct udphdr)); in dump_udp_generic()
143 printf("source = %x\n", ntohs(udp->source)); in dump_udp_generic()
144 printf("dest = %x\n", ntohs(udp->dest)); in dump_udp_generic()
145 printf("len = %x\n", ntohs(udp->len)); in dump_udp_generic()
146 printf("check = %x (mine %x)\n", udp->check, my_checksum); in dump_udp_generic()
150 void dump_udp(const struct udphdr *udp, const struct iphdr *ip, const uint8_t *payload, in dump_udp() argument
153 temp_checksum = ipv4_pseudo_header_checksum(ip, sizeof(*udp) + payload_size); in dump_udp()
154 dump_udp_generic(udp, temp_checksum, payload, payload_size); in dump_udp()
158 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, const uint8_t *payload, in dump_udp6() argument
[all …]
Dclatd_microbenchmark.c89 struct udphdr udp = { in send_packet() local
92 .len = htons(len + sizeof(udp)), in send_packet()
98 .tot_len = htons(len + sizeof(ip) + sizeof(udp)), in send_packet()
109 { &udp, sizeof(udp) }, // Transport header in send_packet()
119 sum = ipv4_pseudo_header_checksum(&ip, ntohs(udp.len)); in send_packet()
120 sum = ip_checksum_add(sum, &udp, sizeof(udp)); in send_packet()
122 udp.check = ip_checksum_finish(sum); in send_packet()
/external/bcc/tests/python/
Dtest_clang_complex.c108 case 17: goto udp; in handle_packet()
116 udp: { in handle_packet()
117 struct udp_t *udp = cursor_advance(cursor, sizeof(*udp)); in handle_packet() local
118 if (udp->dport != 5000) { in handle_packet()
162 incr_cksum_l4(&udp->crc, ip->src, cfg_leaf->bpfdev_ip, 1); in handle_packet()
163 incr_cksum_l4(&udp->crc, ip->dst, cfg_leaf->slave_ip, 1); in handle_packet()
Dtest_xlate1.c73 case 17: goto udp; in on_packet()
78 udp: { in on_packet()
79 struct udp_t *udp = cursor_advance(cursor, sizeof(*udp)); in on_packet() local
81 incr_cksum_l4(&udp->crc, orig_dip, xleaf.xdip, 1); in on_packet()
82 incr_cksum_l4(&udp->crc, orig_sip, xleaf.xsip, 1); in on_packet()
/external/u-boot/lib/efi_loader/
Defi_device_path.c583 struct efi_device_path_usb_class *udp = in dp_fill() local
588 udp->dp.type = DEVICE_PATH_TYPE_MESSAGING_DEVICE; in dp_fill()
589 udp->dp.sub_type = DEVICE_PATH_SUB_TYPE_MSG_USB_CLASS; in dp_fill()
590 udp->dp.length = sizeof(*udp); in dp_fill()
591 udp->vendor_id = desc->idVendor; in dp_fill()
592 udp->product_id = desc->idProduct; in dp_fill()
593 udp->device_class = desc->bDeviceClass; in dp_fill()
594 udp->device_subclass = desc->bDeviceSubClass; in dp_fill()
595 udp->device_protocol = desc->bDeviceProtocol; in dp_fill()
597 return &udp[1]; in dp_fill()
[all …]
/external/toybox/toys/pending/
Dtcpsvd.c50 int udp;
239 hints.ai_socktype = ((TT.udp) ?SOCK_DGRAM : SOCK_STREAM); in create_bind_sock()
248 sockfd = xsocket(rp->ai_family, TT.udp ?SOCK_DGRAM :SOCK_STREAM, 0); in create_bind_sock()
250 if (TT.udp) setsockopt(sockfd, IPPROTO_IP, IP_PKTINFO, &set, sizeof(set)); in create_bind_sock()
275 TT.udp = (*toys.which->name == 'u'); in tcpsvd_main()
276 if (TT.udp) toys.optflags &= ~FLAG_C; in tcpsvd_main()
293 if (!TT.udp && (listen(fd, TT.bn) < 0)) perror_exit("Listen failed"); in tcpsvd_main()
308 if (TT.udp) { in tcpsvd_main()
364 setenv("PROTO", TT.udp ?"UDP" :"TCP", 1); in tcpsvd_main()
371 if (!TT.udp) { in tcpsvd_main()
[all …]
/external/bcc/examples/networking/tunnel_monitor/
Dmonitor.c81 case 17: goto udp; in handle_outer()
85 udp: ; in handle_outer()
86 struct udp_t *udp = cursor_advance(cursor, sizeof(*udp)); in handle_outer() local
87 switch (udp->dport) { in handle_outer()
/external/ltp/testcases/network/rpc/basic_tests/rpcinfo/
Drpcinfo0140 rpcinfo -p $(tst_ipaddr) | grep udp | sed -n 2p >> rpc_out
49 UPNUM=`grep udp rpc_out | awk '{print $1}'`
50 UVNUM=`grep udp rpc_out | awk '{print $2}'`
51 UDPNAME=`grep udp rpc_out | awk '{print $5}'`
/external/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf1743 portcon udp 7007 system_u:object_r:afs_bos_port_t:s0
1745 portcon udp 7000 system_u:object_r:afs_fs_port_t:s0
1746 portcon udp 7005 system_u:object_r:afs_fs_port_t:s0
1747 portcon udp 7004 system_u:object_r:afs_ka_port_t:s0
1748 portcon udp 7002 system_u:object_r:afs_pt_port_t:s0
1749 portcon udp 7003 system_u:object_r:afs_vl_port_t:s0
1750 portcon udp 10080 system_u:object_r:amanda_port_t:s0
1752 portcon udp 10081 system_u:object_r:amanda_port_t:s0
1759 portcon udp 2427 system_u:object_r:asterisk_port_t:s0
1760 portcon udp 2727 system_u:object_r:asterisk_port_t:s0
[all …]

1234567891011