Author: cgutman
Date: Sat Aug 29 19:53:45 2009
New Revision: 42964
URL:
http://svn.reactos.org/svn/reactos?rev=42964&view=rev
Log:
- Implement AFD_INFO_GROUP_ID_TYPE
Modified:
trunk/reactos/drivers/network/afd/afd/info.c
trunk/reactos/drivers/network/afd/afd/main.c
trunk/reactos/drivers/network/afd/include/afd.h
Modified: trunk/reactos/drivers/network/afd/afd/info.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/in…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/info.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/info.c [iso-8859-1] Sat Aug 29 19:53:45 2009
@@ -39,7 +39,9 @@
break;
case AFD_INFO_GROUP_ID_TYPE:
- InfoReq->Information.Ulong = 0; /* What is group id */
+ InfoReq->Information.LargeInteger.u.HighPart = FCB->GroupType;
+ InfoReq->Information.LargeInteger.u.LowPart = FCB->GroupID;
+ AFD_DbgPrint(MID_TRACE, ("Group ID: %d Group Type: %d\n", FCB->GroupID,
FCB->GroupType));
break;
case AFD_INFO_BLOCKING_MODE:
Modified: trunk/reactos/drivers/network/afd/afd/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/ma…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/main.c [iso-8859-1] Sat Aug 29 19:53:45 2009
@@ -91,6 +91,8 @@
RtlZeroMemory( FCB, sizeof( *FCB ) );
FCB->Flags = ConnectInfo ? ConnectInfo->EndpointFlags : 0;
+ FCB->GroupID = ConnectInfo ? ConnectInfo->GroupID : 0;
+ FCB->GroupType = 0; /* FIXME */
FCB->State = SOCKET_STATE_CREATED;
FCB->FileObject = FileObject;
FCB->DeviceExt = DeviceExt;
Modified: trunk/reactos/drivers/network/afd/include/afd.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/includ…
==============================================================================
--- trunk/reactos/drivers/network/afd/include/afd.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/include/afd.h [iso-8859-1] Sat Aug 29 19:53:45 2009
@@ -178,7 +178,7 @@
typedef struct _AFD_FCB {
BOOLEAN Locked, Critical, Overread;
- UINT State, Flags, BlockingMode;
+ UINT State, Flags, BlockingMode, GroupID, GroupType;
KIRQL OldIrql;
UINT LockCount;
PVOID CurrentThread;