/external/iproute2/include/libiptc/ |
ipt_kernel_headers.h | 13 #include <netinet/udp.h> 22 #include <linux/udp.h>
|
/external/iptables/include/libiptc/ |
ipt_kernel_headers.h | 13 #include <netinet/udp.h> 23 #include <linux/udp.h>
|
/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...] |
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/ |
ip_conntrack_tuple.h | 28 } udp; member in union:ip_conntrack_manip_proto 61 } udp; member in union:ip_conntrack_tuple::__anon1414::__anon1415
|
/external/android-clat/ |
dump.h | 23 void dump_udp(const struct udphdr *udp, const struct iphdr *ip, 31 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6,
|
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> 88 // Translate TCP and UDP packets. 91 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, 97 int udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp,
|
translate.c | 120 * protocol - protocol number (tcp, udp, etc) 154 * protocol - protocol number (tcp, udp, etc) 336 * takes a udp packet and sets it up for translation 338 * udp - pointer to udp header in packet 343 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, 353 payload = (const uint8_t *) (udp + 1); 356 return udp_translate(out, pos, udp, old_sum, new_sum, payload, payload_size); 395 * common between ipv4/ipv6 - setup checksum and send udp packet 397 * udp - udp heade [all...] |
clatd_test.cpp | 277 struct udphdr *udp = (struct udphdr *) payload; local 278 EXPECT_NE(0, udp->check) << msg << ": UDP checksum 0 should be 0xffff"; 279 // If this is not a fragment, check the UDP length field. 281 EXPECT_EQ(payload_length, ntohs(udp->len)) << msg << ": Incorrect UDP length\n"; 399 struct udphdr *udp; local 403 udp = (struct udphdr *) (ip + 1); 404 pseudo_checksum = ipv4_pseudo_header_checksum(ip, ntohs(udp->len)); 409 udp = (struct udphdr *) (ip6 + 1) 757 struct udphdr *udp; local [all...] |
checksum.c | 21 #include <netinet/udp.h> 86 * calculate the pseudo header checksum for use in tcp/udp/icmp headers 106 * calculate the pseudo header checksum for use in tcp/udp headers
|
/external/libnl/etc/ |
pktloc | 38 # User Datagram Protocol (UDP) 41 udp.sport u16 tcp+0 42 udp.dport u16 tcp+2 43 udp.length u16 tcp+4 44 udp.csum u16 tcp+6
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
nf_conntrack_tuple_common.h | 36 } udp; member in union:nf_conntrack_man_proto
|
/development/ndk/platforms/android-L/include/linux/netfilter/ |
nf_conntrack_tuple_common.h | 36 } udp; member in union:nf_conntrack_man_proto
|
/external/iptables/include/linux/netfilter/ |
nf_conntrack_tuple_common.h | 22 } udp; member in union:nf_conntrack_man_proto
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
nf_conntrack_tuple_common.h | 22 } udp; member in union:nf_conntrack_man_proto
|
/external/chromium_org/extensions/common/api/sockets/ |
sockets_manifest_permission.cc | 104 if (sockets->udp) { 107 sockets->udp->bind, 113 sockets->udp->send, 119 sockets->udp->multicast_membership, 195 sockets.udp.reset(new Sockets::Udp()); 196 SetHostPatterns(sockets.udp->bind, this, SocketPermissionRequest::UDP_BIND); 198 sockets.udp->send, this, SocketPermissionRequest::UDP_SEND_TO); 199 SetHostPatterns(sockets.udp->multicast_membership, 202 if (sockets.udp->bind->as_strings->size() == 0 & [all...] |
/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/dhcpcd/ |
net.c | 44 #define __FAVOR_BSD /* Nasty glibc hack so we can use BSD semantics for UDP */ 45 #include <netinet/udp.h> 674 struct udphdr udp; member in struct:udp_dhcp_packet 708 struct udphdr *udp; local 712 udp = &udpp->udp; 716 * ip structure and an invalid ip_len (basically udp length). 717 * We then fill the udp structure and put the checksum 718 * of the whole packet into the udp checksum. 720 * If we don't do the ordering like so then the udp checksum will b [all...] |
/external/libsepol/tests/policies/test-cond/ |
refpolicy-base.conf | [all...] |
/external/dnsmasq/contrib/port-forward/ |
dnsmasq-portforward | 49 protocol=udp
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
mfqe.c | 145 unsigned char *udp; local 233 for (up = u, udp = ud, i = 0; i < uvblksize; ++i, up += uv_stride, udp += uvd_stride) 234 vpx_memcpy(udp, up, uvblksize); 336 unsigned char *udp = ud_ptr + 4*(i*dest->uv_stride+j); local 341 for (k = 0; k < 4; ++k, up += show->uv_stride, udp += dest->uv_stride, 344 vpx_memcpy(udp, up, 4);
|
/external/libvpx/libvpx/vp8/common/ |
mfqe.c | 145 unsigned char *udp; local 233 for (up = u, udp = ud, i = 0; i < uvblksize; ++i, up += uv_stride, udp += uvd_stride) 234 vpx_memcpy(udp, up, uvblksize); 336 unsigned char *udp = ud_ptr + 4*(i*dest->uv_stride+j); local 341 for (k = 0; k < 4; ++k, up += show->uv_stride, udp += dest->uv_stride, 344 vpx_memcpy(udp, up, 4);
|
/external/openssl/crypto/bn/ |
bn_gf2m.c | 574 BN_ULONG *udp,*bdp,*vdp,*cdp; local 576 bn_wexpand(u,top); udp = u->d; 577 for (i=u->top;i<top;i++) udp[i] = 0; 592 while (ubits && !(udp[0]&1)) 596 u0 = udp[0]; 602 u1 = udp[i+1]; 603 udp[i] = ((u0>>1)|(u1<<(BN_BITS2-1)))&BN_MASK2; 609 udp[i] = u0>>1; 614 if (ubits<=BN_BITS2 && udp[0]==1) break; 621 udp = vdp; vdp = v->d [all...] |
/external/chromium_org/chrome/browser/resources/net_internals/ |
events_view.css | 85 #events-view-source-list-tbody .source-udp-socket {
|
/external/chromium_org/remoting/webapp/ |
format_iq.js | 66 if (!this.verifyAttributes(server, 'host,udp,tcp,tcpssl')) { 70 var udp = server.getAttribute('udp'); 75 if (udp) 76 str += ' udp:' + udp;
|