Lines Matching defs:uh
188 struct udphdr uh;
243 memset(&uh, 0, sizeof(uh));
244 m_copydata(m, off, sizeof(*uhp), (void *)&uh);
255 uh.uh_dport, (const struct in6_addr *)&sa6_src->sin6_addr,
256 uh.uh_sport, 0, 0))
267 uh.uh_dport, 0))
290 (void)in6pcb_notify(&udbtable, sa, uh.uh_dport,
291 sin6tocsa(sa6_src), uh.uh_sport, cmd, cmdarg,
584 udp6_input_checksum(struct mbuf *m, const struct udphdr *uh, int off, int len)
595 if (uh->uh_sum == 0) {
642 struct udphdr *uh;
659 IP6_EXTHDR_GET(uh, struct udphdr *, m, off, sizeof(struct udphdr));
660 if (uh == NULL) {
669 if (ACCESSIBLE_POINTER(uh, struct udphdr) == 0) {
676 uh = (struct udphdr *)(mtod(m, char *) + off);
678 KASSERT(ACCESSIBLE_POINTER(uh, struct udphdr));
679 ulen = ntohs((u_short)uh->uh_ulen);
694 if (uh->uh_dport == 0)
701 if (udp6_input_checksum(m, uh, off, ulen))
711 src.sin6_port = uh->uh_sport;
716 dst.sin6_port = uh->uh_dport;