Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/netpfil/ipfw/
HDip_fw_private.h316 struct namedobj_instance *srvmap; /* cfg name->number mappings */
704 struct namedobj_instance;
705 typedef int (objhash_cb_t)(struct namedobj_instance *ni, struct named_object *,
707 typedef uint32_t (objhash_hash_f)(struct namedobj_instance *ni, const void *key,
711 struct namedobj_instance *ipfw_objhash_create(uint32_t items);
712 void ipfw_objhash_destroy(struct namedobj_instance *);
714 void ipfw_objhash_bitmap_merge(struct namedobj_instance *ni,
716 void ipfw_objhash_bitmap_swap(struct namedobj_instance *ni,
719 void ipfw_objhash_set_hashf(struct namedobj_instance *ni, objhash_hash_f *f);
720 struct named_object *ipfw_objhash_lookup_name(struct namedobj_instance *ni,
[all …]
HDip_fw_table_value.c59 static uint32_t hash_table_value(struct namedobj_instance *ni, const void *key,
88 hash_table_value(struct namedobj_instance *ni, const void *key, uint32_t kopt) in hash_table_value()
126 struct table_value **ptv, struct namedobj_instance **pvi) in get_value_ptrs()
129 struct namedobj_instance *vi; in get_value_ptrs()
150 update_tvalue(struct namedobj_instance *ni, struct named_object *no, void *arg) in update_tvalue()
179 struct namedobj_instance *vi; in resize_shared_value_storage()
251 unref_table_value(struct namedobj_instance *vi, struct table_value *pval, in unref_table_value()
337 struct namedobj_instance *vi; in rollback_table_values()
365 struct namedobj_instance *vi, uint16_t *pvidx, uint8_t flags) in alloc_table_vidx()
416 struct namedobj_instance *vi; in ipfw_garbage_table_values()
[all …]
HDip_fw_iface.c60 #define CHAIN_TO_II(ch) ((struct namedobj_instance *)ch->ifcfg)
96 struct namedobj_instance *ii; in ipfw_kifhandler()
232 struct namedobj_instance *ii; in vnet_ipfw_iface_init()
252 destroy_iface(struct namedobj_instance *ii, struct named_object *no, in destroy_iface()
268 struct namedobj_instance *ii; in vnet_ipfw_iface_destroy()
294 struct namedobj_instance *ii; in ipfw_iface_ref()
463 export_iface_internal(struct namedobj_instance *ii, struct named_object *no, in export_iface_internal()
498 struct namedobj_instance *ii; in list_ifaces()
HDip_fw_table.c89 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,
290 struct namedobj_instance *ni; in find_ref_table()
1094 struct namedobj_instance *ni; in find_table_entry()
1205 struct namedobj_instance *ni; in flush_table()
1384 struct namedobj_instance *ni; in swap_tables()
1480 struct namedobj_instance *ni; in destroy_table()
1539 struct namedobj_instance *ni; in ipfw_resize_tables()
[all …]
HDip_fw_sockopt.c89 struct namedobj_instance { struct
103 static uint32_t objhash_hash_name(struct namedobj_instance *ni, argument
105 static uint32_t objhash_hash_idx(struct namedobj_instance *ni, uint32_t val);
168 static int export_objhash_ntlv(struct namedobj_instance *ni, uint16_t kidx,
897 swap_sets_cb(struct namedobj_instance *ni, struct named_object *no, in swap_sets_cb()
911 move_sets_cb(struct namedobj_instance *ni, struct named_object *no, in move_sets_cb()
923 test_sets_cb(struct namedobj_instance *ni, struct named_object *no, in test_sets_cb()
941 ipfw_obj_manage_sets(struct namedobj_instance *ni, uint16_t type, in ipfw_obj_manage_sets()
2260 export_objhash_ntlv(struct namedobj_instance *ni, uint16_t kidx, in export_objhash_ntlv()
2278 export_named_objects(struct namedobj_instance *ni, struct dump_args *da, in export_named_objects()
[all …]
HDip_fw_table.h37 struct namedobj_instance *namehash;
38 struct namedobj_instance *valhash;
186 struct namedobj_instance *ipfw_get_table_objhash(struct ip_fw_chain *ch);
HDip_fw_eaction.c188 struct namedobj_instance *ni; in create_eaction_obj()
234 struct namedobj_instance *ni; in destroy_eaction_obj()
317 struct namedobj_instance *ni; in ipfw_eaction_uninit()
HDip_fw_table_algo.c1925 struct namedobj_instance *ii;
1947 static int destroy_ifidx_locked(struct namedobj_instance *ii,
1975 static int foreach_ifidx(struct namedobj_instance *ii, struct named_object *no,
2133 destroy_ifidx_locked(struct namedobj_instance *ii, struct named_object *no, in destroy_ifidx_locked()
2561 foreach_ifidx(struct namedobj_instance *ii, struct named_object *no, in foreach_ifidx()
HDip_fw_dynamic.c653 struct namedobj_instance *ni; in dyn_create()
/freebsd-14-stable/sys/netpfil/ipfw/nat64/
HDnat64stl_control.c70 static struct nat64stl_cfg *nat64stl_find(struct namedobj_instance *ni,
119 export_config_cb(struct namedobj_instance *ni, struct named_object *no, in export_config_cb()
131 nat64stl_find(struct namedobj_instance *ni, const char *name, uint8_t set) in nat64stl_find()
178 struct namedobj_instance *ni; in nat64stl_create()
255 struct namedobj_instance *ni; in nat64stl_config()
537 struct namedobj_instance *ni; in nat64stl_findbykidx()
570 destroy_config_cb(struct namedobj_instance *ni, struct named_object *no, in destroy_config_cb()
HDnat64clat_control.c68 static struct nat64clat_cfg *nat64clat_find(struct namedobj_instance *ni,
112 export_config_cb(struct namedobj_instance *ni, struct named_object *no, in export_config_cb()
124 nat64clat_find(struct namedobj_instance *ni, const char *name, uint8_t set) in nat64clat_find()
147 struct namedobj_instance *ni; in nat64clat_create()
219 struct namedobj_instance *ni; in nat64clat_config()
532 struct namedobj_instance *ni; in nat64clat_findbykidx()
565 destroy_config_cb(struct namedobj_instance *ni, struct named_object *no, in destroy_config_cb()
HDnat64lsn_control.c62 nat64lsn_find(struct namedobj_instance *ni, const char *name, uint8_t set) in nat64lsn_find()
117 struct namedobj_instance *ni; in nat64lsn_create()
337 export_config_cb(struct namedobj_instance *ni, struct named_object *no, in export_config_cb()
405 struct namedobj_instance *ni; in nat64lsn_config()
859 struct namedobj_instance *ni; in nat64lsn_findbykidx()
892 destroy_config_cb(struct namedobj_instance *ni, struct named_object *no, in destroy_config_cb()
/freebsd-14-stable/sys/netpfil/ipfw/nptv6/
HDnptv6.c72 static struct nptv6_cfg *nptv6_find(struct namedobj_instance *ni,
464 export_config_cb(struct namedobj_instance *ni, struct named_object *no, in export_config_cb()
476 nptv6_find(struct namedobj_instance *ni, const char *name, uint8_t set) in nptv6_find()
572 ifaddr_cb(struct namedobj_instance *ni, struct named_object *no, in ifaddr_cb()
655 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()