/freebsd-10.3-release/sys/netinet/ |
H A D | udp.h | 45 u_short uh_sum; /* udp checksum */ member in struct:udphdr
|
H A D | udp_var.h | 53 #define ui_sum ui_u.uh_sum
|
H A D | udp_usrreq.c | 462 if (uh->uh_sum) { 463 u_short uh_sum; local 468 uh_sum = m->m_pkthdr.csum_data; 470 uh_sum = in_pseudo(ip->ip_src.s_addr, 473 uh_sum ^= 0xffff; 481 uh_sum = in_cksum(m, len + sizeof (struct ip)); 484 if (uh_sum) { 1401 m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
|
H A D | sctp_os_bsd.h | 361 m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum); \
|
/freebsd-10.3-release/contrib/tcpdump/ |
H A D | udp.h | 45 u_int16_t uh_sum; /* udp checksum */ member in struct:udphdr
|
H A D | print-udp.c | 532 udp_sum = EXTRACT_16BITS(&up->uh_sum); 551 udp_sum = EXTRACT_16BITS(&up->uh_sum);
|
/freebsd-10.3-release/sbin/dhclient/ |
H A D | packet.c | 147 memset(&udp.uh_sum, 0, sizeof(udp.uh_sum)); 149 udp.uh_sum = wrapsum(checksum((unsigned char *)&udp, sizeof(udp), 236 usum = udp->uh_sum; 237 udp->uh_sum = 0;
|
/freebsd-10.3-release/sys/ddb/ |
H A D | db_textdump.c | 99 char uh_sum[8]; member in struct:ustar_header 193 for (i = 0; i < sizeof(uhp->uh_sum); i++) 194 uhp->uh_sum[i] = ' '; 198 snprintf(uhp->uh_sum, sizeof(uhp->uh_sum), "%6o", sum);
|
/freebsd-10.3-release/contrib/ipfilter/ipsend/ |
H A D | ipsend.c | 189 udp->uh_sum = temp32 & 65535; 190 udp->uh_sum = chksum((u_short *)udp, len); 191 if (udp->uh_sum == 0) 192 udp->uh_sum = 0xffff; 432 udp->uh_sum = 0;
|
H A D | iptests.c | 150 u->uh_sum = 0; 1312 u->uh_sum = 0;
|
/freebsd-10.3-release/sys/netinet/libalias/ |
H A D | alias_nbt.c | 193 u_short *uh_sum; member in struct:__anon11393 385 if (uh->uh_sum != 0) { 397 ADJUST_CHECKSUM(acc, uh->uh_sum); 506 if (*nbtarg->uh_sum != 0) { 516 ADJUST_CHECKSUM(acc, *nbtarg->uh_sum); 572 if (*nbtarg->uh_sum != 0) { 582 ADJUST_CHECKSUM(acc, *nbtarg->uh_sum); 789 nbtarg.uh_sum = &(uh->uh_sum);
|
H A D | alias.c | 771 if (ud->uh_sum != 0) { 788 ADJUST_CHECKSUM(accumulate, ud->uh_sum); 847 if (ud->uh_sum != 0) { 852 ADJUST_CHECKSUM(accumulate, ud->uh_sum); 891 if (ud->uh_sum != 0) { 898 ADJUST_CHECKSUM(accumulate, ud->uh_sum); 1588 ADJUST_CHECKSUM(accumulate, ud->uh_sum);
|
/freebsd-10.3-release/sys/netinet6/ |
H A D | udp6_usrreq.c | 203 uint16_t uh_sum; local 248 if (uh->uh_sum == 0) { 257 if (uh->uh_sum == 0) { 266 uh_sum = m->m_pkthdr.csum_data; 268 uh_sum = in6_cksum_pseudo(ip6, ulen, nxt, 270 uh_sum ^= 0xffff; 272 uh_sum = in6_cksum_partial(m, nxt, off, plen, ulen); 274 if (uh_sum != 0) { 817 udp6->uh_sum = 0; 832 if ((udp6->uh_sum [all...] |
/freebsd-10.3-release/cddl/lib/libdtrace/ |
H A D | udp.d | 73 udp_checksum = p == NULL ? 0 : ntohs(p->uh_sum);
|
/freebsd-10.3-release/lib/libstand/ |
H A D | udp.c | 113 uh->uh_sum = in_cksum(ui, len); 234 if (uh->uh_sum) {
|
H A D | rpc.c | 292 u_int16_t uh_sum; /* udp checksum */ member in struct:hackhdr
|
/freebsd-10.3-release/contrib/ipfilter/ipsd/Celler/ |
H A D | ip_compat.h | 156 __u16 uh_sum; member in struct:__anon1587
|
/freebsd-10.3-release/contrib/ipfilter/ipsend/.OLD/ |
H A D | ip_compat.h | 158 __u16 uh_sum; member in struct:__anon1594
|
/freebsd-10.3-release/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 262 uh->uh_sum = 0; 268 uh->uh_sum = udp_checksum((unsigned char*)uh, 8+dlen,
|
/freebsd-10.3-release/sys/netpfil/ipfw/ |
H A D | ip_fw_nat.c | 366 uh->uh_sum = cksum; 368 offsetof(struct udphdr, uh_sum);
|
/freebsd-10.3-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_proxy.c | 1041 } else if ((udp != NULL) && (udp->uh_sum != 0)) { 1043 u_short sum = ntohs(udp->uh_sum); 1045 udp->uh_sum = htons(sum); 1047 udp->uh_sum = fr_cksum(fin, ip,
|
H A D | ip_tftp_pxy.c | 319 udp.uh_sum = 0;
|
/freebsd-10.3-release/contrib/traceroute/ |
H A D | traceroute.c | 1416 outudp->uh_sum = 0; 1419 outudp->uh_sum = (sum) ? sum : 0xffff; 1442 outudp->uh_sum = 0; 1445 outudp->uh_sum = (sum) ? sum : 0xffff;
|
/freebsd-10.3-release/sys/netipsec/ |
H A D | ipsec_output.c | 238 udp->uh_sum = 0;
|
/freebsd-10.3-release/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 807 uh->uh_sum = 0; 808 uh->uh_sum = udp_checksum((unsigned char*)uh, 8+PRGA_LEN, 1915 uh->uh_sum = 0; 1920 uh->uh_sum = udp_checksum(ptr - 8, 8+5, &ih->ip_src,
|