-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTpfilter.h
executable file
·64 lines (54 loc) · 1.47 KB
/
Tpfilter.h
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
/////////////////////////////////////////////////////////////////////////////
//// INCLUDE FILES
#ifndef __TPFILTER_H
#define __TPFILTER_H
// Copyright And Configuration Management ----------------------------------
//
// Header For Trivial Protocol Filter (TPF) Module - TPFilter.h
//
// Win32 NDIS Framework (WinDis 32)
// For
// Windows 95 And Windows NT
//
// Copyright (c) 1997-1999, Printing Communications Associates, Inc.
//
// Thomas F. Divine
// 4201 Brunswick Court
// Smyrna, Georgia 30080 USA
// (770) 432-4580
//
// End ---------------------------------------------------------------------
typedef
enum _TPF_PROTO_TYPE
{
TFP_IP_PROTO = 1,
TFP_ARP_PROTO,
TFP_RARP_PROTO,
TFP_NETBEUI_PROTO,
TFP_ETALK2_PROTO,
TFP_IPX_PROTO,
TFP_IP_PROTO_TCP,
TFP_IP_PROTO_UDP,
TFP_IP_PROTO_ICMP,
TFP_IP_PROTO_IGMP,
TFP_DECEXP_PROTO
}
TPF_PROTO_TYPE;
#ifdef __cplusplus
extern "C" {
#endif
VOID TPF_InitBPFProgram(
struct bpf_program *pBPFProgram
);
DWORD TPF_ConcatBPFProgram(
struct bpf_program *pBPFProgram,
TPF_PROTO_TYPE nTPFProtoType
);
VOID TPF_FreeBPFProgram(
struct bpf_program *pBPFProgram
);
#ifdef __cplusplus
}
#endif
#endif // __TPFILTER_H