/external/iproute2/include/libiptc/ |
H A D | ipt_kernel_headers.h | 13 #include <netinet/udp.h> 22 #include <linux/udp.h>
|
/external/iptables/include/libiptc/ |
H A D | ipt_kernel_headers.h | 13 #include <netinet/udp.h> 23 #include <linux/udp.h>
|
/external/qemu/slirp/ |
H A D | tftp.h | 18 struct udphdr udp; member in struct:tftp_t
|
H A D | bootp.h | 97 struct udphdr udp; member in struct:bootp_t
|
H A D | tftp.c | 74 spt->client_port = tp->udp.uh_sport; 91 if (spt->client_port == tp->udp.uh_sport) { 158 saddr.sin_port = recv_tp->udp.uh_dport; 198 saddr.sin_port = recv_tp->udp.uh_dport; 244 saddr.sin_port = recv_tp->udp.uh_dport;
|
/external/qemu/slirp-android/ |
H A D | tftp.h | 18 struct udphdr udp; member in struct:tftp_t
|
H A D | bootp.h | 97 struct udphdr udp; member in struct:bootp_t
|
H A D | tftp.c | 74 spt->client_port = port_geth(tp->udp.uh_sport); 91 if (spt->client_port == port_geth(tp->udp.uh_sport)) { 159 port_geth(recv_tp->udp.uh_dport) ); 200 port_geth(recv_tp->udp.uh_dport) ); 246 port_geth(recv_tp->udp.uh_dport) );
|
/external/iptables/extensions/ |
H A D | 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 [all...] |
/external/android-clat/ |
H A D | 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,
|
H A D | dump.c | 26 #include <netinet/udp.h> 132 /* print udp header */ 133 void dump_udp_generic(const struct udphdr *udp, uint32_t temp_checksum, argument 137 temp_checksum = ip_checksum_add(temp_checksum, udp, sizeof(struct udphdr)); 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 */ 149 void dump_udp(const struct udphdr *udp, cons argument 157 dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, const uint8_t *payload, size_t payload_size) argument [all...] |
H A D | translate.h | 24 #include <netinet/udp.h> 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,
|
H A D | 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, argument 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 404 udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp, uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, size_t payload_size) argument [all...] |
H A D | clatd_test.cpp | 277 struct udphdr *udp = (struct udphdr *) payload; local 278 EXPECT_NE(0, udp->check) << msg << ": UDP checksum 0 should be 0xffff"; 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); 410 pseudo_checksum = ipv6_pseudo_header_checksum(ip6, ntohs(udp->len), IPPROTO_UDP); 418 udp->check = 0; 419 udp 757 struct udphdr *udp; local [all...] |
/external/libnl/etc/ |
H A D | pktloc | 41 udp.sport u16 tcp+0 42 udp.dport u16 tcp+2 43 udp.length u16 tcp+4 44 udp.csum u16 tcp+6
|
/external/iptables/include/linux/netfilter/ |
H A D | nf_conntrack_tuple_common.h | 22 } udp; member in union:nf_conntrack_man_proto
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
H A D | nf_conntrack_tuple_common.h | 22 } udp; member in union:nf_conntrack_man_proto
|
/external/chromium_org/extensions/common/api/sockets/ |
H A D | 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 && 203 sockets.udp [all...] |
/external/dnsmasq/src/ |
H A D | 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/ |
H A D | net.c | 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 be 732 udp 750 get_udp_data(const uint8_t **data, const uint8_t *udp) argument [all...] |
/external/libsepol/tests/policies/test-cond/ |
H A D | refpolicy-base.conf | 1743 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 272 [all...] |
/external/dnsmasq/contrib/port-forward/ |
H A D | dnsmasq-portforward | 49 protocol=udp
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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 [all...] |