Author: cgutman
Date: Mon Oct 26 04:19:30 2009
New Revision: 43769
URL:
http://svn.reactos.org/svn/reactos?rev=43769&view=rev
Log:
- Forgot this file
Added:
trunk/reactos/drivers/network/tcpip/tcpip/ainfo.c (with props)
Added: trunk/reactos/drivers/network/tcpip/tcpip/ainfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/ainfo.c (added)
+++ trunk/reactos/drivers/network/tcpip/tcpip/ainfo.c [iso-8859-1] Mon Oct 26 04:19:30
2009
@@ -1,0 +1,40 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS TCP/IP protocol driver
+ * FILE: tcpip/ainfo.c
+ * PURPOSE: Per-socket information.
+ * PROGRAMMER: Cameron Gutman
+ */
+
+#include "precomp.h"
+
+TDI_STATUS SetAddressFileInfo(TDIObjectID *ID,
+ PADDRESS_FILE AddrFile,
+ PVOID Buffer,
+ UINT BufferSize)
+{
+ switch (ID->toi_id)
+ {
+ case AO_OPTION_TTL:
+ if (BufferSize < sizeof(UCHAR))
+ return TDI_INVALID_PARAMETER;
+
+ AddrFile->TTL = *((PUCHAR)Buffer);
+ return TDI_SUCCESS;
+
+ default:
+ DbgPrint("Unimplemented option %x\n", ID->toi_id);
+
+ return TDI_INVALID_REQUEST;
+ }
+}
+
+TDI_STATUS GetAddressFileInfo(TDIObjectID *ID,
+ PADDRESS_FILE AddrFile,
+ PVOID Buffer,
+ PUINT BufferSize)
+{
+ UNIMPLEMENTED
+
+ return TDI_INVALID_REQUEST;
+}
Propchange: trunk/reactos/drivers/network/tcpip/tcpip/ainfo.c
------------------------------------------------------------------------------
svn:eol-style = native