Lines Matching refs:nf
6472 ipqos_conf_filter_t *nf;
6507 nf = alloc_filter();
6508 if (nf == NULL) {
6513 *nf = *ofilter;
6518 res = nvlist_dup(ofilter->nvlist, &nf->nvlist, 0);
6528 nf->src_nd_name = malloc(strlen(ofilter->src_nd_name) + 1);
6529 if (nf->src_nd_name == NULL) {
6533 (void) strcpy(nf->src_nd_name, ofilter->src_nd_name);
6536 nf->dst_nd_name = malloc(strlen(ofilter->dst_nd_name) + 1);
6537 if (nf->dst_nd_name == NULL) {
6541 (void) strcpy(nf->dst_nd_name, ofilter->dst_nd_name);
6546 res = nvlist_add_byte(nf->nvlist, IPGPC_FILTER_TYPE,
6565 if (nvlist_add_uint32_array(nf->nvlist, IPGPC_SADDR,
6567 nvlist_add_uint32_array(nf->nvlist, IPGPC_SADDR_MASK,
6585 if (nvlist_add_uint32_array(nf->nvlist, IPGPC_DADDR,
6587 nvlist_add_uint32_array(nf->nvlist, IPGPC_DADDR_MASK,
6596 nf->instance = inst;
6598 *nfilter = nf;
6601 free_filter(nf);
6650 ipqos_conf_filter_t *flt, *nf;
6673 nf = flt->next;
6675 flt = nf;
6694 nf = flt->next;
6696 flt = nf;