Searched refs:BlockOp (Results 1 – 3 of 3) sorted by relevance
125 Nbuf->BlockOp[0].BlockHead = Bulk; in NetbufAlloc()126 Nbuf->BlockOp[0].BlockTail = Bulk + Len; in NetbufAlloc()128 Nbuf->BlockOp[0].Head = Bulk; in NetbufAlloc()129 Nbuf->BlockOp[0].Tail = Bulk; in NetbufAlloc()130 Nbuf->BlockOp[0].Size = 0; in NetbufAlloc()268 CopyMem (Clone->BlockOp, Nbuf->BlockOp, sizeof (NET_BLOCK_OP) * Nbuf->BlockOpNum); in NetbufClone()379 NET_BLOCK_OP *BlockOp; in NetbufGetByte() local389 BlockOp = Nbuf->BlockOp; in NetbufGetByte()394 if (Len + BlockOp[Loop].Size <= Offset) { in NetbufGetByte()395 Len += BlockOp[Loop].Size; in NetbufGetByte()[all …]
1513 NET_BLOCK_OP BlockOp[1]; // Specify the position of actual packet member1574 #define NET_HEADSPACE(BlockOp) \ argument1575 (UINTN)((BlockOp)->Head - (BlockOp)->BlockHead)1577 #define NET_TAILSPACE(BlockOp) \ argument1578 (UINTN)((BlockOp)->BlockTail - (BlockOp)->Tail)
78 #define NET_PROTO_HDR(Buf, Type) ((Type *) ((Buf)->BlockOp[0].Head))