Home | History | Annotate | Download | only in netinet

Lines Matching defs:softd

65 	ipf_dns_softc_t *softd;
67 KMALLOC(softd, ipf_dns_softc_t *);
68 if (softd == NULL)
71 bzero((char *)softd, sizeof(*softd));
72 RWLOCK_INIT(&softd->ipf_p_dns_rwlock, "ipf dns rwlock");
74 return softd;
81 ipf_dns_softc_t *softd = arg;
84 while ((idns = softd->ipf_p_dns_list) != NULL) {
88 softd->ipf_p_dns_list = idns->idns_next;
91 RW_DESTROY(&softd->ipf_p_dns_rwlock);
93 KFREE(softd);
100 ipf_dns_softc_t *softd = arg;
109 WRITE_ENTER(&softd->ipf_p_dns_rwlock);
110 for (idnsp = &softd->ipf_p_dns_list; (idns = *idnsp) != NULL;
160 RWLOCK_EXIT(&softd->ipf_p_dns_rwlock);
261 ipf_p_dns_get_name(ipf_dns_softc_t *softd, char *start, int len, char *buffer,
275 softd->ipf_p_dns_compress++;
279 softd->ipf_p_dns_toolong++;
283 softd->ipf_p_dns_nospace++;
301 ipf_p_dns_allow_query(ipf_dns_softc_t *softd, dnsinfo_t *dnsi)
308 for (idns = softd->ipf_p_dns_list; idns != NULL; idns = idns->idns_next)
319 ipf_dns_softc_t *softd = arg;
337 READ_ENTER(&softd->ipf_p_dns_rwlock);
343 len = ipf_p_dns_get_name(softd, data, dlen, di->dnsi_buffer,
349 rc = ipf_p_dns_allow_query(softd, di);
356 RWLOCK_EXIT(&softd->ipf_p_dns_rwlock);