Home
last modified time | relevance | path

Searched refs:pgptr (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64lsn_control.c662 return (alias->icmp[pg_idx / 32]->pgptr[pg_idx % 32]); in nat64lsn_get_pg_byidx()
666 return (alias->tcp[pg_idx / 32]->pgptr[pg_idx % 32]); in nat64lsn_get_pg_byidx()
670 return (alias->udp[pg_idx / 32]->pgptr[pg_idx % 32]); in nat64lsn_get_pg_byidx()
H A Dnat64lsn.h109 struct nat64lsn_pg *pgptr[32]; member
H A Dnat64lsn.c298 &chunks[idx / 32]->pgptr[idx % 32]); in nat64lsn_get_pg()
515 pg = alias->tcp[chunk_idx]->pgptr[pg_idx]; in nat64lsn_get_state4to6()
522 pg = alias->udp[chunk_idx]->pgptr[pg_idx]; in nat64lsn_get_state4to6()
529 pg = alias->icmp[chunk_idx]->pgptr[pg_idx]; in nat64lsn_get_state4to6()
1189 ck_pr_store_ptr(&chunks[chunk_idx]->pgptr[pg_idx % 32], pg); in nat64lsn_alloc_proto_pg()