Lines Matching refs:cpl

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