Searched refs:hosts_hash (Results 1 – 2 of 2) sorted by relevance
196 #define HOSTS(c, v) ((c)->hosts_hash[(v) & ((c)->hosts_hashsize - 1)])904 CK_SLIST_FOREACH_SAFE(host, &cfg->hosts_hash[i], in nat64lsn_expire_hosts()919 CK_SLIST_REMOVE(&cfg->hosts_hash[i], host, in nat64lsn_expire_hosts()975 CK_SLIST_FOREACH(h, &cfg->hosts_hash[i], entries) {1845 cfg->hosts_hash = malloc(sizeof(struct nat64lsn_hosts_slist) * in nat64lsn_init_config()1848 CK_SLIST_INIT(&cfg->hosts_hash[i]); in nat64lsn_init_config()1942 while (!CK_SLIST_EMPTY(&cfg->hosts_hash[i])) { in nat64lsn_destroy_config()1943 host = CK_SLIST_FIRST(&cfg->hosts_hash[i]); in nat64lsn_destroy_config()1944 CK_SLIST_REMOVE_HEAD(&cfg->hosts_hash[i], entries); in nat64lsn_destroy_config()1955 free(cfg->hosts_hash, M_NAT64LSN); in nat64lsn_destroy_config()
207 struct nat64lsn_hosts_slist *hosts_hash; member