Changeset View
Changeset View
Standalone View
Standalone View
sbin/pfctl/pfctl_parser.c
Show First 20 Lines • Show All 482 Lines • ▼ Show 20 Lines | printf(" source-hash 0x%08x%08x%08x%08x", | ||||
pool->key.key32[2], pool->key.key32[3]); | pool->key.key32[2], pool->key.key32[3]); | ||||
break; | break; | ||||
case PF_POOL_ROUNDROBIN: | case PF_POOL_ROUNDROBIN: | ||||
printf(" round-robin"); | printf(" round-robin"); | ||||
break; | break; | ||||
} | } | ||||
if (pool->opts & PF_POOL_STICKYADDR) | if (pool->opts & PF_POOL_STICKYADDR) | ||||
printf(" sticky-address"); | printf(" sticky-address"); | ||||
#define PF_POOL_ENDPI 0x40 | |||||
kp: That seems like the wrong place for this. | |||||
if (pool->opts & PF_POOL_ENDPI) | |||||
printf(" endpoint-independent"); | |||||
if (id == PF_NAT && p1 == 0 && p2 == 0) | if (id == PF_NAT && p1 == 0 && p2 == 0) | ||||
printf(" static-port"); | printf(" static-port"); | ||||
if (pool->mape.offset > 0) | if (pool->mape.offset > 0) | ||||
printf(" map-e-portset %u/%u/%u", | printf(" map-e-portset %u/%u/%u", | ||||
pool->mape.offset, pool->mape.psidlen, pool->mape.psid); | pool->mape.offset, pool->mape.psidlen, pool->mape.psid); | ||||
} | } | ||||
const char * const pf_reasons[PFRES_MAX+1] = PFRES_NAMES; | const char * const pf_reasons[PFRES_MAX+1] = PFRES_NAMES; | ||||
▲ Show 20 Lines • Show All 1,580 Lines • Show Last 20 Lines |
That seems like the wrong place for this.