Searched refs:uh_sum (Results 1 – 18 of 18) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_udp.c | 103 (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 D | udp.c | 127 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 D | udp.c | 94 uh->uh_sum = in_cksum(ui, len + sizeof (struct ip)); in sendudp() 139 if (uh->uh_sum) { in readudp()
|
H A D | rpc.c | 289 u_int16_t uh_sum; /* udp checksum */ in rpc_fromaddr() member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux.c | 288 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 D | udp.h | 45 u_short uh_sum; /* udp checksum */ member
|
H A D | udp_var.h | 53 #define ui_sum ui_u.uh_sum
|
/illumos-gate/usr/src/uts/common/netinet/ |
H A D | udp.h | 28 uint16_t uh_sum; /* udp checksum */ member
|
H A D | udp_var.h | 34 #define ui_sum ui_u.uh_sum
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_nat6.c | 1360 (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 D | ip_nat.c | 3147 (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 D | ip_proxy.c | 618 csump = &udp->uh_sum;
|
H A D | fil.c | 3004 csump = &((udphdr_t *)l4hdr)->uh_sum; 6020 if (udp->uh_sum != 0) { 6021 csump = &udp->uh_sum;
|
H A D | ip_fil_solaris.c | 3294 l4_csum_p = &udp->uh_sum;
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipftest.c | 788 csump += offsetof(udphdr_t, uh_sum);
|
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | sge.c | 362 ((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 D | myri10ge.c | 2348 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 D | ip.c | 1245 dport, dport, hlen, udph->uh_sum); in udphdr_print()
|