Lines Matching defs:softp

322 	ipf_proxy_softc_t *softp;
327 KMALLOC(softp, ipf_proxy_softc_t *);
328 if (softp == NULL)
329 return softp;
331 bzero((char *)softp, sizeof(*softp));
334 softp->ips_proxy_debug = 0;
336 softp->ips_proxy_debug = 2;
338 softp->ips_proxy_session_size = AP_SESS_SIZE;
340 softp->ipf_proxy_tune = ipf_tune_array_copy(softp,
343 if (softp->ipf_proxy_tune == NULL) {
344 ipf_proxy_soft_destroy(softc, softp);
347 if (ipf_tune_array_link(softc, softp->ipf_proxy_tune) == -1) {
348 ipf_proxy_soft_destroy(softc, softp);
360 softp->ips_proxies = apn;
370 softp->ips_proxies = apn;
374 return softp;
376 ipf_proxy_soft_destroy(softc, softp);
431 ipf_proxy_softc_t *softp;
436 softp = arg;
437 size = softp->ips_proxy_session_size * sizeof(ap_session_t *);
439 KMALLOCS(softp->ips_sess_tab, ap_session_t **, size);
441 if (softp->ips_sess_tab == NULL)
444 bzero(softp->ips_sess_tab, size);
446 for (ap = softp->ips_proxies; ap != NULL; ap = ap->apr_next) {
453 softp->ips_init_run = 1;
472 ipf_proxy_softc_t *softp = arg;
475 for (ap = softp->ips_proxies; ap != NULL; ap = ap->apr_next) {
481 if (softp->ips_sess_tab != NULL) {
482 KFREES(softp->ips_sess_tab,
483 softp->ips_proxy_session_size * sizeof(ap_session_t *));
484 softp->ips_sess_tab = NULL;
486 softp->ips_init_run = 0;
503 ipf_proxy_softc_t *softp = arg;
506 while ((ap = softp->ips_proxies) != NULL) {
507 softp->ips_proxies = ap->apr_next;
514 if (softp->ipf_proxy_tune != NULL) {
515 ipf_tune_array_unlink(softc, softp->ipf_proxy_tune);
516 KFREES(softp->ipf_proxy_tune, sizeof(ipf_proxy_tuneables));
517 softp->ipf_proxy_tune = NULL;
520 KFREE(softp);
536 ipf_proxy_softc_t *softp = arg;
542 for (ap = softp->ips_proxies; ap; ap = ap->apr_next)
547 for (ap = softp->ips_proxies; ap; ap = ap->apr_next)
568 ipf_proxy_softc_t *softp = arg;
576 if (softp->ips_proxy_debug & 0x01)
586 if (softp->ips_proxy_debug & 0x01)
613 ipf_proxy_softc_t *softp = arg;
619 if (softp->ips_proxy_debug & 0x01)
625 if (softp->ips_proxy_debug & 0x01)
632 if ((error != 0) && (softp->ips_proxy_debug & 0x02))
773 ipf_proxy_softc_t *softp = softc->ipf_proxy_soft;
779 if (softp->ips_proxy_debug & 0x04)
785 if (softp->ips_proxy_debug & 0x08)
793 if (softp->ips_proxy_debug & 0x08)
802 if (softp->ips_proxy_debug & 0x08)
825 ipf_proxy_softc_t *softp = softc->ipf_proxy_soft;
829 if (softp->ips_proxy_debug & 0x04)
833 if (softp->ips_proxy_debug & 0x08)
843 if (softp->ips_proxy_debug & 0x08)
851 if (softp->ips_proxy_debug & 0x08)
867 if (softp->ips_proxy_debug & 0x08)
873 aps->aps_next = softp->ips_sess_list;
874 softp->ips_sess_list = aps;
896 ipf_proxy_softc_t *softp = softc->ipf_proxy_soft;
914 if (softp->ips_proxy_debug & 0x08)
922 if (softp->ips_proxy_debug & 0x08)
940 if (softp->ips_proxy_debug & 0x08)
982 if (((softp->ips_proxy_debug & 0x08) && (rv != 0)) ||
983 (softp->ips_proxy_debug & 0x04))
1063 ipf_proxy_softc_t *softp = arg;
1066 if (softp->ips_proxy_debug & 0x04)
1069 for (ap = softp->ips_proxies; ap != NULL; ap = ap->apr_next)
1076 if (softp->ips_proxy_debug & 0x08)
1109 ipf_proxy_softc_t *softp = softc->ipf_proxy_soft;
1116 for (ap = &softp->ips_sess_list; ((a = *ap) != NULL); ap = &a->aps_next)
1149 ipf_proxy_softc_t *softp = softc->ipf_proxy_soft;
1173 if (softp->ips_proxy_debug & 0x10)
1193 if (softp->ips_proxy_debug & 0x10)
1207 if (softp->ips_proxy_debug & 0x10)
1226 if (softp->ips_proxy_debug & 0x10)
1246 if (softp->ips_proxy_debug & 0x10)
1260 if (softp->ips_proxy_debug & 0x10)
1267 if (softp->ips_proxy_debug & 0x10)
1279 if (softp->ips_proxy_debug & 0x10)