Searched refs:tha_sum (Results 1 – 12 of 12) sorted by relevance
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_test.c | 114 tcp->tha_sum = 0x0; in mt_tcp_basic_hdr() 235 KT_ASSERT3UG(tcp->tha_sum, !=, 0xFFFF, ctx, cleanup); in mac_sw_cksum_ipv4_tcp_test() 236 KT_ASSERT3UG(sum, ==, tcp->tha_sum, ctx, cleanup); in mac_sw_cksum_ipv4_tcp_test() 579 tcp->tha_sum = 0; in mac_sw_cksum_ipv4_snoop_test() 596 KT_ASSERT3UG(tcp->tha_sum, !=, 0xFFFF, ctx, cleanup); in mac_sw_cksum_ipv4_snoop_test() 597 KT_ASSERT3UG(tcp->tha_sum, ==, csum, ctx, cleanup); in mac_sw_cksum_ipv4_snoop_test()
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_nat.c | 429 tp_cksum = &((tcpha_t *)tph)->tha_sum; in ilb_full_nat() 502 tp_cksum = &((tcpha_t *)tph)->tha_sum; in ilb_half_nat()
|
/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp_inet.h | 106 uint16_t tha_sum; /* TCP checksum */ member
|
H A D | tcp.c | 1814 old_sum = tcph->tha_sum; in tcp_verify_cksum() 1815 tcph->tha_sum = 0; in tcp_verify_cksum() 6224 tcph->tha_sum = 0; in tcp_set_cksum() 6225 tcph->tha_sum = tcp_cksum((uint16_t *)&(iph->ip_ttl), in tcp_set_cksum()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_output.c | 1285 tcpha->tha_sum = htons(sum); in tcp_output() 1930 tcpha->tha_sum = htons(sum); in tcp_send() 2191 tcpha->tha_sum = htons(sum); in tcp_send() 2500 tcpha->tha_sum = htons(sum); in tcp_xmit_ctl() 2678 tcpha->tha_sum = htons(sizeof (tcpha_t)); in tcp_xmit_early_reset() 3030 tcpha->tha_sum = htons(u1); in tcp_xmit_mp_aux_iss() 3336 tcpha->tha_sum = htons(data_length); in tcp_xmit_mp()
|
H A D | tcp_sig.c | 1300 uint16_t sum = tcpha->tha_sum; in tcpsig_signature() 1306 tcpha->tha_sum = 0; in tcpsig_signature() 1309 tcpha->tha_sum = sum; in tcpsig_signature()
|
H A D | tcp.c | 2935 tcpha->tha_sum = 0; in tcp_build_hdrs() 2952 tcpha->tha_sum = htons(cksum); in tcp_build_hdrs()
|
H A D | tcp_input.c | 2352 tcpha->tha_sum = htons(data_length); in tcp_ack_mp()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv_pcap.c | 288 tcp_hdr.tha_sum = 0; in smbsrv_pcap_dump()
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | tcp.h | 134 uint16_t tha_sum; /* TCP checksum */ member
|
/illumos-gate/usr/src/uts/common/io/vioif/ |
H A D | vioif.c | 1365 cksum = ntohs(tcpha->tha_sum) + len; in vioif_send() 1368 tcpha->tha_sum = htons(cksum); in vioif_send()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipsecesp.c | 686 sum += ~ntohs(tcpha->tha_sum) & 0xFFFF; in esp_fix_natt_checksums() 689 tcpha->tha_sum = ~htons(sum); in esp_fix_natt_checksums()
|