Searched refs:CHAIN_TO_SRV (Results 1 – 8 of 8) sorted by relevance
| /f-stack/freebsd/netpfil/ipfw/nat64/ |
| H A D | nat64stl_control.c | 150 if (ipfw_objhash_alloc_idx(CHAIN_TO_SRV(ch), &cfg->no.kidx) != 0) in nat64stl_create_internal() 162 ipfw_objhash_add(CHAIN_TO_SRV(ch), &cfg->no); in nat64stl_create_internal() 198 ni = CHAIN_TO_SRV(ch); in nat64stl_create() 270 ni = CHAIN_TO_SRV(ch); in nat64stl_config() 307 ipfw_objhash_del(CHAIN_TO_SRV(ch), &cfg->no); in nat64stl_detach_config() 308 ipfw_objhash_free_idx(CHAIN_TO_SRV(ch), cfg->no.kidx); in nat64stl_detach_config() 335 cfg = nat64stl_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nat64stl_destroy() 376 olh->count = ipfw_objhash_count_type(CHAIN_TO_SRV(ch), in nat64stl_list() 388 ipfw_objhash_foreach_type(CHAIN_TO_SRV(ch), export_config_cb, in nat64stl_list() 531 err = ipfw_objhash_find_type(CHAIN_TO_SRV(ch), ti, in nat64stl_findbyname() [all …]
|
| H A D | nat64clat_control.c | 166 ni = CHAIN_TO_SRV(ch); in nat64clat_create() 198 ipfw_objhash_add(CHAIN_TO_SRV(ch), &cfg->no); in nat64clat_create() 235 ni = CHAIN_TO_SRV(ch); in nat64clat_config() 304 ipfw_objhash_del(CHAIN_TO_SRV(ch), &cfg->no); in nat64clat_detach_config() 305 ipfw_objhash_free_idx(CHAIN_TO_SRV(ch), cfg->no.kidx); in nat64clat_detach_config() 330 cfg = nat64clat_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nat64clat_destroy() 371 olh->count = ipfw_objhash_count_type(CHAIN_TO_SRV(ch), in nat64clat_list() 383 ipfw_objhash_foreach_type(CHAIN_TO_SRV(ch), export_config_cb, in nat64clat_list() 526 err = ipfw_objhash_find_type(CHAIN_TO_SRV(ch), ti, in nat64clat_findbyname() 538 ni = CHAIN_TO_SRV(ch); in nat64clat_findbykidx() [all …]
|
| H A D | nat64lsn_control.c | 155 ni = CHAIN_TO_SRV(ch); in nat64lsn_create() 197 if (ipfw_objhash_alloc_idx(CHAIN_TO_SRV(ch), &cfg->no.kidx) != 0) { in nat64lsn_create() 202 ipfw_objhash_add(CHAIN_TO_SRV(ch), &cfg->no); in nat64lsn_create() 218 ipfw_objhash_del(CHAIN_TO_SRV(ch), &cfg->no); in nat64lsn_detach_config() 219 ipfw_objhash_free_idx(CHAIN_TO_SRV(ch), cfg->no.kidx); in nat64lsn_detach_config() 242 cfg = nat64lsn_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nat64lsn_destroy() 373 olh->count = ipfw_objhash_count_type(CHAIN_TO_SRV(ch), in nat64lsn_list() 385 ipfw_objhash_foreach_type(CHAIN_TO_SRV(ch), export_config_cb, &da, in nat64lsn_list() 420 ni = CHAIN_TO_SRV(ch); in nat64lsn_config() 853 err = ipfw_objhash_find_type(CHAIN_TO_SRV(ch), ti, in nat64lsn_findbyname() [all …]
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_eaction.c | 160 *pno = ipfw_objhash_lookup_name_type(CHAIN_TO_SRV(ch), in eaction_findbyname() 172 return (ipfw_objhash_lookup_kidx(CHAIN_TO_SRV(ch), idx)); in eaction_findbykidx() 195 ni = CHAIN_TO_SRV(ch); in create_eaction_obj() 241 ni = CHAIN_TO_SRV(ch); in destroy_eaction_obj() 263 no = ipfw_objhash_lookup_name_type(CHAIN_TO_SRV(ch), 0, in reset_eaction_rules() 322 ni = CHAIN_TO_SRV(ch); in ipfw_eaction_uninit() 362 no = ipfw_objhash_lookup_kidx(CHAIN_TO_SRV(ch), eaction_id); in ipfw_del_eaction() 441 no = ipfw_objhash_lookup_kidx(CHAIN_TO_SRV(ch), eaction_id); in ipfw_reset_eaction_instance()
|
| H A D | ip_fw_dynamic.c | 633 *pno = ipfw_objhash_lookup_name_type(CHAIN_TO_SRV(ch), 0, in dyn_findbyname() 648 return (ipfw_objhash_lookup_kidx(CHAIN_TO_SRV(ch), idx)); in dyn_findbykidx() 673 ni = CHAIN_TO_SRV(ch); in dyn_create() 724 ipfw_objhash_del(CHAIN_TO_SRV(ch), no); in dyn_destroy() 725 ipfw_objhash_free_idx(CHAIN_TO_SRV(ch), no->kidx); in dyn_destroy()
|
| H A D | ip_fw_private.h | 548 #define CHAIN_TO_SRV(ch) ((ch)->srvmap) macro
|
| H A D | ip_fw_sockopt.c | 2303 return (export_named_objects(CHAIN_TO_SRV(ch), da, sd)); in dump_named_objects() 3369 count = ipfw_objhash_count(CHAIN_TO_SRV(chain)); in dump_srvobjects() 3378 ipfw_objhash_foreach(CHAIN_TO_SRV(chain), in dump_srvobjects()
|
| /f-stack/freebsd/netpfil/ipfw/nptv6/ |
| H A D | nptv6.c | 637 ipfw_objhash_foreach_type(CHAIN_TO_SRV(ch), ifaddr_cb, &args, in nptv6_ifaddrevent_handler() 676 ni = CHAIN_TO_SRV(ch); in nptv6_create() 740 cfg = nptv6_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nptv6_destroy() 752 ipfw_objhash_del(CHAIN_TO_SRV(ch), &cfg->no); in nptv6_destroy() 753 ipfw_objhash_free_idx(CHAIN_TO_SRV(ch), cfg->no.kidx); in nptv6_destroy() 794 olh->count = ipfw_objhash_count_type(CHAIN_TO_SRV(ch), in nptv6_list() 806 ipfw_objhash_foreach_type(CHAIN_TO_SRV(ch), export_config_cb, in nptv6_list() 857 cfg = nptv6_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nptv6_stats() 898 cfg = nptv6_find(CHAIN_TO_SRV(ch), oh->ntlv.name, oh->ntlv.set); in nptv6_reset_stats() 948 err = ipfw_objhash_find_type(CHAIN_TO_SRV(ch), ti, in nptv6_findbyname() [all …]
|