Lines Matching refs:ii
96 struct namedobj_instance *ii; in ipfw_kifhandler() local
106 ii = CHAIN_TO_II(ch); in ipfw_kifhandler()
107 if (ii == NULL) { in ipfw_kifhandler()
111 iif = (struct ipfw_iface*)ipfw_objhash_lookup_name(ii, 0, in ipfw_kifhandler()
232 struct namedobj_instance *ii; in vnet_ipfw_iface_init() local
234 ii = ipfw_objhash_create(DEFAULT_IFACES); in vnet_ipfw_iface_init()
237 ch->ifcfg = ii; in vnet_ipfw_iface_init()
238 ii = NULL; in vnet_ipfw_iface_init()
242 if (ii != NULL) { in vnet_ipfw_iface_init()
244 ipfw_objhash_destroy(ii); in vnet_ipfw_iface_init()
252 destroy_iface(struct namedobj_instance *ii, struct named_object *no, in destroy_iface() argument
268 struct namedobj_instance *ii; in vnet_ipfw_iface_destroy() local
271 ii = CHAIN_TO_II(ch); in vnet_ipfw_iface_destroy()
275 if (ii != NULL) { in vnet_ipfw_iface_destroy()
276 ipfw_objhash_foreach(ii, destroy_iface, ch); in vnet_ipfw_iface_destroy()
277 ipfw_objhash_destroy(ii); in vnet_ipfw_iface_destroy()
294 struct namedobj_instance *ii; in ipfw_iface_ref() local
302 ii = CHAIN_TO_II(ch); in ipfw_iface_ref()
303 if (ii == NULL) { in ipfw_iface_ref()
311 ii = CHAIN_TO_II(ch); in ipfw_iface_ref()
314 iif = (struct ipfw_iface *)ipfw_objhash_lookup_name(ii, 0, name); in ipfw_iface_ref()
340 tmp = (struct ipfw_iface *)ipfw_objhash_lookup_name(ii, 0, name); in ipfw_iface_ref()
354 ipfw_objhash_add(ii, &iif->no); in ipfw_iface_ref()
463 export_iface_internal(struct namedobj_instance *ii, struct named_object *no, in export_iface_internal() argument
498 struct namedobj_instance *ii; in list_ifaces() local
510 ii = CHAIN_TO_II(ch); in list_ifaces()
511 if (ii != NULL) in list_ifaces()
512 count = ipfw_objhash_count(ii); in list_ifaces()
531 if (ii != NULL) in list_ifaces()
532 ipfw_objhash_foreach(ii, export_iface_internal, &da); in list_ifaces()