Last change
on this file since 1141 was 1046, checked in by alloc, 8 years ago |
Daodan: Added Windows MinGW and build batch file
|
File size:
1.2 KB
|
Rev | Line | |
---|
[1046] | 1 | /*
|
---|
| 2 | * fltdefs.h - Routing and Remote Access Services
|
---|
| 3 | *
|
---|
| 4 | * THIS SOFTWARE IS NOT COPYRIGHTED
|
---|
| 5 | *
|
---|
| 6 | * This source code is offered for use in the public domain. You may use,
|
---|
| 7 | * modify or distribute it freely.
|
---|
| 8 | *
|
---|
| 9 | * This code is distributed in the hope that it will be useful but
|
---|
| 10 | * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
---|
| 11 | * DISCLAIMED. This includes but is not limited to warranties of
|
---|
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
---|
| 13 | *
|
---|
| 14 | */
|
---|
| 15 | #ifndef _FLTDEFS_H
|
---|
| 16 | #define _FLTDEFS_H
|
---|
| 17 | #if __GNUC__ >= 3
|
---|
| 18 | #pragma GCC system_header
|
---|
| 19 | #endif
|
---|
| 20 |
|
---|
| 21 | #ifdef __cplusplus
|
---|
| 22 | extern "C" {
|
---|
| 23 | #endif
|
---|
| 24 |
|
---|
| 25 | /*--- Packet Filtering Reference - Packet Filtering Enumerated Types */
|
---|
| 26 | #if (_WIN32_WINNT >= 0x0500)
|
---|
| 27 | typedef enum _GlobalFilter {
|
---|
| 28 | GF_FRAGMENTS = 2,
|
---|
| 29 | GF_STRONGHOST = 8,
|
---|
| 30 | GF_FRAGCACHE = 9
|
---|
| 31 | } GLOBAL_FILTER,*PGLOBAL_FILTER;
|
---|
| 32 | typedef enum _PfAddresType {
|
---|
| 33 | PF_IPV4,
|
---|
| 34 | PF_IPV6
|
---|
| 35 | } PFADDRESSTYPE,*PPFADDRESSTYPE;
|
---|
| 36 | typedef enum _PfForwardAction {
|
---|
| 37 | PF_ACTION_FORWARD = 0,
|
---|
| 38 | PF_ACTION_DROP
|
---|
| 39 | } PFFORWARD_ACTION,*PPFFORWARD_ACTION;
|
---|
| 40 | typedef enum _PfFrameType {
|
---|
| 41 | PFFT_FILTER = 1,
|
---|
| 42 | PFFT_FRAG = 2,
|
---|
| 43 | PFFT_SPOOF = 3
|
---|
| 44 | } PFFRAMETYPE,*PPFFRAMETYPE;
|
---|
| 45 | #endif /* (_WIN32_WINNT >= 0x0500) */
|
---|
| 46 |
|
---|
| 47 | #ifdef __cplusplus
|
---|
| 48 | }
|
---|
| 49 | #endif
|
---|
| 50 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.