Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_udp.c103 (void) sprintf(get_line((char *)(uintptr_t)udp->uh_sum - in interpret_udp()
105 ntohs(udp->uh_sum), in interpret_udp()
106 udp->uh_sum == 0 ? "(no checksum)" : ""); in interpret_udp()
/illumos-gate/usr/src/stand/lib/inet/
H A Dudp.c127 if (udp_cksum_flag && udphp->uh_sum != 0) { in udp_input()
190 udphp->uh_sum = 0; in udp_output()
193 udphp->uh_sum = udp_chksum(udphp, &sockets[index].bind.sin_addr, in udp_output()
/illumos-gate/usr/src/boot/libsa/
H A Dudp.c94 uh->uh_sum = in_cksum(ui, len + sizeof (struct ip)); in sendudp()
139 if (uh->uh_sum) { in readudp()
H A Drpc.c289 u_int16_t uh_sum; /* udp checksum */ in rpc_fromaddr() member
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c288 outudp->uh_sum = 0; in send_probe()
289 outudp->uh_sum = in_cksum((ushort_t *)ui, packlen); in send_probe()
290 if (outudp->uh_sum == 0) in send_probe()
291 outudp->uh_sum = 0xffff; in send_probe()
/illumos-gate/usr/src/boot/include/netinet/
H A Dudp.h45 u_short uh_sum; /* udp checksum */ member
H A Dudp_var.h53 #define ui_sum ui_u.uh_sum
/illumos-gate/usr/src/uts/common/netinet/
H A Dudp.h28 uint16_t uh_sum; /* udp checksum */ member
H A Dudp_var.h34 #define ui_sum ui_u.uh_sum
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c1360 (dlen >= 8) && (udp->uh_sum != 0)) {
1369 sum1 = ntohs(udp->uh_sum);
1370 fix_datacksum(&udp->uh_sum, sumd);
1371 sum2 = ntohs(udp->uh_sum);
1382 fix_datacksum(&udp->uh_sum, psumd);
H A Dip_nat.c3147 (dlen >= 8) && (udp->uh_sum != 0)) {
3156 sum1 = ntohs(udp->uh_sum);
3157 fix_datacksum(&udp->uh_sum, sumd);
3158 sum2 = ntohs(udp->uh_sum);
3170 fix_datacksum(&udp->uh_sum, psumd);
4560 if (udp->uh_sum)
4561 csump = &udp->uh_sum;
H A Dip_proxy.c618 csump = &udp->uh_sum;
H A Dfil.c3004 csump = &((udphdr_t *)l4hdr)->uh_sum;
6020 if (udp->uh_sum != 0) {
6021 csump = &udp->uh_sum;
H A Dip_fil_solaris.c3294 l4_csum_p = &udp->uh_sum;
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipftest.c788 csump += offsetof(udphdr_t, uh_sum);
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c362 ((struct udphdr *)(csum_loc))->uh_sum = csum; in sge_data_out()
1943 udpp->uh_sum = 0; in calc_ocsum()
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge.c2348 stuff = start + offsetof(struct udphdr, uh_sum); in myri10ge_rx_csum()
2358 stuff = start + offsetof(struct udphdr, uh_sum); in myri10ge_rx_csum()
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1245 dport, dport, hlen, udph->uh_sum); in udphdr_print()