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

/macosx-10.9.5/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;
/macosx-10.9.5/tcpdump-56/tcpdump/
H A Dudp.h45 u_int16_t uh_sum; /* udp checksum */ member in struct:udphdr
H A Dprint-udp.c520 udp_sum = EXTRACT_16BITS(&up->uh_sum);
539 udp_sum = EXTRACT_16BITS(&up->uh_sum);
/macosx-10.9.5/network_cmds-433/alias/
H A Dalias_nbt.c83 u_short *uh_sum; member in struct:__anon11202
270 if ( uh->uh_sum != 0 ) {
281 ADJUST_CHECKSUM(acc, uh->uh_sum);
388 if ( *nbtarg->uh_sum != 0 ) {
398 ADJUST_CHECKSUM(acc, *nbtarg->uh_sum);
456 if ( *nbtarg->uh_sum != 0 ) {
466 ADJUST_CHECKSUM(acc, *nbtarg->uh_sum);
663 nbtarg.uh_sum = &(uh->uh_sum);
H A Dalias.c874 if (ud->uh_sum != 0)
884 ADJUST_CHECKSUM(accumulate, ud->uh_sum);
942 if (ud->uh_sum != 0)
955 ADJUST_CHECKSUM(accumulate, ud->uh_sum);
1603 ADJUST_CHECKSUM(accumulate, ud->uh_sum);
/macosx-10.9.5/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;
/macosx-10.9.5/bootp-268.1/bootplib/
H A Dbootp_transmit.c191 ip_udp->udp.uh_sum = 0;
192 ip_udp->udp.uh_sum = in_cksum(udp_pseudo, sizeof(*udp_pseudo) +
/macosx-10.9.5/network_cmds-433/traceroute.tproj/
H A Dtraceroute.c1419 outudp->uh_sum = 0;
1422 outudp->uh_sum = (sum) ? sum : 0xffff;
/macosx-10.9.5/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
/macosx-10.9.5/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 166 milliseconds