Searched refs:uh (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | udp6_usrreq.c | 209 register struct udphdr *uh; local 229 uh = (struct udphdr *)(void *)((caddr_t)ip6 + off); 230 ulen = ntohs((u_short)uh->uh_ulen); 242 if (uh->uh_dport == 0) { 253 if (uh->uh_sum) { 255 uh->uh_sum = m->m_pkthdr.csum_data; 256 uh->uh_sum ^= 0xffff; 278 fromsa.sin6_port = uh->uh_sport; 316 udp_in6.sin6_port = uh->uh_sport; 347 if (in6p->in6p_lport != uh 578 struct udphdr uh; local [all...] |
H A D | ipsec.c | 1023 struct udphdr uh; local 1067 m_copydata(m, off, sizeof(uh), (caddr_t)&uh); 1069 uh.uh_sport; 1071 uh.uh_dport; 1131 struct udphdr uh; local 1167 m_copydata(m, off, sizeof(uh), (caddr_t)&uh); 1168 ((struct sockaddr_in6 *)&spidx->src)->sin6_port = uh.uh_sport; 1169 ((struct sockaddr_in6 *)&spidx->dst)->sin6_port = uh 4426 struct udphdr *uh; local [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | udp_usrreq.c | 256 register struct udphdr *uh; local 310 uh = (struct udphdr *)(void *)((caddr_t)ip + iphlen); 313 if (uh->uh_dport == 0) { 321 KERNEL_DEBUG(DBG_LAYER_IN_BEG, uh->uh_dport, uh->uh_sport, 322 ip->ip_src.s_addr, ip->ip_dst.s_addr, uh->uh_ulen); 328 len = ntohs((u_short)uh->uh_ulen); 350 if (uh->uh_sum) { 353 uh->uh_sum = m->m_pkthdr.csum_data; 356 uh 896 struct udphdr uh; local [all...] |
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf.c | 4724 struct udphdr *uh = pd->hdr.udp; local 4725 size_t plen = m->m_pkthdr.len - off - sizeof (*uh); 4727 if (ntohs(uh->uh_sport) == PF_IKE_PORT && 4728 ntohs(uh->uh_dport) == PF_IKE_PORT && 4732 m_copydata(m, off + sizeof (*uh), plen, &ike); 4962 struct udphdr *uh = pd->hdr.udp; local 4965 ntohs(uh->uh_sport) == PF_IKE_PORT && 4966 ntohs(uh->uh_dport) == PF_IKE_PORT) { 6320 struct udphdr *uh = pd->hdr.udp; local 6331 key.ext.xport.port = uh 6834 struct udphdr uh; local 8226 struct udphdr uh; local 8820 struct udphdr uh; local [all...] |
Completed in 40 milliseconds