Searched refs:uh_sum (Results 1 - 12 of 12) sorted by relevance
/xnu-2422.115.4/bsd/netinet/ |
H A D | udp.h | 76 u_short uh_sum; /* udp checksum */ member in struct:udphdr
|
H A D | udp_var.h | 84 #define ui_sum ui_u.uh_sum
|
H A D | udp_usrreq.c | 1545 m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum); 2143 if (uh->uh_sum == 0) { 2152 uh->uh_sum = m->m_pkthdr.csum_rx_val; 2184 uh->uh_sum = in_pseudo(ip->ip_src.s_addr, 2187 uh->uh_sum ^= 0xffff; 2196 uh->uh_sum = in_cksum(m, ulen + sizeof (struct ip)); 2203 if (uh->uh_sum != 0) {
|
H A D | ip_compat.h | 555 __u16 uh_sum;
|
H A D | in_dhcp.c | 195 pkt->udp.uh_sum = 0;
|
/xnu-2422.115.4/bsd/netinet6/ |
H A D | udp6_output.c | 323 udp6->uh_sum = 0; 340 udp6->uh_sum = in6_pseudo(laddr, faddr, 343 m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
|
H A D | udp6_usrreq.c | 913 if (uh->uh_sum == 0) { 923 uh->uh_sum = m->m_pkthdr.csum_rx_val; 955 uh->uh_sum = in6_pseudo(&ip6->ip6_src, &ip6->ip6_dst, 958 uh->uh_sum ^= 0xffff; 961 uh->uh_sum = in6_cksum(m, IPPROTO_UDP, off, ulen); 964 if (uh->uh_sum != 0) {
|
H A D | esp_output.c | 424 udp->uh_sum = 0; /* don't need checksum with ESP auth */ 651 udp->uh_sum = 0;
|
H A D | esp_input.c | 677 udp->uh_sum = 0;
|
H A D | ipsec.c | 4599 uh->uh_sum = 0;
|
/xnu-2422.115.4/osfmk/kdp/ |
H A D | kdp_udp.c | 116 u_short uh_sum; /* udp checksum */ member in struct:kdp_udphdr 133 #define ui_sum ui_u.uh_sum
|
/xnu-2422.115.4/bsd/net/ |
H A D | pf.c | 4166 &pd->hdr.udp->uh_sum, &pd->naddr, 4264 &pd->hdr.udp->uh_sum, &pd->naddr, 4482 &pd->hdr.udp->uh_sum, &pd->baddr, 4555 &pd->hdr.udp->uh_sum, &pd->baddr, 6508 pd->ip_sum, &uh->uh_sum, 6513 pd->ip_sum, &uh->uh_sum, 6985 (*state)->state_key->lan.xport.port, &uh.uh_sum, 6991 (*state)->state_key->gwy.xport.port, &uh.uh_sum,
|
Completed in 114 milliseconds