NPF_NATIN
nt = npf_nat_create(NPF_NATIN, NPF_NAT_PORTS, NULL);
[NPF_NATIN] = NPF_SRC,
KASSERT(ntype == NPF_NATOUT || ntype == NPF_NATIN);
if (((np->n_type == NPF_NATIN) ^ (np->n_type == NPF_NATOUT)) == 0) {
KASSERT(type == NPF_NATIN || type == NPF_NATOUT);
KASSERT(np->n_type == NPF_NATIN);
CTASSERT(NPF_NATIN == PFIL_IN && NPF_NATOUT == PFIL_OUT);
if ((type & NPF_NATIN) != 0 && ap1->ap_netaddr == NULL) {
binat = (NPF_NATIN | NPF_NATOUT) == type;
if (type & NPF_NATIN) {
if (type & NPF_NATIN) {
if (type & NPF_NATIN) {
nt1 = npfctl_build_nat(NPF_NATIN, ifname,
: ARROWBOTH { $$ = NPF_NATIN | NPF_NATOUT; }
| ARROWLEFT { $$ = NPF_NATIN; }
case NPF_NATIN:
#define NPF_BINAT (NPF_NATIN | NPF_NATOUT)
NPF_NATIN, IFNAME_EXT, PFIL_IN,
NPF_NATIN, IFNAME_EXT, PFIL_OUT,