ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ports.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 doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.