Searched defs:udp (Results 1 - 24 of 24) sorted by relevance

/external/iptables/include/linux/netfilter/
H A Dnf_conntrack_tuple_common.h22 } udp; member in union:nf_conntrack_man_proto
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dnf_conntrack_tuple_common.h22 } udp; member in union:nf_conntrack_man_proto
/external/qemu/slirp/
H A Dtftp.h18 struct udphdr udp; member in struct:tftp_t
H A Dbootp.h97 struct udphdr udp; member in struct:bootp_t
/external/qemu/slirp-android/
H A Dtftp.h18 struct udphdr udp; member in struct:tftp_t
H A Dbootp.h97 struct udphdr udp; member in struct:bootp_t
/external/iptables/extensions/
H A Dlibxt_udp.c16 "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 Ddump.c26 #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 Dtranslate.c120 * 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 Dclatd_test.cpp276 struct udphdr *udp = (struct udphdr *) payload; local
277 EXPECT_NE(0, udp->check) << msg << ": UDP checksum 0 should be 0xffff";
280 EXPECT_EQ(payload_length, ntohs(udp->len)) << msg << ": Incorrect UDP length\n";
398 struct udphdr *udp; local
402 udp = (struct udphdr *) (ip + 1);
403 pseudo_checksum = ipv4_pseudo_header_checksum(ip, ntohs(udp->len));
408 udp = (struct udphdr *) (ip6 + 1);
409 pseudo_checksum = ipv6_pseudo_header_checksum(ip6, ntohs(udp->len), IPPROTO_UDP);
417 udp->check = 0;
418 udp
540 struct udphdr *udp; local
[all...]
/external/dnsmasq/src/
H A Dbpf.c168 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/smack/src/org/jivesoftware/smackx/bytestreams/socks5/packet/
H A DBytestream.java460 udp; enum constant in enum:Bytestream.Mode
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
H A Dconnectivitychecker.h104 ConnectInfo udp; member in struct:cricket::NicInfo
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Dmfqe.c145 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 Dmfqe.c145 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/chromium_org/third_party/openssl/openssl/crypto/bn/
H A Dbn_gf2m.c574 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...]
/external/dhcpcd/
H A Dnet.c45 #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...]
H A Ddhcpcd.c312 uint8_t *udp; local
365 len = make_udp_packet(&udp, (uint8_t *)dhcp, len, from, to);
366 r = send_raw_packet(iface, ETHERTYPE_IP, udp, len);
367 free(udp);
1767 /* we don't listen to events on the udp */
/external/openssl/crypto/bn/
H A Dbn_gf2m.c574 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...]
/external/ipsec-tools/src/racoon/
H A Disakmp.c114 # include <linux/udp.h>
126 # include <netinet/udp.h>
246 struct udphdr *udp; local
250 udp = (struct udphdr *)&x.lbuf[0];
251 if (ntohs(udp->dest) == 501) {
252 ip = (struct iphdr *)(x.lbuf + sizeof(*udp));
253 extralen += sizeof(*udp) + ip->ihl;
258 udp = (struct udphdr *)&x.lbuf[0];
259 if (ntohs(udp->uh_dport) == 501) {
260 ip = (struct ip *)(x.lbuf + sizeof(*udp));
[all...]
/external/chromium_org/third_party/usrsctp/usrsctplib/
H A Duser_socket.c49 #include <netinet/udp.h>
2770 struct udphdr *udp; local
2810 udp = (struct udphdr *)(ip + 1);
2812 udp = NULL;
2835 dst.sin_port = udp->uh_dport;
2925 struct udphdr *udp; local
2967 udp = (struct udphdr *)(ip6 + 1);
2969 udp = NULL;
2992 dst.sin6_port = udp->uh_dport;
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_output.c61 #include <netinet/udp.h>
3949 struct udphdr *udp = NULL; local
4163 udp = (struct udphdr *)((caddr_t)ip + sizeof(struct ip));
4164 udp->uh_sport = htons(SCTP_BASE_SYSCTL(sctp_udp_tunneling_port));
4165 udp->uh_dport = port;
4166 udp->uh_ulen = htons(packet_length - sizeof(struct ip));
4170 udp->uh_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, udp->uh_ulen + htons(IPPROTO_UDP));
4172 udp->uh_sum = 0;
4175 udp
11283 struct udphdr *udp; local
[all...]
/external/mdnsresponder/mDNSCore/
H A DmDNSEmbeddedAPI.h606 UDPHeader udp; member in union:__anon25954
/external/qemu/qapi-auto-generated/
H A Dqapi-types.h2688 char * udp; member in struct:NetdevSocketOptions
3017 ChardevUdp * udp; member in union:ChardevBackend::__anon29191

Completed in 569 milliseconds