Lines Matching refs:soflow_hash_entry
156 TAILQ_HEAD(soflow_entry_head, soflow_hash_entry) soflow_entry_head;
184 static boolean_t soflow_entry_local_address_needs_update(struct soflow_hash_entry *);
185 static boolean_t soflow_entry_local_port_needs_update(struct socket *, struct soflow_hash_entry *);
212 soflow_entry_log(int level, struct socket *so, struct soflow_hash_entry *entry, const char* msg) in soflow_entry_log()
254 soflow_fill_hash_entry_from_address(struct soflow_hash_entry *entry, bool isLocal, struct sockaddr … in soflow_fill_hash_entry_from_address()
334 soflow_fill_hash_entry_from_inp(struct soflow_hash_entry *entry, bool isLocal, struct inpcb *inp, b… in soflow_fill_hash_entry_from_inp()
407 struct soflow_hash_entry *hash_entry = NULL; in soflow_db_init()
426 soflow_entry_free(struct soflow_hash_entry *hash_entry) in soflow_entry_free()
435 kfree_type(struct soflow_hash_entry, hash_entry); in soflow_entry_free()
439 soflow_db_remove_entry(struct soflow_db *db, struct soflow_hash_entry *hash_entry) in soflow_db_remove_entry()
485 struct soflow_hash_entry *entry = NULL; in soflow_db_free()
486 struct soflow_hash_entry *temp_entry = NULL; in soflow_db_free()
524 soflow_match_entries_v4(struct soflow_hash_entry *entry1, struct soflow_hash_entry *entry2, boolean… in soflow_match_entries_v4()
541 soflow_match_entries_v6(struct soflow_hash_entry *entry1, struct soflow_hash_entry *entry2, boolean… in soflow_match_entries_v6()
557 static struct soflow_hash_entry *
560 struct soflow_hash_entry matchentry = { }; in soflow_db_lookup_entry_internal()
561 struct soflow_hash_entry *nextentry = NULL; in soflow_db_lookup_entry_internal()
620 static struct soflow_hash_entry *
623 …struct soflow_hash_entry *entry = soflow_db_lookup_entry_internal(db, local, remote, remoteOnly, f… in soflow_db_lookup_entry()
630 static struct soflow_hash_entry *
635 struct soflow_hash_entry *nextentry; in soflow_db_lookup_by_feature_context_id()
659 struct soflow_hash_entry *hash_entry = NULL; in soflow_db_get_feature_context()
699 struct soflow_hash_entry *hash_entry = NULL; in soflow_db_get_feature_context_id()
728 static struct soflow_hash_entry *
731 struct soflow_hash_entry *entry = NULL; in soflow_db_add_entry()
741 entry = kalloc_type(struct soflow_hash_entry, Z_WAITOK | Z_ZERO | Z_NOFAIL); in soflow_db_add_entry()
840 soflow_entry_local_address_needs_update(struct soflow_hash_entry *entry) in soflow_entry_local_address_needs_update()
851 soflow_entry_local_port_needs_update(struct socket *so, struct soflow_hash_entry *entry) in soflow_entry_local_port_needs_update()
860 soflow_entry_update_local(struct soflow_db *db, struct soflow_hash_entry *entry, struct sockaddr *l… in soflow_entry_update_local()
955 struct soflow_hash_entry *hash_entry = (struct soflow_hash_entry *) ctx; in soflow_nstat_provider_request_vals()
1088 struct soflow_hash_entry *hash_entry = (struct soflow_hash_entry *) ctx; in soflow_nstat_provider_request_extensions()
1140 soflow_update_flow_stats(struct soflow_hash_entry *hash_entry, size_t data_size, bool outgoing) in soflow_update_flow_stats()
1157 struct soflow_hash_entry *
1161 struct soflow_hash_entry *hash_entry = NULL; in soflow_get_flow()
1281 soflow_free_flow(struct soflow_hash_entry *entry) in soflow_free_flow()
1384 soflow_gc_idle_timed_out(struct soflow_hash_entry *hash_entry, int timeout, u_int64_t current_time) in soflow_gc_idle_timed_out()
1398 struct soflow_hash_entry *entry = NULL; in soflow_gc_cleanup()
1399 struct soflow_hash_entry *temp_entry = NULL; in soflow_gc_cleanup()
1453 struct soflow_hash_entry *hash_entry = NULL; in soflow_gc_expire()
1540 struct soflow_hash_entry *entry = NULL; in soflow_db_apply()
1541 struct soflow_hash_entry *temp_entry = NULL; in soflow_db_apply()