Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//============================================================================
// Copyright (c) 1995, Microsoft Corporation
//
// File: work.h
//
// History:
// Abolade Gbadegesin August 31, 1995 Created
//
// Worker function declarations
//============================================================================
#ifndef _WORK_H_
#define _WORK_H_
#define UNKNOWN_ADDRESS_STR "Unknown address"
typedef struct _INPUT_CONTEXT { DWORD IC_InterfaceIndex; DWORD IC_AddrIndex; SOCKADDR_IN IC_InputSource; DWORD IC_InputLength; BYTE IC_InputPacket[MAX_PACKET_SIZE]; } INPUT_CONTEXT, *PINPUT_CONTEXT;
VOID CallbackFunctionNetworkEvents( PVOID pvContext, BOOLEAN NotUsed );
VOID WorkerFunctionNetworkEvents( PVOID pvContextNotused );
DWORD ProcessSocket( PIF_TABLE_ENTRY pite, DWORD dwAddrIndex, PIF_TABLE pTable ); VOID WorkerFunctionProcessInput( PVOID pContext );
VOID ProcessRequest( PVOID pContext );
VOID ProcessReply( PVOID pContext );
char * myinet_ntoa( struct in_addr in );
#if DBG
VOID CallbackFunctionMibDisplay( PVOID pContext, BOOLEAN NotUsed );
VOID WorkerFunctionMibDisplay( PVOID pContext );
#endif //if DBG
#endif // _WORK_H_
|