ReactOS 0.4.16-dev-306-g647d351
|
Go to the source code of this file.
Classes | |
struct | _PF_SET_EXTENSION_HOOK_INFO |
Macros | |
#define | DD_IPFLTRDRVR_DEVICE_NAME L"\\Device\\IPFILTERDRIVER" |
#define | INVALID_PF_IF_INDEX 0xffffffff |
#define | ZERO_PF_IP_ADDR 0 |
#define | FSCTL_IPFLTRDRVR_BASE FILE_DEVICE_NETWORK |
#define | _IPFLTRDRVR_CTL_CODE(function, method, access) CTL_CODE(FSCTL_IPFLTRDRVR_BASE, function, method, access) |
#define | IOCTL_PF_SET_EXTENSION_POINTER _IPFLTRDRVR_CTL_CODE(22, METHOD_BUFFERED, FILE_WRITE_ACCESS) |
Typedefs | |
typedef ULONG | IPAddr |
typedef enum _PF_FORWARD_ACTION | PF_FORWARD_ACTION |
typedef PF_FORWARD_ACTION(NTAPI * | PacketFilterExtensionPtr) (IN unsigned char *PacketHeader, IN unsigned char *Packet, IN unsigned int PacketLength, IN unsigned int RecvInterfaceIndex, IN unsigned int SendInterfaceIndex, IN IPAddr RecvLinkNextHop, IN IPAddr SendLinkNextHop) |
typedef struct _PF_SET_EXTENSION_HOOK_INFO | PF_SET_EXTENSION_HOOK_INFO |
typedef struct _PF_SET_EXTENSION_HOOK_INFO * | PPF_SET_EXTENSION_HOOK_INFO |
Enumerations | |
enum | _PF_FORWARD_ACTION { PF_FORWARD = 0 , PF_DROP = 1 , PF_PASS = 2 , PF_ICMP_ON_DROP = 3 } |
#define DD_IPFLTRDRVR_DEVICE_NAME L"\\Device\\IPFILTERDRIVER" |
#define FSCTL_IPFLTRDRVR_BASE FILE_DEVICE_NETWORK |
#define IOCTL_PF_SET_EXTENSION_POINTER _IPFLTRDRVR_CTL_CODE(22, METHOD_BUFFERED, FILE_WRITE_ACCESS) |
typedef enum _PF_FORWARD_ACTION PF_FORWARD_ACTION |
Enumerator | |
---|---|
PF_FORWARD | |
PF_DROP | |
PF_PASS | |
PF_ICMP_ON_DROP |
Definition at line 37 of file pfhook.h.