Searched refs:uh_ulen (Results 1 – 22 of 22) sorted by relevance
46 u_short uh_ulen; /* udp length */ member
54 #define ui_ulen ui_u.uh_ulen
1072 uh_ulen), sizeof(cklen), (caddr_t)&cklen); in in_delayed_cksum()1076 cklen = ntohs(uh->uh_ulen); in in_delayed_cksum()
460 len = ntohs((u_short)uh->uh_ulen); in udp_input()507 uh->uh_ulen : htons(ip_len); in udp_input()
4155 udp->uh_ulen = htons((uint16_t)(packet_length - sizeof(struct ip))); in sctp_lowlevel_chunk_output()4157 … udp->uh_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, udp->uh_ulen + htons(IPPROTO_UDP)); in sctp_lowlevel_chunk_output()4483 udp->uh_ulen = htons((uint16_t)(packet_length - sizeof(struct ip6_hdr))); in sctp_lowlevel_chunk_output()11138 udp->uh_ulen = htons((uint16_t)(sizeof(struct udphdr) + in sctp_send_resp_msg()11178 … udp->uh_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, udp->uh_ulen + htons(IPPROTO_UDP)); in sctp_send_resp_msg()
828 udp->uh_ulen = htons(ntohs(udp->uh_ulen) + diff);1469 udp->uh_ulen = htons(ntohs(udp->uh_ulen) + len);
318 udp.uh_ulen = htons(sizeof(udp));
5229 uh->uh_ulen += fin->fin_plen;5230 uh->uh_ulen = htons(uh->uh_ulen);5676 uh->uh_ulen += fin->fin_plen;5677 uh->uh_ulen = htons(uh->uh_ulen);7375 uh->uh_ulen = 8;
2900 uh->uh_ulen = htons(fin->fin_plen);3299 uh->uh_ulen = ntohs(fin->fin_plen);3754 uh->uh_ulen = 8;
252 ulen = ntohs((u_short)uh->uh_ulen); in udp6_input()917 udp6->uh_ulen = htons(cscov); in udp6_output()924 udp6->uh_ulen = htons((u_short)plen); in udp6_output()926 udp6->uh_ulen = 0; in udp6_output()
237 udp->uh_ulen = htons(m->m_pkthdr.len - hlen); in udp_ipsec_output()
355 pmax = (char *)uh + ntohs(uh->uh_ulen); in AliasHandleUdpNbt()807 pmax = (char *)uh + ntohs(uh->uh_ulen); in AliasHandleUdpNbtNS()
741 if (dlen < ntohs(ud->uh_ulen)) in UdpAliasIn()842 if (dlen < ntohs(ud->uh_ulen)) in UdpAliasOut()
472 udp->uh_ulen = 0; in gre_update_udphdr()772 uh->uh_ulen = htons(m->m_pkthdr.len - len);
180 udp->uh_ulen = htons(m->m_pkthdr.len); in debugnet_udp_output()477 ulen = ntohs(udp->uh_ulen); in debugnet_handle_udp()
473 ip->ip_sum = udp->uh_ulen; in debugnet_ip_output()
2413 udph->uh_ulen = htons(len); in vxlan_encap_header()
6029 ntohs(uh.uh_ulen) > m->m_pkthdr.len - off || in pf_test()6030 ntohs(uh.uh_ulen) < sizeof(struct udphdr)) { in pf_test()6471 ntohs(uh.uh_ulen) > m->m_pkthdr.len - off || in pf_test6()6472 ntohs(uh.uh_ulen) < sizeof(struct udphdr)) { in pf_test6()
13384 udp->uh_ulen = htons(ulen); in rack_output()13407 udp->uh_ulen = htons(ulen); in rack_output()
13420 udp->uh_ulen = htons(ulen); in bbr_output_wtime()13447 udp->uh_ulen = htons(ulen); in bbr_output_wtime()