Searched refs:nat1 (Results 1 – 1 of 1) sorted by relevance
738 copy_nat_ipfix_4_data(struct pflow_ipfix_nat4 *nat1, in copy_nat_ipfix_4_data() argument742 nat1->src_ip = nat2->dest_ip = st->key[PF_SK_STACK]->addr[src].v4.s_addr; in copy_nat_ipfix_4_data()743 nat1->src_port = nat2->dest_port = st->key[PF_SK_STACK]->port[src]; in copy_nat_ipfix_4_data()744 nat1->dest_ip = nat2->src_ip = st->key[PF_SK_STACK]->addr[dst].v4.s_addr; in copy_nat_ipfix_4_data()745 nat1->dest_port = nat2->src_port = st->key[PF_SK_STACK]->port[dst]; in copy_nat_ipfix_4_data()746 nat1->postnat_src_ip = nat2->postnat_dest_ip = st->key[PF_SK_WIRE]->addr[src].v4.s_addr; in copy_nat_ipfix_4_data()747 nat1->postnat_src_port = nat2->postnat_dest_port = st->key[PF_SK_WIRE]->port[src]; in copy_nat_ipfix_4_data()748 nat1->postnat_dest_ip = nat2->postnat_src_ip = st->key[PF_SK_WIRE]->addr[dst].v4.s_addr; in copy_nat_ipfix_4_data()749 nat1->postnat_dest_port = nat2->postnat_src_port = st->key[PF_SK_WIRE]->port[dst]; in copy_nat_ipfix_4_data()750 nat1->protocol = nat2->protocol = sk->proto; in copy_nat_ipfix_4_data()