Home
last modified time | relevance | path

Searched refs:ntcph (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c1242 struct tcphdr *otcph, *ntcph; in nxge_do_softlso() local
1570 ntcph = (struct tcphdr *)(nmp->b_rptr + ehlen + iphlen); in nxge_do_softlso()
1572 bcopy((char *)&ntcph->th_seq, &tcp_seq_tmp, 4); in nxge_do_softlso()
1575 tcp_seq = ntohl(ntcph->th_seq); in nxge_do_softlso()
1578 ntcph->th_flags &= ~(TH_FIN | TH_PUSH | TH_RST); in nxge_do_softlso()
1591 ntcph->th_sum = (sum & 0xffff); in nxge_do_softlso()
1607 ntcph->th_sum, in nxge_do_softlso()
1620 ntcph = (struct tcphdr *)(nmp->b_rptr + ehlen + iphlen); in nxge_do_softlso()
1623 ntcph->th_flags &= ~(TH_FIN | TH_PUSH | TH_RST | TH_URG); in nxge_do_softlso()
1627 bcopy(&tcp_seq_tmp, (char *)&ntcph->th_seq, 4); in nxge_do_softlso()
[all …]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c817 tcph_t *ntcph; in mac_sw_lso() local
1098 ntcph = (tcph_t *)(nhdrmp->b_rptr + oehlen + oiphlen); in mac_sw_lso()
1099 tcp_seq = BE32_TO_U32(ntcph->th_seq); in mac_sw_lso()
1108 ntcph->th_flags[0] &= ~(TH_FIN | TH_PUSH); in mac_sw_lso()
1122 tcp_sum = BE16_TO_U16(ntcph->th_sum); in mac_sw_lso()
1126 U16_TO_BE16(tcp_sum, ntcph->th_sum); in mac_sw_lso()
1187 ntcph = (tcph_t *)(nhdrmp->b_rptr + oehlen + oiphlen); in mac_sw_lso()
1188 U32_TO_BE32(tcp_seq, ntcph->th_seq); in mac_sw_lso()
1194 ntcph->th_flags[0] &= ~(TH_FIN | TH_PUSH); in mac_sw_lso()
1202 U16_TO_BE16(tcp_sum, ntcph->th_sum); in mac_sw_lso()
[all …]