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

address.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/address.h
00005  * PURPOSE:     Address manipulation prototypes
00006  */
00007 
00008 #pragma once
00009 
00010 /*
00011  * Initialize an IPv4 style address
00012  * VOID AddrInitIPv4(
00013  *     PIP_ADDRESS IPAddress,
00014  *     IPv4_RAW_ADDRESS RawAddress)
00015  */
00016 #define AddrInitIPv4(IPAddress, RawAddress)           \
00017 {                                                     \
00018     (IPAddress)->Type                = IP_ADDRESS_V4; \
00019     (IPAddress)->Address.IPv4Address = (RawAddress);  \
00020 }
00021 
00022 #if DBG
00023 
00024 PCHAR A2S(
00025     PIP_ADDRESS Address);
00026 
00027 #endif /* DBG */
00028 
00029 VOID IPAddressFree(
00030     PVOID Object);
00031 
00032 BOOLEAN AddrIsUnspecified(
00033     PIP_ADDRESS Address);
00034 
00035 NTSTATUS AddrGetAddress(
00036     PTRANSPORT_ADDRESS AddrList,
00037     PIP_ADDRESS Address,
00038     PUSHORT Port);
00039 
00040 NTSTATUS AddrBuildAddress(
00041     PTRANSPORT_ADDRESS TdiAddress,
00042     PIP_ADDRESS Address,
00043     PUSHORT Port);
00044 
00045 BOOLEAN AddrIsEqual(
00046     PIP_ADDRESS Address1,
00047     PIP_ADDRESS Address2);
00048 
00049 INT AddrCompare(
00050     PIP_ADDRESS Address1,
00051     PIP_ADDRESS Address2);
00052 
00053 BOOLEAN AddrIsEqualIPv4(
00054     PIP_ADDRESS Address1,
00055     IPv4_RAW_ADDRESS Address2);
00056 
00057 PIP_INTERFACE AddrLocateInterface(
00058     PIP_ADDRESS MatchAddress);
00059 
00060 PADDRESS_FILE AddrSearchFirst(
00061     PIP_ADDRESS Address,
00062     USHORT Port,
00063     USHORT Protocol,
00064     PAF_SEARCH SearchContext);
00065 
00066 PADDRESS_FILE AddrSearchNext(
00067     PAF_SEARCH SearchContext);
00068 
00069 unsigned long NTAPI inet_addr(const char*);
00070 
00071 ULONG IPv4NToHl( ULONG Address );
00072 
00073 UINT AddrCountPrefixBits( PIP_ADDRESS Netmask );
00074 
00075 VOID AddrWidenAddress( PIP_ADDRESS Network, PIP_ADDRESS Source,
00076                PIP_ADDRESS Netmask );
00077 
00078 /* EOF */

Generated on Sun May 27 2012 04:28:06 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.