Changeset View
Changeset View
Standalone View
Standalone View
contrib/tcpdump/print-pflog.c
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | static const struct tok pf_reasons[] = { | ||||
{ 7, "7(congestion)" }, | { 7, "7(congestion)" }, | ||||
{ 8, "8(ip-option)" }, | { 8, "8(ip-option)" }, | ||||
{ 9, "9(proto-cksum)" }, | { 9, "9(proto-cksum)" }, | ||||
{ 10, "10(state-mismatch)" }, | { 10, "10(state-mismatch)" }, | ||||
{ 11, "11(state-insert)" }, | { 11, "11(state-insert)" }, | ||||
{ 12, "12(state-limit)" }, | { 12, "12(state-limit)" }, | ||||
{ 13, "13(src-limit)" }, | { 13, "13(src-limit)" }, | ||||
{ 14, "14(synproxy)" }, | { 14, "14(synproxy)" }, | ||||
{ 15, "15(map-failed)" }, | |||||
{ 0, NULL } | { 0, NULL } | ||||
}; | }; | ||||
static const struct tok pf_actions[] = { | static const struct tok pf_actions[] = { | ||||
{ PF_PASS, "pass" }, | { PF_PASS, "pass" }, | ||||
{ PF_DROP, "block" }, | { PF_DROP, "block" }, | ||||
{ PF_SCRUB, "scrub" }, | { PF_SCRUB, "scrub" }, | ||||
{ PF_NOSCRUB, "scrub" }, | |||||
{ PF_NAT, "nat" }, | { PF_NAT, "nat" }, | ||||
{ PF_NONAT, "nat" }, | { PF_NONAT, "nat" }, | ||||
{ PF_BINAT, "binat" }, | { PF_BINAT, "binat" }, | ||||
{ PF_NOBINAT, "binat" }, | { PF_NOBINAT, "binat" }, | ||||
{ PF_RDR, "rdr" }, | { PF_RDR, "rdr" }, | ||||
{ PF_NORDR, "rdr" }, | { PF_NORDR, "rdr" }, | ||||
{ PF_SYNPROXY_DROP, "synproxy-drop" }, | { PF_SYNPROXY_DROP, "synproxy-drop" }, | ||||
{ PF_DEFER, "pfsync-defer" }, | |||||
{ PF_MATCH, "match" }, | |||||
{ 0, NULL } | { 0, NULL } | ||||
}; | }; | ||||
static const struct tok pf_directions[] = { | static const struct tok pf_directions[] = { | ||||
{ PF_INOUT, "in/out" }, | { PF_INOUT, "in/out" }, | ||||
{ PF_IN, "in" }, | { PF_IN, "in" }, | ||||
{ PF_OUT, "out" }, | { PF_OUT, "out" }, | ||||
{ 0, NULL } | { 0, NULL } | ||||
▲ Show 20 Lines • Show All 113 Lines • Show Last 20 Lines |