Lines Matching defs:no
81 cfg->no.name = cfg->name;
82 cfg->no.etlv = IPFW_TLV_NAT64CLAT_NAME;
83 cfg->no.set = set;
105 uc->set = cfg->no.set;
106 strlcpy(uc->name, cfg->no.name, sizeof(uc->name));
115 export_config_cb(struct namedobj_instance *ni, struct named_object *no,
122 nat64clat_export_config(da->ch, (struct nat64clat_cfg *)no, uc);
194 if (ipfw_objhash_alloc_idx(ni, &cfg->no.kidx) != 0) {
199 ipfw_objhash_add(CHAIN_TO_SRV(ch), &cfg->no);
201 SRV_OBJECT(ch, cfg->no.kidx) = cfg;
305 ipfw_objhash_del(CHAIN_TO_SRV(ch), &cfg->no);
306 ipfw_objhash_free_idx(CHAIN_TO_SRV(ch), cfg->no.kidx);
336 if (cfg->no.refcnt > 0) {
341 ipfw_reset_eaction_instance(ch, V_nat64clat_eid, cfg->no.kidx);
342 SRV_OBJECT(ch, cfg->no.kidx) = NULL;
537 struct named_object *no;
541 no = ipfw_objhash_lookup_kidx(ni, idx);
542 KASSERT(no != NULL, ("NAT with index %d not found", idx));
544 return (no);
569 destroy_config_cb(struct namedobj_instance *ni, struct named_object *no,
576 cfg = (struct nat64clat_cfg *)SRV_OBJECT(ch, no->kidx);
577 SRV_OBJECT(ch, no->kidx) = NULL;