Lines Matching refs:soflow_db_so

402 	db->soflow_db_so = so;  in soflow_db_init()
419 …struct socket *so = (hash_entry && hash_entry->soflow_db) ? hash_entry->soflow_db->soflow_db_so : … in soflow_entry_free()
441 …SOFLOW_LOG(LOG_INFO, db->soflow_db_so, hash_entry->soflow_debug, "<Close nstat> - context %lX", (u… in soflow_db_remove_entry()
456 soflow_feat_detach_entry_func_ptr(db->soflow_db_so, hash_entry); in soflow_db_remove_entry()
484 …SOFLOW_LOG(LOG_INFO, db->soflow_db_so, db->soflow_db_debug, "<db %p> freeing db (count == %d)", db… in soflow_db_free()
489 SOFLOW_ENTRY_LOG(LOG_INFO, db->soflow_db_so, entry, entry->soflow_debug, "Remove entry"); in soflow_db_free()
495 soflow_feat_detach_db_func_ptr(db->soflow_db_so, db); in soflow_db_free()
553 struct inpcb *inp = sotoinpcb(db->soflow_db_so); in soflow_db_lookup_entry_internal()
573 matchentry.soflow_debug = SOFLOW_ENABLE_DEBUG(db->soflow_db_so, (&matchentry)); in soflow_db_lookup_entry_internal()
574 SOFLOW_ENTRY_LOG(LOG_DEBUG, db->soflow_db_so, &matchentry, true, "Looking for entry"); in soflow_db_lookup_entry_internal()
594 …SOFLOW_ENTRY_LOG(LOG_DEBUG, db->soflow_db_so, nextentry, nextentry->soflow_debug, "Found entry v6"… in soflow_db_lookup_entry_internal()
599 …SOFLOW_ENTRY_LOG(LOG_DEBUG, db->soflow_db_so, nextentry, nextentry->soflow_debug, "Found entry v4"… in soflow_db_lookup_entry_internal()
606 …SOFLOW_ENTRY_LOG(LOG_DEBUG, db->soflow_db_so, &matchentry, matchentry.soflow_debug, "Entry not fou… in soflow_db_lookup_entry_internal()
632 …SOFLOW_ENTRY_LOG(LOG_DEBUG, db->soflow_db_so, nextentry, nextentry->soflow_debug, "Looking at entr… in soflow_db_lookup_by_feature_context_id()
635 …SOFLOW_ENTRY_LOG(LOG_DEBUG, db->soflow_db_so, nextentry, nextentry->soflow_debug, "Found entry by … in soflow_db_lookup_by_feature_context_id()
641 …SOFLOW_LOG(LOG_DEBUG, db->soflow_db_so, db->soflow_db_debug, "No entry found for featureID %llu <c… in soflow_db_lookup_by_feature_context_id()
653 if (db == NULL || db->soflow_db_so == NULL || feature_context_id == 0) { in soflow_db_get_feature_context()
657 socket_lock_assert_owned(db->soflow_db_so); in soflow_db_get_feature_context()
669 …SOFLOW_ENTRY_LOG(LOG_DEBUG, db->soflow_db_so, db->soflow_db_only_entry, db->soflow_db_only_entry->… in soflow_db_get_feature_context()
672 …SOFLOW_LOG(LOG_DEBUG, db->soflow_db_so, db->soflow_db_debug, "MISMATCHED only entry for featureID … in soflow_db_get_feature_context()
693 if (db == NULL || db->soflow_db_so == NULL) { in soflow_db_get_feature_context_id()
697 socket_lock_assert_owned(db->soflow_db_so); in soflow_db_get_feature_context_id()
723 struct inpcb *inp = db ? sotoinpcb(db->soflow_db_so) : NULL; in soflow_db_add_entry()
747 entry->soflow_debug = SOFLOW_ENABLE_DEBUG(db->soflow_db_so, entry); in soflow_db_add_entry()
760 socket_lock_assert_owned(db->soflow_db_so); in soflow_db_add_entry()
773 SOFLOW_LOG(LOG_INFO, db->soflow_db_so, db->soflow_db_debug, "total count %d", db->soflow_db_count); in soflow_db_add_entry()
852 struct inpcb *inp = sotoinpcb(db->soflow_db_so); in soflow_entry_update_local()
861 SOFLOW_ENTRY_LOG(LOG_INFO, db->soflow_db_so, entry, entry->soflow_debug, "Updated outifp"); in soflow_entry_update_local()
902 SOFLOW_ENTRY_LOG(LOG_INFO, db->soflow_db_so, entry, entry->soflow_debug, "Updated address"); in soflow_entry_update_local()
906 if (soflow_entry_local_port_needs_update(db->soflow_db_so, entry)) { in soflow_entry_update_local()
909 SOFLOW_ENTRY_LOG(LOG_INFO, db->soflow_db_so, entry, entry->soflow_debug, "Updated port"); in soflow_entry_update_local()
944 …struct socket *so = (hash_entry && hash_entry->soflow_db) ? hash_entry->soflow_db->soflow_db_so : … in soflow_nstat_provider_request_vals()
1065 …struct socket *so = (hash_entry && hash_entry->soflow_db) ? hash_entry->soflow_db->soflow_db_so : … in soflow_nstat_provider_request_extensions()
1118 …struct socket *so = (hash_entry && hash_entry->soflow_db) ? hash_entry->soflow_db->soflow_db_so : … in soflow_update_flow_stats()
1351 …struct socket *so = (hash_entry && hash_entry->soflow_db) ? hash_entry->soflow_db->soflow_db_so : … in soflow_gc_idle_timed_out()
1434 so = hash_entry->soflow_db ? hash_entry->soflow_db->soflow_db_so : NULL; in soflow_gc_expire()
1504 if (db == NULL || db->soflow_db_so == NULL || entry_apply_fn == NULL) { in soflow_db_apply()
1508 socket_lock_assert_owned(db->soflow_db_so); in soflow_db_apply()
1519 if (entry_apply_fn(db->soflow_db_so, entry, context) == false) { in soflow_db_apply()