Author: cgutman
Date: Sat Jun 13 09:37:16 2009
New Revision: 41400
URL:
http://svn.reactos.org/svn/reactos?rev=41400&view=rev
Log:
- Implement NdisIMCopySendPerPacketInfo and NdisIMCopySendCompletePerPacketInfo
Modified:
trunk/reactos/drivers/network/ndis/ndis/50stubs.c
trunk/reactos/drivers/network/ndis/ndis/buffer.c
Modified: trunk/reactos/drivers/network/ndis/ndis/50stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/50stubs.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/50stubs.c [iso-8859-1] Sat Jun 13 09:37:16
2009
@@ -451,44 +451,6 @@
*/
VOID
EXPORT
-NdisIMCopySendCompletePerPacketInfo(
- IN PNDIS_PACKET DstPacket,
- IN PNDIS_PACKET SrcPacket)
-/*
- * FUNCTION:
- * ARGUMENTS:
- * NOTES:
- * NDIS 5.0
- */
-{
- UNIMPLEMENTED
-}
-
-
-/*
- * @unimplemented
- */
-VOID
-EXPORT
-NdisIMCopySendPerPacketInfo(
- IN PNDIS_PACKET DstPacket,
- IN PNDIS_PACKET SrcPacket)
-/*
- * FUNCTION:
- * ARGUMENTS:
- * NOTES:
- * NDIS 5.0
- */
-{
- UNIMPLEMENTED
-}
-
-
-/*
- * @unimplemented
- */
-VOID
-EXPORT
NdisIMDeregisterLayeredMiniport(
IN NDIS_HANDLE DriverHandle)
/*
Modified: trunk/reactos/drivers/network/ndis/ndis/buffer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/buffer.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/buffer.c [iso-8859-1] Sat Jun 13 09:37:16
2009
@@ -1320,4 +1320,57 @@
*BytesCopied = Total;
}
+/*
+ * @implemented
+ */
+VOID
+EXPORT
+NdisIMCopySendCompletePerPacketInfo(
+ IN PNDIS_PACKET DstPacket,
+ IN PNDIS_PACKET SrcPacket)
+/*
+ * FUNCTION:
+ * ARGUMENTS:
+ * NOTES:
+ * NDIS 5.0
+ */
+{
+ /* FIXME: What is the difference between NdisIMCopySendPerPacketInfo and
+ * NdisIMCopySendCompletePerPacketInfo?
+ */
+
+ NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
+
+ RtlCopyMemory(NDIS_PACKET_EXTENSION_FROM_PACKET(DstPacket),
+ NDIS_PACKET_EXTENSION_FROM_PACKET(SrcPacket),
+ sizeof(NDIS_PACKET_EXTENSION));
+}
+
+
+/*
+ * @implemented
+ */
+VOID
+EXPORT
+NdisIMCopySendPerPacketInfo(
+ IN PNDIS_PACKET DstPacket,
+ IN PNDIS_PACKET SrcPacket)
+/*
+ * FUNCTION:
+ * ARGUMENTS:
+ * NOTES:
+ * NDIS 5.0
+ */
+{
+ /* FIXME: What is the difference between NdisIMCopySendPerPacketInfo and
+ * NdisIMCopySendCompletePerPacketInfo?
+ */
+
+ NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
+
+ RtlCopyMemory(NDIS_PACKET_EXTENSION_FROM_PACKET(DstPacket),
+ NDIS_PACKET_EXTENSION_FROM_PACKET(SrcPacket),
+ sizeof(NDIS_PACKET_EXTENSION));
+}
+
/* EOF */