Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_pfsync.h
Show First 20 Lines • Show All 230 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* Configuration structure for SIOCSETPFSYNC SIOCGETPFSYNC | * Configuration structure for SIOCSETPFSYNC SIOCGETPFSYNC | ||||
*/ | */ | ||||
struct pfsyncreq { | struct pfsyncreq { | ||||
char pfsyncr_syncdev[IFNAMSIZ]; | char pfsyncr_syncdev[IFNAMSIZ]; | ||||
struct in_addr pfsyncr_syncpeer; | struct in_addr pfsyncr_syncpeer; | ||||
int pfsyncr_maxupdates; | int pfsyncr_maxupdates; | ||||
#define PFSYNCF_OK 0x00000001 | |||||
#define PFSYNCF_DEFER 0x00000002 | |||||
int pfsyncr_defer; | int pfsyncr_defer; | ||||
}; | }; | ||||
#define SIOCSETPFSYNC _IOW('i', 247, struct ifreq) | #define SIOCSETPFSYNC _IOW('i', 247, struct ifreq) | ||||
#define SIOCGETPFSYNC _IOWR('i', 248, struct ifreq) | #define SIOCGETPFSYNC _IOWR('i', 248, struct ifreq) | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
Show All 20 Lines |