Home
last modified time | relevance | path

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

/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64lsn.c489 int chunk_idx, pg_idx, state_idx; in nat64lsn_get_state4to6() local
501 chunk_idx = port / 2048; in nat64lsn_get_state4to6()
503 port -= chunk_idx * 2048; in nat64lsn_get_state4to6()
516 pg = alias->tcp[chunk_idx]->pgptr[pg_idx]; in nat64lsn_get_state4to6()
523 pg = alias->udp[chunk_idx]->pgptr[pg_idx]; in nat64lsn_get_state4to6()
530 pg = alias->icmp[chunk_idx]->pgptr[pg_idx]; in nat64lsn_get_state4to6()
1114 int i, pg_idx, chunk_idx; in nat64lsn_alloc_proto_pg() local
1121 chunk_idx = pg_idx / 32; in nat64lsn_alloc_proto_pg()
1122 if (!ISSET32(*chunkmask, chunk_idx)) { in nat64lsn_alloc_proto_pg()
1125 if (chunks[chunk_idx] == NULL) in nat64lsn_alloc_proto_pg()
[all …]