Searched refs:soflow_db (Results 1 – 4 of 4) sorted by relevance
| /xnu-10002.41.9/bsd/kern/ |
| H A D | socket_flows.h | 36 struct soflow_db *soflow_db; member 84 struct soflow_db { struct 104 void *soflow_db_get_feature_context(struct soflow_db *, u_int64_t); 105 u_int64_t soflow_db_get_feature_context_id(struct soflow_db *, struct sockaddr *, struct sockaddr *… 117 typedef bool (*soflow_feat_detach_db_func)(struct socket *so, struct soflow_db *db); 126 bool soflow_db_apply(struct soflow_db *, soflow_entry_apply_func, void *context);
|
| H A D | socket_flows.c | 398 struct soflow_db *db = NULL; in soflow_db_init() 401 db = kalloc_type(struct soflow_db, Z_WAITOK | Z_ZERO | Z_NOFAIL); in soflow_db_init() 405 kfree_type(struct soflow_db, db); 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() 430 soflow_db_remove_entry(struct soflow_db *db, struct soflow_hash_entry *hash_entry) in soflow_db_remove_entry() 461 hash_entry->soflow_db = NULL; in soflow_db_remove_entry() 474 soflow_db_free(struct soflow_db *db) in soflow_db_free() 501 kfree_type(struct soflow_db, db); in soflow_db_free() 549 soflow_db_lookup_entry_internal(struct soflow_db *db, struct sockaddr *local, struct sockaddr *remo… in soflow_db_lookup_entry_internal() 612 soflow_db_lookup_entry(struct soflow_db *db, struct sockaddr *local, struct sockaddr *remote, boole… in soflow_db_lookup_entry() [all …]
|
| /xnu-10002.41.9/bsd/sys/ |
| H A D | socketvar.h | 325 struct soflow_db *so_flow_db;
|
| /xnu-10002.41.9/bsd/net/ |
| H A D | content_filter.c | 854 static bool cfil_dgram_detach_db(struct socket *, struct soflow_db *); 6141 if (hash_entry == NULL || hash_entry->soflow_db == NULL) { in cfil_sock_udp_get_info() 6264 if (hash_entry->soflow_db == NULL) { in cfil_sock_udp_handle_data() 6993 cfil_dgram_detach_db(struct socket *so, struct soflow_db *db) in cfil_dgram_detach_db()
|