/prebuilts/ndk/r11/platforms/android-23/arch-x86/usr/include/linux/netfilter/ |
nf_conntrack_tuple_common.h | 36 } udp; member in union:nf_conntrack_man_proto
|
/prebuilts/ndk/r11/platforms/android-23/arch-x86_64/usr/include/linux/netfilter/ |
nf_conntrack_tuple_common.h | 36 } udp; member in union:nf_conntrack_man_proto
|
/prebuilts/ndk/r11/platforms/android-24/arch-arm/usr/include/linux/netfilter/ |
nf_conntrack_tuple_common.h | 36 } udp; member in union:nf_conntrack_man_proto
|
/prebuilts/ndk/r11/platforms/android-24/arch-arm64/usr/include/linux/netfilter/ |
nf_conntrack_tuple_common.h | 36 } udp; member in union:nf_conntrack_man_proto
|
/prebuilts/ndk/r11/platforms/android-24/arch-mips/usr/include/linux/netfilter/ |
nf_conntrack_tuple_common.h | 36 } udp; member in union:nf_conntrack_man_proto
|
/prebuilts/ndk/r11/platforms/android-24/arch-mips64/usr/include/linux/netfilter/ |
nf_conntrack_tuple_common.h | 36 } udp; member in union:nf_conntrack_man_proto
|
/prebuilts/ndk/r11/platforms/android-24/arch-x86/usr/include/linux/netfilter/ |
nf_conntrack_tuple_common.h | 36 } udp; member in union:nf_conntrack_man_proto
|
/prebuilts/ndk/r11/platforms/android-24/arch-x86_64/usr/include/linux/netfilter/ |
nf_conntrack_tuple_common.h | 36 } udp; member in union:nf_conntrack_man_proto
|
/external/android-clat/ |
clatd_microbenchmark.c | 39 #include <netinet/udp.h> 89 struct udphdr udp = { local 92 .len = htons(len + sizeof(udp)), 98 .tot_len = htons(len + sizeof(ip) + sizeof(udp)), 109 { &udp, sizeof(udp) }, // Transport header 119 sum = ipv4_pseudo_header_checksum(&ip, ntohs(udp.len)); 120 sum = ip_checksum_add(sum, &udp, sizeof(udp)); 122 udp.check = ip_checksum_finish(sum) [all...] |
dump.c | 26 #include <netinet/udp.h> 132 /* print udp header */ 133 void dump_udp_generic(const struct udphdr *udp, uint32_t temp_checksum, 137 temp_checksum = ip_checksum_add(temp_checksum, udp, sizeof(struct udphdr)); 141 printf("UDP\n"); 142 printf("source = %x\n",ntohs(udp->source)); 143 printf("dest = %x\n",ntohs(udp->dest)); 144 printf("len = %x\n",ntohs(udp->len)); 145 printf("check = %x (mine %x)\n",udp->check,my_checksum); 148 /* print ipv4/udp header * [all...] |
translate.h | 24 #include <netinet/udp.h> 77 // Translate TCP and UDP packets. 80 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, 86 int udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp,
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
nf_conntrack_tuple_common.h | 36 } udp; member in union:nf_conntrack_man_proto
|
/external/dnsmasq/src/ |
bpf.c | 168 u16 uh_ulen; /* udp length */ 169 u16 uh_sum; /* udp checksum */ 170 } udp; local 219 udp.uh_sport = htons(daemon->dhcp_server_port); 220 udp.uh_dport = htons(daemon->dhcp_client_port); 223 udp.uh_sum = 0; 224 udp.uh_ulen = sum = htons(sizeof(struct udphdr) + len); 231 sum += ((u16 *)&udp)[i]; 236 udp.uh_sum = (sum == 0xffff) ? sum : ~sum; 244 iov[2].iov_base = &udp; [all...] |
/external/iptables/extensions/ |
libxt_udp.c | 16 "udp match options:\n" 68 if ((service = getservbyport(htons(port), "udp"))) 108 const struct xt_udp *udp = (struct xt_udp *)match->data; local 110 printf(" udp"); 111 print_ports("spt", udp->spts[0], udp->spts[1], 112 udp->invflags & XT_UDP_INV_SRCPT, 114 print_ports("dpt", udp->dpts[0], udp->dpts[1], 115 udp->invflags & XT_UDP_INV_DSTPT [all...] |
/external/kernel-headers/original/uapi/linux/netfilter/ |
nf_conntrack_tuple_common.h | 28 } udp; member in union:nf_conntrack_man_proto
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter_ipv4/ |
nf_nat.h | 21 } udp; member in union:nf_conntrack_man_proto
|
/prebuilts/go/darwin-x86/src/net/ |
listen_test.go | 99 {"udp", ""}, 100 {"udp", "0.0.0.0"}, 101 {"udp", "::ffff:0.0.0.0"}, 102 {"udp", "::"}, 104 {"udp", "127.0.0.1"}, 105 {"udp", "::ffff:127.0.0.1"}, 106 {"udp", "::1"}, 285 {"udp", "", "udp", "", syscall.EADDRINUSE}, 286 {"udp", "", "udp", "0.0.0.0", syscall.EADDRINUSE} [all...] |
udpsock_test.go | 60 {"udp", "127.0.0.1:0", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 0}, nil}, 63 {"udp", "[::1]:0", &UDPAddr{IP: ParseIP("::1"), Port: 0}, nil}, 66 {"udp", "[::1%en0]:1", &UDPAddr{IP: ParseIP("::1"), Port: 1, Zone: "en0"}, nil}, 72 {"udp", ":12345", &UDPAddr{Port: 12345}, nil}, 76 {"udp", "127.0.0.1:domain", &UDPAddr{IP: ParseIP("127.0.0.1"), Port: 53}, nil}, 77 {"udp", "[::ffff:127.0.0.1]:domain", &UDPAddr{IP: ParseIP("::ffff:127.0.0.1"), Port: 53}, nil}, 78 {"udp", "[2001:db8::1]:domain", &UDPAddr{IP: ParseIP("2001:db8::1"), Port: 53}, nil}, 114 c, err := ListenPacket("udp", "127.0.0.1:0") 125 c, err := Dial("udp", raddr) 131 ra, err := ResolveUDPAddr("udp", raddr [all...] |
/prebuilts/go/linux-x86/src/net/ |
listen_test.go | 99 {"udp", ""}, 100 {"udp", "0.0.0.0"}, 101 {"udp", "::ffff:0.0.0.0"}, 102 {"udp", "::"}, 104 {"udp", "127.0.0.1"}, 105 {"udp", "::ffff:127.0.0.1"}, 106 {"udp", "::1"}, 285 {"udp", "", "udp", "", syscall.EADDRINUSE}, 286 {"udp", "", "udp", "0.0.0.0", syscall.EADDRINUSE} [all...] |
udpsock_test.go | 60 {"udp", "127.0.0.1:0", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 0}, nil}, 63 {"udp", "[::1]:0", &UDPAddr{IP: ParseIP("::1"), Port: 0}, nil}, 66 {"udp", "[::1%en0]:1", &UDPAddr{IP: ParseIP("::1"), Port: 1, Zone: "en0"}, nil}, 72 {"udp", ":12345", &UDPAddr{Port: 12345}, nil}, 76 {"udp", "127.0.0.1:domain", &UDPAddr{IP: ParseIP("127.0.0.1"), Port: 53}, nil}, 77 {"udp", "[::ffff:127.0.0.1]:domain", &UDPAddr{IP: ParseIP("::ffff:127.0.0.1"), Port: 53}, nil}, 78 {"udp", "[2001:db8::1]:domain", &UDPAddr{IP: ParseIP("2001:db8::1"), Port: 53}, nil}, 114 c, err := ListenPacket("udp", "127.0.0.1:0") 125 c, err := Dial("udp", raddr) 131 ra, err := ResolveUDPAddr("udp", raddr [all...] |
/external/libnl/etc/ |
pktloc | 70 # User Datagram Protocol (UDP) 73 udp.sport u16 tcp+0 74 udp.dport u16 tcp+2 75 udp.length u16 tcp+4 76 udp.csum u16 tcp+6
|
/frameworks/base/tests/net/java/android/net/netlink/ |
ConntrackMessageTest.java | 75 // Example 2: UDP (100.96.167.146, 37069) -> (216.58.197.10, 443) 124 final byte[] udp = ConntrackMessage.newIPv4TimeoutUpdateRequest( 129 assertArrayEquals(CT_V4UPDATE_UDP_BYTES, udp);
|
/external/toybox/toys/pending/ |
tcpsvd.c | 1 /* tcpsvd.c - TCP(UDP)/IP service daemon 20 Create TCP/UDP socket, bind to IP:PORT and listen for incoming connection. 50 int udp; 239 hints.ai_socktype = ((TT.udp) ?SOCK_DGRAM : SOCK_STREAM); 248 sockfd = xsocket(rp->ai_family, TT.udp ?SOCK_DGRAM :SOCK_STREAM, 0); 250 if (TT.udp) setsockopt(sockfd, IPPROTO_IP, IP_PKTINFO, &set, sizeof(set)); 275 TT.udp = (*toys.which->name == 'u'); 276 if (TT.udp) toys.optflags &= ~FLAG_C; 293 if (!TT.udp && (listen(fd, TT.bn) < 0)) perror_exit("Listen failed"); 308 if (TT.udp) { [all...] |
/bionic/tests/ |
netinet_udp_test.cpp | 17 #include <netinet/udp.h>
|
/external/ltp/testcases/network/rpc/basic_tests/rpcinfo/ |
rpcinfo01 | 112 # Create file with 1 tcp and 1 udp line. Use for variable assignments. 114 rpcinfo -p $RHOST | grep udp | sed -n 2p >> $TCtmp/rpc_out 123 UPNUM=`grep udp $TCtmp/rpc_out | awk '{print $1}'` 124 UVNUM=`grep udp $TCtmp/rpc_out | awk '{print $2}'` 125 UDPNAME=`grep udp $TCtmp/rpc_out | awk '{print $5}'` 176 echo "rpcinfo -u <hostname> <udp prog num>" 178 [ $? -eq 0 ] || end_testcase "rpcinfo -u <hostname> <udp prog num> - failed" 180 echo "rpcinfo -u <hostname> <udp prog num> <ver num>" 182 [ $? -eq 0 ] || end_testcase "rpcinfo -u <hostname> <udp prog num> <ver num> - failed" 184 echo "rpcinfo -u <hostname> <udp prog name> [all...] |