Home | History | Annotate | Download | only in netinet

Lines Matching refs:softc

152 /* Parameters:  softc(I) - pointer to soft context main structure           */
157 ipf_htable_soft_create(ipf_main_softc_t *softc)
176 /* Parameters: softc(I) - pointer to soft context main structure */
183 ipf_htable_soft_destroy(ipf_main_softc_t *softc, void *arg)
194 /* Parameters: softc(I) - pointer to soft context main structure */
200 ipf_htable_soft_init(ipf_main_softc_t *softc, void *arg)
213 /* Parameters: softc(I) - pointer to soft context main structure */
222 ipf_htable_soft_fini(ipf_main_softc_t *softc, void *arg)
231 ipf_htable_flush(softc, arg, &fop);
238 /* Parameters: softc(I) - pointer to soft context main structure */
246 ipf_htable_stats_get(ipf_main_softc_t *softc, void *arg, iplookupop_t *op)
275 /* Parameters: softc(I) - pointer to soft context main structure */
282 ipf_htable_create(ipf_main_softc_t *softc, void *arg, iplookupop_t *op)
385 /* Parameters: softc(I) - pointer to soft context main structure */
391 ipf_htable_table_del(ipf_main_softc_t *softc, void *arg, iplookupop_t *op)
393 return ipf_htable_destroy(softc, arg, op->iplo_unit, op->iplo_name);
400 /* Parameters: softc(I) - pointer to soft context main structure */
410 ipf_htable_destroy(ipf_main_softc_t *softc, void *arg, int unit, char *name)
426 ipf_htable_clear(softc, arg, iph);
431 ipf_htable_remove(softc, arg, iph);
440 /* Parameters: softc(I) - pointer to soft context main structure */
448 ipf_htable_clear(ipf_main_softc_t *softc, void *arg, iphtable_t *iph)
453 if (ipf_htent_remove(softc, arg, iph, ipe) != 0)
488 /* Parameters: softc(I) - pointer to soft context main structure */
496 ipf_htable_remove(ipf_main_softc_t *softc, void *arg, iphtable_t *iph)
499 if (ipf_htable_clear(softc, arg, iph) != 0)
509 return ipf_htable_deref(softc, arg, iph);
516 /* Parameters: softc(I) - pointer to soft context main structure */
523 ipf_htable_node_del(ipf_main_softc_t *softc, void *arg, iplookupop_t *op,
558 err = ipf_htent_remove(softc, arg, iph, ent);
567 /* Parameters: softc(I) - pointer to soft context main structure */
573 ipf_htable_table_add(ipf_main_softc_t *softc, void *arg, iplookupop_t *op)
581 err = ipf_htable_create(softc, arg, op);
591 /* Parameters: softc(I) - pointer to soft context main structure */
599 ipf_htent_remove(ipf_main_softc_t *softc, void *arg, iphtable_t *iph,
630 ipf_group_del(softc, ipe->ipe_ptr, NULL);
646 /* Parameters: softc(I) - pointer to soft context main structure */
652 ipf_htable_deref(ipf_main_softc_t *softc, void *arg, void *object)
774 /* Parameters: softc(I) - pointer to soft context main structure */
780 ipf_htable_flush(ipf_main_softc_t *softc, void *arg, iplookupflush_t *op)
792 if (ipf_htable_remove(softc, arg, iph) == 0) {
808 /* Parameters: softc(I) - pointer to soft context main structure */
815 ipf_htable_node_add(ipf_main_softc_t *softc, void *arg, iplookupop_t *op,
845 err = ipf_htent_insert(softc, arg, iph, &hte);
854 /* Parameters: softc(I) - pointer to soft context main structure */
862 ipf_htent_insert(ipf_main_softc_t *softc, void *arg, iphtable_t *iph,
927 ipe->ipe_die = softc->ipf_ticks + IPF_TTLVAL(ipe->ipe_die);
966 ipe->ipe_ptr = ipf_group_add(softc, ipe->ipe_group, NULL,
968 softc->ipf_active);
1040 /* Parameters: softc(I) - pointer to soft context main structure */
1050 ipf_iphmfindgroup(ipf_main_softc_t *softc, void *tptr, void *aptr)
1057 READ_ENTER(&softc->ipf_poolrw);
1066 RWLOCK_EXIT(&softc->ipf_poolrw);
1074 /* Parameters: softc(I) - pointer to soft context main structure */
1083 ipf_iphmfindip(ipf_main_softc_t *softc, void *tptr, int ipversion, void *aptr,
1097 READ_ENTER(&softc->ipf_poolrw);
1115 RWLOCK_EXIT(&softc->ipf_poolrw);
1161 /* Parameters: softc(I) - pointer to soft context main structure */
1168 ipf_htable_iter_next(ipf_main_softc_t *softc, void *arg, ipftoken_t *token,
1183 READ_ENTER(&softc->ipf_poolrw);
1239 RWLOCK_EXIT(&softc->ipf_poolrw);
1252 WRITE_ENTER(&softc->ipf_poolrw);
1253 ipf_htable_deref(softc, softh, iph);
1254 RWLOCK_EXIT(&softc->ipf_poolrw);
1265 WRITE_ENTER(&softc->ipf_poolrw);
1266 ipf_htent_deref(softc, node);
1267 RWLOCK_EXIT(&softc->ipf_poolrw);
1282 /* Parameters: softc(I) - pointer to soft context main structure */
1290 ipf_htable_iter_deref(ipf_main_softc_t *softc, void *arg, int otype, int unit,
1303 ipf_htable_deref(softc, arg, (iphtable_t *)data);
1361 ipf_htable_expire(ipf_main_softc_t *softc, void *arg)
1367 if (n->ipe_die > softc->ipf_ticks)
1370 ipf_htent_remove(softc, softh, n->ipe_owner, n);
1381 ipf_htable_dump(softc, arg)
1382 ipf_main_softc_t *softc;