2 * Hyper Operating System Application Framework
5 * @brief %jp{パケットデータ用バッファクラス}
7 * Copyright (C) 2002-2007 by Project HOS
8 * http://sourceforge.jp/projects/hos/
12 #include "packetbuf_local.h"
16 /** バッファ内のデータの送信(省コピー) */
17 void PacketBuf_SendBuf(C_PACKETBUF *self, unsigned int uiSize)
20 *(unsigned int *)(self->pubBuf + self->uiTail) = uiSize;
23 self->uiTail += PACKETBUF_DATASIZE(uiSize);