Searched refs:uh_ulen (Results 1 – 10 of 10) sorted by relevance
/external/qemu/slirp/ |
D | udp.h | 48 int16_t uh_ulen; /* udp length */ member 67 #define ui_ulen ui_u.uh_ulen
|
D | udp.c | 111 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/ |
D | udp.h | 50 int16_t uh_ulen; /* udp length */ member 69 #define ui_ulen ui_u.uh_ulen
|
D | udp.c | 118 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/ |
D | udp.h | 44 u_int16_t uh_ulen; /* udp length */ member
|
D | print-udp.c | 116 (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/ |
D | bpf.c | 168 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/ |
D | net.c | 734 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/ |
D | sctp_os_userspace.h | 393 unsigned __int16 uh_ulen; member
|
D | sctp_output.c | 4354 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));
|