Lines Matching refs:cpl
388 pass_accept_req_to_protohdrs(const struct cpl_pass_accept_req *cpl,
391 const struct tcp_options *t3opt = &cpl->tcp_options;
394 inc->inc_faddr.s_addr = cpl->peer_ip;
395 inc->inc_laddr.s_addr = cpl->local_ip;
396 inc->inc_fport = cpl->peer_port;
397 inc->inc_lport = cpl->local_port;
400 th->th_sport = cpl->peer_port;
401 th->th_dport = cpl->local_port;
402 th->th_seq = be32toh(cpl->rcv_isn); /* as in tcp_fields_to_host */
645 pass_establish_to_protohdrs(const struct cpl_pass_establish *cpl,
648 uint16_t tcp_opt = be16toh(cpl->tcp_opt);
651 inc->inc_faddr.s_addr = cpl->peer_ip;
652 inc->inc_laddr.s_addr = cpl->local_ip;
653 inc->inc_fport = cpl->peer_port;
654 inc->inc_lport = cpl->local_port;
657 th->th_sport = cpl->peer_port;
658 th->th_dport = cpl->local_port;
660 th->th_seq = be32toh(cpl->rcv_isn); /* as in tcp_fields_to_host */
661 th->th_ack = be32toh(cpl->snd_isn); /* ditto */
677 struct cpl_pass_establish *cpl = mtod(m, void *);
679 unsigned int tid = GET_TID(cpl);
689 int stid = G_PASS_OPEN_TID(ntohl(cpl->tos_tid));
717 pass_establish_to_protohdrs(cpl, &inc, &th, &to);
738 synqe->cpl = cpl;
1122 struct cpl_pass_establish *cpl = synqe->cpl;
1129 make_established(so, cpl->snd_isn, cpl->rcv_isn, cpl->tcp_opt);