netlabel_domainhash.h (3dcbbcda7c5b77c400791b26facd6593c5b176e0) | netlabel_domainhash.h (95d4e6be25a68cd9fbe8c0d356b585504d8db1c7) |
---|---|
1/* 2 * NetLabel Domain Hash Table 3 * 4 * This file manages the domain hash table that NetLabel uses to determine 5 * which network labeling protocol to use for a given domain. The NetLabel 6 * system manages static and dynamic label mappings for network protocols such 7 * as CIPSO and RIPSO. 8 * --- 43 unchanged lines hidden (view full) --- 52 struct list_head list; 53 struct rcu_head rcu; 54}; 55 56/* init function */ 57int netlbl_domhsh_init(u32 size); 58 59/* Manipulate the domain hash table */ | 1/* 2 * NetLabel Domain Hash Table 3 * 4 * This file manages the domain hash table that NetLabel uses to determine 5 * which network labeling protocol to use for a given domain. The NetLabel 6 * system manages static and dynamic label mappings for network protocols such 7 * as CIPSO and RIPSO. 8 * --- 43 unchanged lines hidden (view full) --- 52 struct list_head list; 53 struct rcu_head rcu; 54}; 55 56/* init function */ 57int netlbl_domhsh_init(u32 size); 58 59/* Manipulate the domain hash table */ |
60int netlbl_domhsh_add(struct netlbl_dom_map *entry, u32 audit_secid); 61int netlbl_domhsh_add_default(struct netlbl_dom_map *entry, u32 audit_secid); 62int netlbl_domhsh_remove_default(u32 audit_secid); | 60int netlbl_domhsh_add(struct netlbl_dom_map *entry, 61 struct netlbl_audit *audit_info); 62int netlbl_domhsh_add_default(struct netlbl_dom_map *entry, 63 struct netlbl_audit *audit_info); 64int netlbl_domhsh_remove_default(struct netlbl_audit *audit_info); |
63struct netlbl_dom_map *netlbl_domhsh_getentry(const char *domain); 64int netlbl_domhsh_walk(u32 *skip_bkt, 65 u32 *skip_chain, 66 int (*callback) (struct netlbl_dom_map *entry, void *arg), 67 void *cb_arg); 68 69#endif | 65struct netlbl_dom_map *netlbl_domhsh_getentry(const char *domain); 66int netlbl_domhsh_walk(u32 *skip_bkt, 67 u32 *skip_chain, 68 int (*callback) (struct netlbl_dom_map *entry, void *arg), 69 void *cb_arg); 70 71#endif |