Changeset View
Changeset View
Standalone View
Standalone View
sys/net/pfvar.h
Show First 20 Lines • Show All 990 Lines • ▼ Show 20 Lines | struct pf_kstatus { | ||||
uint32_t states; | uint32_t states; | ||||
uint32_t src_nodes; | uint32_t src_nodes; | ||||
uint32_t running; | uint32_t running; | ||||
uint32_t since; | uint32_t since; | ||||
uint32_t debug; | uint32_t debug; | ||||
uint32_t hostid; | uint32_t hostid; | ||||
char ifname[IFNAMSIZ]; | char ifname[IFNAMSIZ]; | ||||
uint8_t pf_chksum[PF_MD5_DIGEST_LENGTH]; | uint8_t pf_chksum[PF_MD5_DIGEST_LENGTH]; | ||||
bool keep_counters; | |||||
}; | }; | ||||
struct pf_divert { | struct pf_divert { | ||||
union { | union { | ||||
struct in_addr ipv4; | struct in_addr ipv4; | ||||
struct in6_addr ipv6; | struct in6_addr ipv6; | ||||
} addr; | } addr; | ||||
u_int16_t port; | u_int16_t port; | ||||
▲ Show 20 Lines • Show All 292 Lines • ▼ Show 20 Lines | |||||
#define DIOCXROLLBACK _IOWR('D', 83, struct pfioc_trans) | #define DIOCXROLLBACK _IOWR('D', 83, struct pfioc_trans) | ||||
#define DIOCGETSRCNODES _IOWR('D', 84, struct pfioc_src_nodes) | #define DIOCGETSRCNODES _IOWR('D', 84, struct pfioc_src_nodes) | ||||
#define DIOCCLRSRCNODES _IO('D', 85) | #define DIOCCLRSRCNODES _IO('D', 85) | ||||
#define DIOCSETHOSTID _IOWR('D', 86, u_int32_t) | #define DIOCSETHOSTID _IOWR('D', 86, u_int32_t) | ||||
#define DIOCIGETIFACES _IOWR('D', 87, struct pfioc_iface) | #define DIOCIGETIFACES _IOWR('D', 87, struct pfioc_iface) | ||||
#define DIOCSETIFFLAG _IOWR('D', 89, struct pfioc_iface) | #define DIOCSETIFFLAG _IOWR('D', 89, struct pfioc_iface) | ||||
#define DIOCCLRIFFLAG _IOWR('D', 90, struct pfioc_iface) | #define DIOCCLRIFFLAG _IOWR('D', 90, struct pfioc_iface) | ||||
#define DIOCKILLSRCNODES _IOWR('D', 91, struct pfioc_src_node_kill) | #define DIOCKILLSRCNODES _IOWR('D', 91, struct pfioc_src_node_kill) | ||||
#define DIOCKEEPCOUNTERS _IOWR('D', 92, struct pfioc_nv) | |||||
struct pf_ifspeed_v0 { | struct pf_ifspeed_v0 { | ||||
char ifname[IFNAMSIZ]; | char ifname[IFNAMSIZ]; | ||||
u_int32_t baudrate; | u_int32_t baudrate; | ||||
}; | }; | ||||
struct pf_ifspeed_v1 { | struct pf_ifspeed_v1 { | ||||
char ifname[IFNAMSIZ]; | char ifname[IFNAMSIZ]; | ||||
u_int32_t baudrate32; | u_int32_t baudrate32; | ||||
▲ Show 20 Lines • Show All 381 Lines • Show Last 20 Lines |