Lines Matching refs:tcph
1420 struct tcphdr *tcph = (struct tcphdr *)buf->tcph;
1430 loc_port = ntohs(tcph->dest);
1431 rem_port = ntohs(tcph->source);
1451 struct tcphdr *tcph = (struct tcphdr *)buf->tcph;
1454 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq);
1513 struct tcphdr *tcph;
1521 tcph = (struct tcphdr *)(addr + buf->maclen + iphlen);
1524 tcph->seq = htonl(seqnum);
1536 struct tcphdr *tcph;
1543 tcph = (struct tcphdr *)addr;
1544 tcph->seq = htonl(seqnum);
1558 struct tcphdr *tcph;
1575 buf->tcph = buf->iph + iphlen;
1576 tcph = (struct tcphdr *)buf->tcph;
1594 buf->tcphlen = tcph->doff << 2;
1596 buf->data = buf->datalen ? buf->tcph + buf->tcphlen : NULL;
1598 buf->seqnum = ntohl(tcph->seq);
1611 struct tcphdr *tcph;
1629 buf->tcph = mem + IRDMA_TCP_OFFSET;
1630 tcph = (struct tcphdr *)buf->tcph;
1633 buf->tcphlen = tcph->doff << 2;
1635 buf->data = buf->datalen ? buf->tcph + buf->tcphlen : NULL;
1637 buf->seqnum = ntohl(tcph->seq);