Lines Matching defs:nat2
739 struct pflow_ipfix_nat4 *nat2, const struct pf_kstate *st,
742 nat1->src_ip = nat2->dest_ip = st->key[PF_SK_STACK]->addr[src].v4.s_addr;
743 nat1->src_port = nat2->dest_port = st->key[PF_SK_STACK]->port[src];
744 nat1->dest_ip = nat2->src_ip = st->key[PF_SK_STACK]->addr[dst].v4.s_addr;
745 nat1->dest_port = nat2->src_port = st->key[PF_SK_STACK]->port[dst];
746 nat1->postnat_src_ip = nat2->postnat_dest_ip = st->key[PF_SK_WIRE]->addr[src].v4.s_addr;
747 nat1->postnat_src_port = nat2->postnat_dest_port = st->key[PF_SK_WIRE]->port[src];
748 nat1->postnat_dest_ip = nat2->postnat_src_ip = st->key[PF_SK_WIRE]->addr[dst].v4.s_addr;
749 nat1->postnat_dest_port = nat2->postnat_src_port = st->key[PF_SK_WIRE]->port[dst];
750 nat1->protocol = nat2->protocol = sk->proto;