Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenports.h
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: See COPYING in the top level directory 00003 * PROJECT: ReactOS TCP/IP protocol driver 00004 * FILE: include/ports.h 00005 * PURPOSE: Port allocation 00006 * PROGRAMMERS: arty (ayerkes@speakeasy.net) 00007 * REVISIONS: 00008 * arty 20041114 Created 00009 */ 00010 00011 #pragma once 00012 00013 typedef struct _PORT_SET { 00014 RTL_BITMAP ProtoBitmap; 00015 PVOID ProtoBitBuffer; 00016 UINT StartingPort; 00017 UINT PortsToOversee; 00018 KSPIN_LOCK Lock; 00019 } PORT_SET, *PPORT_SET; 00020 00021 NTSTATUS PortsStartup( PPORT_SET PortSet, 00022 UINT StartingPort, 00023 UINT PortsToManage ); 00024 VOID PortsShutdown( PPORT_SET PortSet ); 00025 VOID DeallocatePort( PPORT_SET PortSet, ULONG Port ); 00026 BOOLEAN AllocatePort( PPORT_SET PortSet, ULONG Port ); 00027 ULONG AllocateAnyPort( PPORT_SET PortSet ); 00028 ULONG AllocatePortFromRange( PPORT_SET PortSet, ULONG Lowest, ULONG Highest ); Generated on Fri May 25 2012 04:26:12 for ReactOS by
1.7.6.1
|