Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

77 lines
1.2 KiB

//============================================================================
// Copyright (c) 1995, Microsoft Corporation
//
// File: work.h
//
// History:
// Abolade Gbadegesin August 31, 1995 Created
//
// Worker function declarations
//============================================================================
#ifndef _WORK_H_
#define _WORK_H_
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
);
#if DBG
VOID
CallbackFunctionMibDisplay(
PVOID pContext,
BOOLEAN NotUsed
);
VOID
WorkerFunctionMibDisplay(
PVOID pContext
);
#endif //if DBG
#endif // _WORK_H_