Lines Matching refs:tcph
178 struct tcphdr *tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in nes_get_seq() local
180 *ack = be32_to_cpu(tcph->ack_seq); in nes_get_seq()
181 *wnd = be16_to_cpu(tcph->window); in nes_get_seq()
182 *fin_rcvd = tcph->fin; in nes_get_seq()
183 *rst_rcvd = tcph->rst; in nes_get_seq()
184 return be32_to_cpu(tcph->seq); in nes_get_seq()
246 struct tcphdr *tcph; in get_fpdu_info() local
338 tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in get_fpdu_info()
339 fpdu_info->hdr_len = (((unsigned char *)tcph) + 4 * (tcph->doff)) - cb->data_start; in get_fpdu_info()
358 tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in get_fpdu_info()
364 tcph->seq = cpu_to_be32(nesqp->pau_rcv_nxt); in get_fpdu_info()
365 tcph->ack_seq = cpu_to_be32(ack); in get_fpdu_info()
366 tcph->window = cpu_to_be16(wnd); in get_fpdu_info()
387 tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in get_fpdu_info()
388 tcph->seq = cpu_to_be32(nesqp->pau_rcv_nxt); in get_fpdu_info()
512 struct tcphdr *tcph; in queue_fpdus() local
523 tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in queue_fpdus()
524 seqnum = be32_to_cpu(tcph->seq); in queue_fpdus()
525 tcph_end = (((char *)tcph) + (4 * tcph->doff)); in queue_fpdus()