阅读:1028回复:1
E 文不好,大哭,请教一下大家?
偶不太明白ProtocolReceive中各个参数的意思,找到资料:
* IN MacReceiveContext - Specifies a context handle that the underlying NIC driver associates with the packet received from the network. * IN HeaderBuffer - Points to the base virtual address of a range containing the buffered packet header. * IN HeaderBufferSize - Specifies the number of bytes in the packet header. * IN LookAheadBuffer - Points to the base virtual address of a range that contains LookaheadBufferSize bytes of buffered network packet data. * IN LookAheadBufferSize - Specifies the number of bytes of network packet data in the lookahead buffer. * IN PacketSize - Specifies the size, in bytes, of the network packet data. The length of the packet does not include the length of the header. 不过偶e文差劲,不是太明白,想请教一下大家??? :P |
|
最新喜欢:![]()
|
沙发#
发布于:2004-12-30 15:23
IN MacReceiveContext - Specifies a context handle that the underlying NIC driver associates with the packet received from the network.
确定与接收包有关的网卡驱动的上下文句柄。 * IN HeaderBuffer - Points to the base virtual address of a range containing the buffered packet header. 指向一系列包含缓冲的包头基本虚地址(MAC祯头部) * IN HeaderBufferSize - Specifies the number of bytes in the packet header. 确定包头的字节数(MAC祯头部大小,14) * IN LookAheadBuffer - Points to the base virtual address of a range that contains LookaheadBufferSize bytes of buffered network packet data. 指向一系列包含着在“开始缓冲中的网络包数据的字节数”字节的缓冲的网络包数据的基本虚地址(IP包的开始部分) * IN LookAheadBufferSize - Specifies the number of bytes of network packet data in the lookahead buffer. 确定在开始缓冲中的网络包数据的字节数 * IN PacketSize - Specifies the size, in bytes, of the network packet data. The length of the packet does not include the length of the header 以字节的形式确定网络包数据的大小,包的长度不包括头的长度。 纯属自己翻译(如有错误,请Email:lymlrx@21cn.com),希望对你能有所帮助。 [编辑 - 12/30/04 by baobaook] |
|