Searched refs:uh_ulen (Results 1 – 16 of 16) sorted by relevance
86 uh->uh_ulen = htons(len); in sendudp()89 ui->ui_len = uh->uh_ulen; in sendudp()123 if (n == -1 || n < sizeof (*uh) || n != ntohs(uh->uh_ulen)) { in readudp()144 n = ntohs(uh->uh_ulen) + sizeof (struct ip); in readudp()157 ui->ui_len = uh->uh_ulen; in readudp()169 if (ntohs(uh->uh_ulen) < sizeof (*uh)) { in readudp()173 ntohs(uh->uh_ulen), (int)sizeof (*uh)); in readudp()179 n = (n > (ntohs(uh->uh_ulen) - sizeof (*uh))) ? in readudp()180 ntohs(uh->uh_ulen) - sizeof (*uh) : n; in readudp()
288 int16_t uh_ulen; /* udp length */ in rpc_fromaddr() member
278 bcopy(((u_char *)ip) + hlen, uh, uh->uh_ulen - hlen); in readipv4()
60 udplen = ntohs((ushort_t)udp->uh_ulen) - sizeof (struct udphdr); in interpret_udp()70 ntohs((ushort_t)udp->uh_ulen)); in interpret_udp()97 (void) sprintf(get_line((char *)(uintptr_t)udp->uh_ulen - in interpret_udp()99 ntohs((ushort_t)udp->uh_ulen), in interpret_udp()
67 ck.len = udph->uh_ulen; in udp_chksum()77 ((caddr_t)udph)[ntohs(udph->uh_ulen)] = '\0'; in udp_chksum()
124 mp->b_wptr = ((unsigned char *)udphp) + ntohs(udphp->uh_ulen); in udp_input()189 udphp->uh_ulen = htons(mp->b_wptr - mp->b_rptr); in udp_output()
44 u_short uh_ulen; /* udp length */ member
52 #define ui_ulen ui_u.uh_ulen
27 int16_t uh_ulen; /* udp length */ member
33 #define ui_ulen ui_u.uh_ulen
134 outudp->uh_ulen = in set_buffers()287 ui->ui_len = outudp->uh_ulen; in send_probe()
108 outudp->uh_ulen = htons((ushort_t)(plen - in set_buffers6()
849 udp->uh_ulen = htons(ntohs(udp->uh_ulen) + diff);1481 udp->uh_ulen = htons(ntohs(udp->uh_ulen) + len);
1936 (uint16_t)(dst) + (udpp->uh_ulen + htons(IPPROTO_UDP)); in calc_ocsum()
1240 mdb_nhconvert(&hlen, &udph->uh_ulen, sizeof (hlen)); in udphdr_print()
5274 (uint16_t)(udp_hdr->uh_ulen*4); in ql_hw_lso_setup()