Lines Matching defs:no
164 cfg->no.name = cfg->name;
165 cfg->no.etlv = IPFW_TLV_NAT64LSN_NAME;
166 cfg->no.set = uc->set;
204 if (ipfw_objhash_alloc_idx(CHAIN_TO_SRV(ch), &cfg->no.kidx) != 0) {
209 ipfw_objhash_add(CHAIN_TO_SRV(ch), &cfg->no);
212 SRV_OBJECT(ch, cfg->no.kidx) = cfg;
225 ipfw_objhash_del(CHAIN_TO_SRV(ch), &cfg->no);
226 ipfw_objhash_free_idx(CHAIN_TO_SRV(ch), cfg->no.kidx);
255 if (cfg->no.refcnt > 0) {
260 ipfw_reset_eaction_instance(ch, V_nat64lsn_eid, cfg->no.kidx);
261 SRV_OBJECT(ch, cfg->no.kidx) = NULL;
331 uc->set = cfg->no.set;
332 strlcpy(uc->name, cfg->no.name, sizeof(uc->name));
341 export_config_cb(struct namedobj_instance *ni, struct named_object *no,
349 nat64lsn_export_config(da->ch, (struct nat64lsn_cfg *)no, uc);
832 struct named_object *no;
836 no = ipfw_objhash_lookup_kidx(ni, idx);
837 KASSERT(no != NULL, ("NAT64LSN with index %d not found", idx));
839 return (no);
864 destroy_config_cb(struct namedobj_instance *ni, struct named_object *no,
871 cfg = (struct nat64lsn_cfg *)SRV_OBJECT(ch, no->kidx);
872 SRV_OBJECT(ch, no->kidx) = NULL;