Lines Matching refs:tcph
1400 struct tcphdr *tcph = (struct tcphdr *)buf->tcph; in irdma_ieq_get_qp() local
1410 loc_port = ntohs(tcph->dest); in irdma_ieq_get_qp()
1411 rem_port = ntohs(tcph->source); in irdma_ieq_get_qp()
1431 struct tcphdr *tcph = (struct tcphdr *)buf->tcph; in irdma_send_ieq_ack() local
1434 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in irdma_send_ieq_ack()
1493 struct tcphdr *tcph; in irdma_gen1_ieq_update_tcpip_info() local
1501 tcph = (struct tcphdr *)(addr + buf->maclen + iphlen); in irdma_gen1_ieq_update_tcpip_info()
1504 tcph->seq = htonl(seqnum); in irdma_gen1_ieq_update_tcpip_info()
1516 struct tcphdr *tcph; in irdma_ieq_update_tcpip_info() local
1523 tcph = (struct tcphdr *)addr; in irdma_ieq_update_tcpip_info()
1524 tcph->seq = htonl(seqnum); in irdma_ieq_update_tcpip_info()
1538 struct tcphdr *tcph; in irdma_gen1_puda_get_tcpip_info() local
1555 buf->tcph = buf->iph + iphlen; in irdma_gen1_puda_get_tcpip_info()
1556 tcph = (struct tcphdr *)buf->tcph; in irdma_gen1_puda_get_tcpip_info()
1574 buf->tcphlen = tcph->doff << 2; in irdma_gen1_puda_get_tcpip_info()
1576 buf->data = buf->datalen ? buf->tcph + buf->tcphlen : NULL; in irdma_gen1_puda_get_tcpip_info()
1578 buf->seqnum = ntohl(tcph->seq); in irdma_gen1_puda_get_tcpip_info()
1591 struct tcphdr *tcph; in irdma_puda_get_tcpip_info() local
1609 buf->tcph = mem + IRDMA_TCP_OFFSET; in irdma_puda_get_tcpip_info()
1610 tcph = (struct tcphdr *)buf->tcph; in irdma_puda_get_tcpip_info()
1613 buf->tcphlen = tcph->doff << 2; in irdma_puda_get_tcpip_info()
1615 buf->data = buf->datalen ? buf->tcph + buf->tcphlen : NULL; in irdma_puda_get_tcpip_info()
1617 buf->seqnum = ntohl(tcph->seq); in irdma_puda_get_tcpip_info()