Home
last modified time | relevance | path

Searched refs:uh_ulen (Results 1 – 10 of 10) sorted by relevance

/external/qemu/slirp/
Dudp.h48 int16_t uh_ulen; /* udp length */ member
67 #define ui_ulen ui_u.uh_ulen
Dudp.c111 len = ntohs((u_int16_t)uh->uh_ulen); in udp_input()
135 ((struct ipovly *)ip)->ih_len = uh->uh_ulen; in udp_input()
/external/qemu/slirp-android/
Dudp.h50 int16_t uh_ulen; /* udp length */ member
69 #define ui_ulen ui_u.uh_ulen
Dudp.c118 len = ntohs((u_int16_t)uh->uh_ulen); in udp_input()
173 ((struct ipovly *)ip)->ih_len = uh->uh_ulen; in udp_input()
/external/tcpdump/
Dudp.h44 u_int16_t uh_ulen; /* udp length */ member
Dprint-udp.c116 (u_int32_t)(EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up)), in vat_print()
123 (u_int32_t)(EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up) - 8), in vat_print()
142 u_int dlen = EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up) - 8; in rtp_print()
404 ulen = EXTRACT_16BITS(&up->uh_ulen); in udp_print()
/external/dnsmasq/src/
Dbpf.c168 u16 uh_ulen; /* udp length */ in send_via_bpf() member
224 udp.uh_ulen = sum = htons(sizeof(struct udphdr) + len); in send_via_bpf()
/external/dhcpcd/
Dnet.c734 udp->uh_ulen = htons(sizeof(*udp) + length); in make_udp_packet()
735 ip->ip_len = udp->uh_ulen; in make_udp_packet()
798 packet.ip.ip_len = packet.udp.uh_ulen; in valid_udp_packet()
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_os_userspace.h393 unsigned __int16 uh_ulen; member
Dsctp_output.c4354 udp->uh_ulen = htons(packet_length - sizeof(struct ip));
4358 … udp->uh_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, udp->uh_ulen + htons(IPPROTO_UDP));
4363 udp->uh_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, udp->uh_ulen + htons(IPPROTO_UDP));
4814 udp->uh_ulen = htons(packet_length - sizeof(struct ip6_hdr));
11644 udp->uh_ulen = htons(sizeof(struct udphdr) +
11693 … udp->uh_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, udp->uh_ulen + htons(IPPROTO_UDP));
11698 udp->uh_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, udp->uh_ulen + htons(IPPROTO_UDP));