Lines Matching defs:cpl
76 const struct cpl_act_establish *cpl = (const void *)(rss + 1);
77 u_int tid = GET_TID(cpl);
78 u_int atid = G_TID_TID(ntohl(cpl->tos_atid));
103 send_reset(sc, toep, be32toh(cpl->snd_isn));
107 make_established(toep, be32toh(cpl->snd_isn) - 1,
108 be32toh(cpl->rcv_isn) - 1, cpl->tcp_opt);
156 const struct cpl_act_open_rpl *cpl = (const void *)(rss + 1);
157 u_int atid = G_TID_TID(G_AOPEN_ATID(be32toh(cpl->atid_status)));
158 u_int status = G_AOPEN_STATUS(be32toh(cpl->atid_status));
172 release_tid(sc, GET_TID(cpl), toep->ctrlq);
324 struct cpl_act_open_req6 *cpl = wrtod(wr);
325 struct cpl_t5_act_open_req6 *cpl5 = (void *)cpl;
326 struct cpl_t6_act_open_req6 *cpl6 = (void *)cpl;
327 struct cpl_t7_act_open_req6 *cpl7 = (void *)cpl;
338 INIT_TP_WR(cpl, 0);
339 cpl->params = htobe32((uint32_t)ntuple);
358 OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ6,
360 cpl->local_port = inp->inp_lport;
361 cpl->local_ip_hi = *(uint64_t *)&inp->in6p_laddr.s6_addr[0];
362 cpl->local_ip_lo = *(uint64_t *)&inp->in6p_laddr.s6_addr[8];
363 cpl->peer_port = inp->inp_fport;
364 cpl->peer_ip_hi = *(uint64_t *)&inp->in6p_faddr.s6_addr[0];
365 cpl->peer_ip_lo = *(uint64_t *)&inp->in6p_faddr.s6_addr[8];
366 cpl->opt0 = calc_options0(vi, &toep->params);
367 cpl->opt2 = calc_options2(vi, &toep->params);
371 __func__, toep->tid, toep, inp, be64toh(cpl->opt0),
372 be32toh(cpl->opt2));
374 struct cpl_act_open_req *cpl = wrtod(wr);
375 struct cpl_t5_act_open_req *cpl5 = (void *)cpl;
376 struct cpl_t6_act_open_req *cpl6 = (void *)cpl;
377 struct cpl_t7_act_open_req *cpl7 = (void *)cpl;
381 INIT_TP_WR(cpl, 0);
382 cpl->params = htobe32((uint32_t)ntuple);
400 OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ,
402 inp_4tuple_get(inp, &cpl->local_ip, &cpl->local_port,
403 &cpl->peer_ip, &cpl->peer_port);
404 cpl->opt0 = calc_options0(vi, &toep->params);
405 cpl->opt2 = calc_options2(vi, &toep->params);
409 __func__, toep->tid, toep, inp, be64toh(cpl->opt0),
410 be32toh(cpl->opt2));