Home
last modified time | relevance | path

Searched refs:softd (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_dns_pxy.c63 ipf_dns_softc_t *softd; in ipf_p_dns_soft_create() local
65 KMALLOC(softd, ipf_dns_softc_t *); in ipf_p_dns_soft_create()
66 if (softd == NULL) in ipf_p_dns_soft_create()
69 bzero((char *)softd, sizeof(*softd)); in ipf_p_dns_soft_create()
70 RWLOCK_INIT(&softd->ipf_p_dns_rwlock, "ipf dns rwlock"); in ipf_p_dns_soft_create()
72 return (softd); in ipf_p_dns_soft_create()
79 ipf_dns_softc_t *softd = arg; in ipf_p_dns_soft_destroy() local
82 while ((idns = softd->ipf_p_dns_list) != NULL) { in ipf_p_dns_soft_destroy()
86 softd->ipf_p_dns_list = idns->idns_next; in ipf_p_dns_soft_destroy()
89 RW_DESTROY(&softd->ipf_p_dns_rwlock); in ipf_p_dns_soft_destroy()
[all …]
H A Dip_dstlist.c144 ipf_dstl_softc_t *softd; in ipf_dstlist_soft_create() local
147 KMALLOC(softd, ipf_dstl_softc_t *); in ipf_dstlist_soft_create()
148 if (softd == NULL) { in ipf_dstlist_soft_create()
153 bzero((char *)softd, sizeof(*softd)); in ipf_dstlist_soft_create()
155 softd->tails[i] = &softd->dstlist[i]; in ipf_dstlist_soft_create()
157 return (softd); in ipf_dstlist_soft_create()
173 ipf_dstl_softc_t *softd = arg; in ipf_dstlist_soft_destroy() local
175 KFREE(softd); in ipf_dstlist_soft_destroy()
205 ipf_dstl_softc_t *softd = arg; in ipf_dstlist_soft_fini() local
209 while (softd->dstlist[i + 1] != NULL) { in ipf_dstlist_soft_fini()
[all …]