Changeset View
Changeset View
Standalone View
Standalone View
sbin/pfctl/pf_ruleset.c
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | |||||
#include <arpa/inet.h> | #include <arpa/inet.h> | ||||
#include <errno.h> | #include <errno.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <string.h> | #include <string.h> | ||||
#define rs_malloc(x) calloc(1, x) | #define rs_malloc(x) calloc(1, x) | ||||
#define rs_free(x) free(x) | #define rs_free(x) free(x) | ||||
#include "pfctl.h" | |||||
#ifdef PFDEBUG | #ifdef PFDEBUG | ||||
#include <sys/stdarg.h> | #include <sys/stdarg.h> | ||||
#define DPFPRINTF(format, x...) fprintf(stderr, format , ##x) | #define DPFPRINTF(format, x...) fprintf(stderr, format , ##x) | ||||
#else | #else | ||||
#define DPFPRINTF(format, x...) ((void)0) | #define DPFPRINTF(format, x...) ((void)0) | ||||
#endif /* PFDEBUG */ | #endif /* PFDEBUG */ | ||||
struct pf_anchor_global pf_anchors; | struct pf_anchor_global pf_anchors; | ||||
▲ Show 20 Lines • Show All 269 Lines • Show Last 20 Lines |