summaryrefslogtreecommitdiffstats
path: root/private/ntos/tdi/isn/flt/fwdbind.h
blob: 36f79f383634eff5d2ef0da860322330e22252ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*++

Copyright (c) 1995  Microsoft Corporation

Module Name:

    ntos\tdi\isn\flt\fwdbind.h

Abstract:
    IPX Filter driver binding with forwarder routines


Author:

    Vadim Eydelman

Revision History:

--*/

#ifndef _IPXFLT_FWDBIND_
#define _IPXFLT_FWDBIND_


	// Buffer to keep forwarder entry points
extern IPX_FLT_BIND_OUTPUT	FltBindOutput;

	// Forwarder entry points macros
#define FwdSetFilterInContext (FltBindOutput.SetIfInContextHandler)
#define FwdSetFilterOutContext (FltBindOutput.SetIfOutContextHandler)


/*++
	B i n d T o F w d D r i v e r

Routine Description:

	Opens  forwarder driver and exchages entry points
Arguments:
	None
Return Value:
	STATUS_SUCCESS if successful,
	STATUS_UNSUCCESSFUL otherwise

--*/
NTSTATUS
BindToFwdDriver (
	KPROCESSOR_MODE requestorMode
	);

/*++
	U n i n d T o F w d D r i v e r

Routine Description:

	Closes forwarder driver
Arguments:
	None
Return Value:
	None

--*/
VOID
UnbindFromFwdDriver (
	KPROCESSOR_MODE requestorMode
	);

#endif