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.c715 tcph_t *ntcph; in mac_sw_lso() local
988 ntcph = (tcph_t *)(nhdrmp->b_rptr + oehlen + oiphlen); in mac_sw_lso()
989 tcp_seq = BE32_TO_U32(ntcph->th_seq); in mac_sw_lso()
998 ntcph->th_flags[0] &= ~(TH_FIN | TH_PUSH); in mac_sw_lso()
1009 tcp_sum = BE16_TO_U16(ntcph->th_sum); in mac_sw_lso()
1013 U16_TO_BE16(tcp_sum, ntcph->th_sum); in mac_sw_lso()
1046 __dtrace_tcp_tcph_t *, ntcph, uint_t, mss, int_t, seg); in mac_sw_lso()
1086 ntcph = (tcph_t *)(nhdrmp->b_rptr + oehlen + oiphlen); in mac_sw_lso()
1087 U32_TO_BE32(tcp_seq, ntcph->th_seq); in mac_sw_lso()
1093 ntcph->th_flags[0] &= ~(TH_FIN | TH_PUSH); in mac_sw_lso()
[all …]