Searched refs:uh_sum (Results 1 - 12 of 12) sorted by relevance

/xnu-2422.115.4/bsd/netinet/
H A Dudp.h76 u_short uh_sum; /* udp checksum */ member in struct:udphdr
H A Dudp_var.h84 #define ui_sum ui_u.uh_sum
H A Dudp_usrreq.c1545 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 Dip_compat.h555 __u16 uh_sum;
H A Din_dhcp.c195 pkt->udp.uh_sum = 0;
/xnu-2422.115.4/bsd/netinet6/
H A Dudp6_output.c323 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 Dudp6_usrreq.c913 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 Desp_output.c424 udp->uh_sum = 0; /* don't need checksum with ESP auth */
651 udp->uh_sum = 0;
H A Desp_input.c677 udp->uh_sum = 0;
H A Dipsec.c4599 uh->uh_sum = 0;
/xnu-2422.115.4/osfmk/kdp/
H A Dkdp_udp.c116 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 Dpf.c4166 &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