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));
97 send_reset(sc, toep, be32toh(cpl->snd_isn));
101 make_established(toep, be32toh(cpl->snd_isn) - 1,
102 be32toh(cpl->rcv_isn) - 1, cpl->tcp_opt);
150 const struct cpl_act_open_rpl *cpl = (const void *)(rss + 1);
151 u_int atid = G_TID_TID(G_AOPEN_ATID(be32toh(cpl->atid_status)));
152 u_int status = G_AOPEN_STATUS(be32toh(cpl->atid_status));
166 release_tid(sc, GET_TID(cpl), toep->ctrlq);
312 struct cpl_act_open_req6 *cpl = wrtod(wr);
313 struct cpl_t5_act_open_req6 *cpl5 = (void *)cpl;
314 struct cpl_t6_act_open_req6 *cpl6 = (void *)cpl;
325 INIT_TP_WR(cpl, 0);
326 cpl->params = select_ntuple(vi, toep->l2te);
340 OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ6,
342 cpl->local_port = inp->inp_lport;
343 cpl->local_ip_hi = *(uint64_t *)&inp->in6p_laddr.s6_addr[0];
344 cpl->local_ip_lo = *(uint64_t *)&inp->in6p_laddr.s6_addr[8];
345 cpl->peer_port = inp->inp_fport;
346 cpl->peer_ip_hi = *(uint64_t *)&inp->in6p_faddr.s6_addr[0];
347 cpl->peer_ip_lo = *(uint64_t *)&inp->in6p_faddr.s6_addr[8];
348 cpl->opt0 = calc_options0(vi, &toep->params);
349 cpl->opt2 = calc_options2(vi, &toep->params);
353 __func__, toep->tid, toep, inp, be64toh(cpl->opt0),
354 be32toh(cpl->opt2));
356 struct cpl_act_open_req *cpl = wrtod(wr);
357 struct cpl_t5_act_open_req *cpl5 = (void *)cpl;
358 struct cpl_t6_act_open_req *cpl6 = (void *)cpl;
362 INIT_TP_WR(cpl, 0);
363 cpl->params = select_ntuple(vi, toep->l2te);
377 OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ,
379 inp_4tuple_get(inp, &cpl->local_ip, &cpl->local_port,
380 &cpl->peer_ip, &cpl->peer_port);
381 cpl->opt0 = calc_options0(vi, &toep->params);
382 cpl->opt2 = calc_options2(vi, &toep->params);
386 __func__, toep->tid, toep, inp, be64toh(cpl->opt0),
387 be32toh(cpl->opt2));