Lines Matching refs:ipd
216 ip_drop_register(ipdropper_t *ipd, char *name)
218 if (ipd->ipd_name != NULL) {
221 name, ipd->ipd_name);
226 ipd->ipd_name = kmem_alloc(strlen(name) + 1, KM_SLEEP);
227 (void) strcpy(ipd->ipd_name, name);
234 ip_drop_unregister(ipdropper_t *ipd)
236 if (ipd->ipd_name == NULL) {
239 (void *)ipd);
242 kmem_free(ipd->ipd_name, strlen(ipd->ipd_name) + 1);
244 ipd->ipd_name = NULL;