Lines Matching refs:ip
264 struct icl_pdu *ip;
272 ip = icl_cxgbei_new_pdu(M_NOWAIT);
273 if (ip == NULL)
275 m_copydata(m, sizeof(*cpl), ISCSI_BHS_SIZE, (caddr_t)ip->ip_bhs);
276 ip->ip_data_len = G_ISCSI_PDU_LEN(len_ddp) - len;
277 icp = ip_to_icp(ip);
310 MPASS(icp->ip.ip_data_mbuf == NULL);
314 MPASS(icp->ip.ip_data_len == m->m_pkthdr.len);
317 icp->ip.ip_data_mbuf = m;
344 struct icl_pdu *ip;
365 ip = &icp->ip;
372 if (val & F_DDP_PDU && ip->ip_data_mbuf == NULL) {
374 MPASS(ip->ip_data_len > 0);
377 counter_u64_add(ci->ddp_bytes, ip->ip_data_len);
385 icl_cxgbei_conn_pdu_free(NULL, ip);
421 icl_cxgbei_conn_pdu_free(NULL, ip);
429 icl_cxgbei_new_pdu_set_conn(ip, ic);
439 * the PDU in icp/ip.
463 STAILQ_INSERT_TAIL(&icc->rcvd_pdus, ip, ip_next);
579 struct icl_pdu *ip;
607 while ((ip = STAILQ_FIRST(&rx_pdus)) != NULL) {
609 ic->ic_receive(ip);