mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 19:26:29 +00:00
- Forgot this file
svn path=/trunk/; revision=43769
This commit is contained in:
parent
79e704337b
commit
5a3d389400
1 changed files with 40 additions and 0 deletions
40
reactos/drivers/network/tcpip/tcpip/ainfo.c
Normal file
40
reactos/drivers/network/tcpip/tcpip/ainfo.c
Normal file
|
@ -0,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;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue