Changeset View
Changeset View
Standalone View
Standalone View
sys/netpfil/pf/pf.h
| Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | |||||
| #define PF_POOL_ENDPI 0x40 | #define PF_POOL_ENDPI 0x40 | ||||
| #define PF_WSCALE_FLAG 0x80 | #define PF_WSCALE_FLAG 0x80 | ||||
| #define PF_WSCALE_MASK 0x0f | #define PF_WSCALE_MASK 0x0f | ||||
| #define PF_LOG 0x01 | #define PF_LOG 0x01 | ||||
| #define PF_LOG_ALL 0x02 | #define PF_LOG_ALL 0x02 | ||||
| #define PF_LOG_SOCKET_LOOKUP 0x04 | #define PF_LOG_SOCKET_LOOKUP 0x04 | ||||
| #define PF_LOG_FORCE 0x08 | #define PF_LOG_FORCE 0x08 | ||||
| #define PF_LOG_MATCHES 0x10 | |||||
| /* Reasons code for passing/dropping a packet */ | /* Reasons code for passing/dropping a packet */ | ||||
| #define PFRES_MATCH 0 /* Explicit match of a rule */ | #define PFRES_MATCH 0 /* Explicit match of a rule */ | ||||
| #define PFRES_BADOFF 1 /* Bad offset for pull_hdr */ | #define PFRES_BADOFF 1 /* Bad offset for pull_hdr */ | ||||
| #define PFRES_FRAG 2 /* Dropping following fragment */ | #define PFRES_FRAG 2 /* Dropping following fragment */ | ||||
| #define PFRES_SHORT 3 /* Dropping short packet */ | #define PFRES_SHORT 3 /* Dropping short packet */ | ||||
| #define PFRES_NORM 4 /* Dropping by normalizer */ | #define PFRES_NORM 4 /* Dropping by normalizer */ | ||||
| #define PFRES_MEMORY 5 /* Dropped due to lacking mem */ | #define PFRES_MEMORY 5 /* Dropped due to lacking mem */ | ||||
| ▲ Show 20 Lines • Show All 572 Lines • Show Last 20 Lines | |||||