Changeset View
Changeset View
Standalone View
Standalone View
sys/net/pfvar.h
Show First 20 Lines • Show All 823 Lines • ▼ Show 20 Lines | |||||
/* pflog */ | /* pflog */ | ||||
struct pf_ruleset; | struct pf_ruleset; | ||||
struct pf_pdesc; | struct pf_pdesc; | ||||
typedef int pflog_packet_t(struct pfi_kif *, struct mbuf *, sa_family_t, | typedef int pflog_packet_t(struct pfi_kif *, struct mbuf *, sa_family_t, | ||||
u_int8_t, u_int8_t, struct pf_rule *, struct pf_rule *, | u_int8_t, u_int8_t, struct pf_rule *, struct pf_rule *, | ||||
struct pf_ruleset *, struct pf_pdesc *, int); | struct pf_ruleset *, struct pf_pdesc *, int); | ||||
extern pflog_packet_t *pflog_packet_ptr; | extern pflog_packet_t *pflog_packet_ptr; | ||||
#define V_pf_end_threads VNET(pf_end_threads) | |||||
#endif /* _KERNEL */ | #endif /* _KERNEL */ | ||||
#define PFSYNC_FLAG_SRCNODE 0x04 | #define PFSYNC_FLAG_SRCNODE 0x04 | ||||
#define PFSYNC_FLAG_NATSRCNODE 0x08 | #define PFSYNC_FLAG_NATSRCNODE 0x08 | ||||
/* for copies to/from network byte order */ | /* for copies to/from network byte order */ | ||||
/* ioctl interface also uses network byte order */ | /* ioctl interface also uses network byte order */ | ||||
#define pf_state_peer_hton(s,d) do { \ | #define pf_state_peer_hton(s,d) do { \ | ||||
▲ Show 20 Lines • Show All 902 Lines • Show Last 20 Lines |