Lines Matching defs:no
162 cfg->no.name = cfg->name;
163 cfg->no.etlv = IPFW_TLV_NAT64LSN_NAME;
164 cfg->no.set = uc->set;
194 if (ipfw_objhash_alloc_idx(CHAIN_TO_SRV(ch), &cfg->no.kidx) != 0) {
199 ipfw_objhash_add(CHAIN_TO_SRV(ch), &cfg->no);
202 SRV_OBJECT(ch, cfg->no.kidx) = cfg;
215 ipfw_objhash_del(CHAIN_TO_SRV(ch), &cfg->no);
216 ipfw_objhash_free_idx(CHAIN_TO_SRV(ch), cfg->no.kidx);
245 if (cfg->no.refcnt > 0) {
250 ipfw_reset_eaction_instance(ch, V_nat64lsn_eid, cfg->no.kidx);
251 SRV_OBJECT(ch, cfg->no.kidx) = NULL;
326 uc->set = cfg->no.set;
327 strlcpy(uc->name, cfg->no.name, sizeof(uc->name));
336 export_config_cb(struct namedobj_instance *ni, struct named_object *no,
344 nat64lsn_export_config(da->ch, (struct nat64lsn_cfg *)no, uc);
859 struct named_object *no;
863 no = ipfw_objhash_lookup_kidx(ni, idx);
864 KASSERT(no != NULL, ("NAT64LSN with index %d not found", idx));
866 return (no);
891 destroy_config_cb(struct namedobj_instance *ni, struct named_object *no,
898 cfg = (struct nat64lsn_cfg *)SRV_OBJECT(ch, no->kidx);
899 SRV_OBJECT(ch, no->kidx) = NULL;