Searched refs:soflow_db (Results 1 – 4 of 4) sorted by relevance
| /xnu-12377.81.4/bsd/kern/ |
| H A D | socket_flows.h | 36 struct soflow_db *soflow_db; member 90 struct soflow_db { struct 110 void *soflow_db_get_feature_context(struct soflow_db *, u_int64_t); 111 u_int64_t soflow_db_get_feature_context_id(struct soflow_db *, struct sockaddr *, struct sockaddr *… 123 typedef bool (*soflow_feat_detach_db_func)(struct socket *so, struct soflow_db *db); 132 bool soflow_db_apply(struct soflow_db *, soflow_entry_apply_func, void *context);
|
| H A D | socket_flows.c | 406 struct soflow_db * __single db = NULL; in soflow_db_init() 409 db = kalloc_type(struct soflow_db, Z_WAITOK | Z_ZERO | Z_NOFAIL); in soflow_db_init() 414 kfree_type(struct soflow_db, db); in soflow_db_init() 428 …struct socket *so = (hash_entry && hash_entry->soflow_db) ? hash_entry->soflow_db->soflow_db_so : … in soflow_entry_free() 439 soflow_db_remove_entry(struct soflow_db *db, struct soflow_hash_entry *hash_entry) in soflow_db_remove_entry() 470 hash_entry->soflow_db = NULL; in soflow_db_remove_entry() 483 soflow_db_free(struct soflow_db *db) in soflow_db_free() 510 kfree_type(struct soflow_db, db); in soflow_db_free() 558 soflow_db_lookup_entry_internal(struct soflow_db *db, struct sockaddr *local, struct sockaddr *remo… in soflow_db_lookup_entry_internal() 621 soflow_db_lookup_entry(struct soflow_db *db, struct sockaddr *local, struct sockaddr *remote, boole… in soflow_db_lookup_entry() [all …]
|
| /xnu-12377.81.4/bsd/sys/ |
| H A D | socketvar.h | 326 struct soflow_db *so_flow_db;
|
| /xnu-12377.81.4/bsd/net/ |
| H A D | content_filter.c | 861 static bool cfil_dgram_detach_db(struct socket *, struct soflow_db *); 6296 if (hash_entry == NULL || hash_entry->soflow_db == NULL) { in cfil_sock_udp_get_info() 6408 if (hash_entry->soflow_db == NULL) { in cfil_sock_udp_handle_data() 7153 cfil_dgram_detach_db(struct socket *so, struct soflow_db *db) in cfil_dgram_detach_db()
|