/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw_private.h | 321 struct namedobj_instance *srvmap; /* cfg name->number mappings */ 696 struct namedobj_instance; 697 typedef int (objhash_cb_t)(struct namedobj_instance *ni, struct named_object *, 699 typedef uint32_t (objhash_hash_f)(struct namedobj_instance *ni, const void *key, 703 struct namedobj_instance *ipfw_objhash_create(uint32_t items, size_t hash_size); 704 void ipfw_objhash_destroy(struct namedobj_instance *); 706 void ipfw_objhash_bitmap_merge(struct namedobj_instance *ni, 708 void ipfw_objhash_bitmap_swap(struct namedobj_instance *ni, 711 void ipfw_objhash_set_hashf(struct namedobj_instance *ni, objhash_hash_f *f); 712 struct named_object *ipfw_objhash_lookup_name(struct namedobj_instance *ni, [all …]
|
H A D | ip_fw_table_value.c | 61 static uint32_t hash_table_value(struct namedobj_instance *ni, const void *key, 91 hash_table_value(struct namedobj_instance *ni, const void *key, uint32_t kopt) in hash_table_value() 129 struct table_value **ptv, struct namedobj_instance **pvi) in get_value_ptrs() 132 struct namedobj_instance *vi; in get_value_ptrs() 153 update_tvalue(struct namedobj_instance *ni, struct named_object *no, void *arg) in update_tvalue() 182 struct namedobj_instance *vi; in resize_shared_value_storage() 254 unref_table_value(struct namedobj_instance *vi, struct table_value *pval, in unref_table_value() 340 struct namedobj_instance *vi; in rollback_table_values() 368 struct namedobj_instance *vi, uint32_t *pvidx, uint8_t flags) in alloc_table_vidx() 419 struct namedobj_instance *vi; in ipfw_garbage_table_values() [all …]
|
H A D | ip_fw_iface.c | 62 #define CHAIN_TO_II(ch) ((struct namedobj_instance *)ch->ifcfg) 98 struct namedobj_instance *ii; in ipfw_kifhandler() 234 struct namedobj_instance *ii; in vnet_ipfw_iface_init() 254 destroy_iface(struct namedobj_instance *ii, struct named_object *no, in destroy_iface() 270 struct namedobj_instance *ii; in vnet_ipfw_iface_destroy() 296 struct namedobj_instance *ii; in ipfw_iface_ref() 465 export_iface_internal(struct namedobj_instance *ii, struct named_object *no, in export_iface_internal() 500 struct namedobj_instance *ii; in list_ifaces()
|
H A D | ip_fw_sockopt.c | 92 struct namedobj_instance { struct 106 static uint32_t objhash_hash_name(struct namedobj_instance *ni, argument 108 static uint32_t objhash_hash_idx(struct namedobj_instance *ni, uint32_t val); 157 static int export_objhash_ntlv(struct namedobj_instance *ni, uint32_t kidx, 671 swap_sets_cb(struct namedobj_instance *ni, struct named_object *no, in swap_sets_cb() 685 move_sets_cb(struct namedobj_instance *ni, struct named_object *no, in move_sets_cb() 697 test_sets_cb(struct namedobj_instance *ni, struct named_object *no, in test_sets_cb() 715 ipfw_obj_manage_sets(struct namedobj_instance *ni, uint16_t type, in ipfw_obj_manage_sets() 1714 export_objhash_ntlv(struct namedobj_instance *ni, uint32_t kidx, in export_objhash_ntlv() 1732 export_named_objects(struct namedobj_instance *ni, struct dump_args *da, in export_named_objects() [all …]
|
H A D | ip_fw_table.c | 89 struct namedobj_instance *vi; 92 static int find_table_err(struct namedobj_instance *ni, struct tid_info *ti, 94 static struct table_config *find_table(struct namedobj_instance *ni, 98 static void free_table_config(struct namedobj_instance *ni, 289 struct namedobj_instance *ni; in find_ref_table() 1037 struct namedobj_instance *ni; in find_table_entry() 1148 struct namedobj_instance *ni; in flush_table() 1327 struct namedobj_instance *ni; in swap_tables() 1423 struct namedobj_instance *ni; in destroy_table() 1467 struct namedobj_instance *ni; in ipfw_resize_tables() [all …]
|
H A D | ip_fw_table.h | 37 struct namedobj_instance *namehash; 38 struct namedobj_instance *valhash; 182 struct namedobj_instance *ipfw_get_table_objhash(struct ip_fw_chain *ch);
|
H A D | ip_fw_eaction.c | 196 struct namedobj_instance *ni; in create_eaction_obj() 242 struct namedobj_instance *ni; in destroy_eaction_obj() 325 struct namedobj_instance *ni; in ipfw_eaction_uninit()
|
H A D | ip_fw_table_algo.c | 1927 struct namedobj_instance *ii; 1949 static int destroy_ifidx_locked(struct namedobj_instance *ii, 1977 static int foreach_ifidx(struct namedobj_instance *ii, struct named_object *no, 2135 destroy_ifidx_locked(struct namedobj_instance *ii, struct named_object *no, in destroy_ifidx_locked() 2563 foreach_ifidx(struct namedobj_instance *ii, struct named_object *no, in foreach_ifidx()
|
H A D | ip_fw_dynamic.c | 660 struct namedobj_instance *ni; in dyn_create()
|
/freebsd/sys/netpfil/ipfw/nat64/ |
H A D | nat64stl_control.c | 69 static struct nat64stl_cfg *nat64stl_find(struct namedobj_instance *ni, 118 export_config_cb(struct namedobj_instance *ni, struct named_object *no, in export_config_cb() 130 nat64stl_find(struct namedobj_instance *ni, const char *name, uint8_t set) in nat64stl_find() 177 struct namedobj_instance *ni; in nat64stl_create() 254 struct namedobj_instance *ni; in nat64stl_config() 511 destroy_config_cb(struct namedobj_instance *ni, struct named_object *no, in destroy_config_cb()
|
H A D | nat64clat_control.c | 67 static struct nat64clat_cfg *nat64clat_find(struct namedobj_instance *ni, 111 export_config_cb(struct namedobj_instance *ni, struct named_object *no, in export_config_cb() 123 nat64clat_find(struct namedobj_instance *ni, const char *name, uint8_t set) in nat64clat_find() 146 struct namedobj_instance *ni; in nat64clat_create() 218 struct namedobj_instance *ni; in nat64clat_config() 506 destroy_config_cb(struct namedobj_instance *ni, struct named_object *no, in destroy_config_cb()
|
H A D | nat64lsn_control.c | 61 nat64lsn_find(struct namedobj_instance *ni, const char *name, uint8_t set) in nat64lsn_find() 118 struct namedobj_instance *ni; in nat64lsn_create() 343 export_config_cb(struct namedobj_instance *ni, struct named_object *no, in export_config_cb() 414 struct namedobj_instance *ni; in nat64lsn_config() 857 nat64lsn_swap_sets_cb(struct namedobj_instance *ni, struct named_object *no, in nat64lsn_swap_sets_cb() 902 destroy_config_cb(struct namedobj_instance *ni, struct named_object *no, in destroy_config_cb()
|
H A D | ip_fw_nat64.h | 86 struct namedobj_instance *ni; \
|
/freebsd/sys/netpfil/ipfw/nptv6/ |
H A D | nptv6.c | 71 static struct nptv6_cfg *nptv6_find(struct namedobj_instance *ni, 463 export_config_cb(struct namedobj_instance *ni, struct named_object *no, in export_config_cb() 475 nptv6_find(struct namedobj_instance *ni, const char *name, uint8_t set) in nptv6_find() 571 ifaddr_cb(struct namedobj_instance *ni, struct named_object *no, in ifaddr_cb() 654 struct namedobj_instance *ni; in nptv6_create() 956 struct namedobj_instance *ni; in nptv6_findbykidx() 990 destroy_config_cb(struct namedobj_instance *ni, struct named_object *no, in destroy_config_cb()
|