Lines Matching refs:mbuf
136 struct MBuf mbuf;
155 mbuf.vaddr = (uint64_t)buf;
156 mbuf.maddr = 0;
157 mbuf.len = p->tot_len;
158 mbuf.type = MBUF_TYPE_NULL;
159 mbuf.flags = 0;
160 mbuf.status = MBUF_STATUS_NULL;
162 status = OSNICSend(nicNo, &mbuf);
168 if (mbuf.status == MBUF_STATUS_FAILED) {
187 struct MBuf mbuf;
196 mbuf.vaddr = (uint64_t)buf;
197 mbuf.maddr = 0;
198 mbuf.len = 1500;
199 mbuf.type = MBUF_TYPE_NULL;
200 mbuf.flags = 0;
201 mbuf.status = MBUF_STATUS_NULL;
203 status = OSNICRecv(nicNo, &mbuf);
209 if (mbuf.status == MBUF_STATUS_FAILED) {
214 len = mbuf.len;