netlabel.h (a5e34490c3160e09814403d040765b0ae0003121) | netlabel.h (e1ce69df7e6e8cbdca78ae831ecf435b12b4c168) |
---|---|
1/* 2 * NetLabel System 3 * 4 * The NetLabel system manages static and dynamic label mappings for network 5 * protocols such as CIPSO and RIPSO. 6 * 7 * Author: Paul Moore <paul@paul-moore.com> 8 * --- 211 unchanged lines hidden (view full) --- 220}; 221 222/** 223 * struct netlbl_calipso_ops - NetLabel CALIPSO operations 224 * @doi_add: add a CALIPSO DOI 225 * @doi_free: free a CALIPSO DOI 226 * @doi_getdef: returns a reference to a DOI 227 * @doi_putdef: releases a reference of a DOI | 1/* 2 * NetLabel System 3 * 4 * The NetLabel system manages static and dynamic label mappings for network 5 * protocols such as CIPSO and RIPSO. 6 * 7 * Author: Paul Moore <paul@paul-moore.com> 8 * --- 211 unchanged lines hidden (view full) --- 220}; 221 222/** 223 * struct netlbl_calipso_ops - NetLabel CALIPSO operations 224 * @doi_add: add a CALIPSO DOI 225 * @doi_free: free a CALIPSO DOI 226 * @doi_getdef: returns a reference to a DOI 227 * @doi_putdef: releases a reference of a DOI |
228 * @doi_walk: enumerate the DOI list |
|
228 * 229 * Description: 230 * This structure is filled out by the CALIPSO engine and passed 231 * to the NetLabel core via a call to netlbl_calipso_ops_register(). 232 * It enables the CALIPSO engine (and hence IPv6) to be compiled 233 * as a module. 234 */ 235struct netlbl_calipso_ops { 236 int (*doi_add)(struct calipso_doi *doi_def, 237 struct netlbl_audit *audit_info); 238 void (*doi_free)(struct calipso_doi *doi_def); 239 struct calipso_doi *(*doi_getdef)(u32 doi); 240 void (*doi_putdef)(struct calipso_doi *doi_def); | 229 * 230 * Description: 231 * This structure is filled out by the CALIPSO engine and passed 232 * to the NetLabel core via a call to netlbl_calipso_ops_register(). 233 * It enables the CALIPSO engine (and hence IPv6) to be compiled 234 * as a module. 235 */ 236struct netlbl_calipso_ops { 237 int (*doi_add)(struct calipso_doi *doi_def, 238 struct netlbl_audit *audit_info); 239 void (*doi_free)(struct calipso_doi *doi_def); 240 struct calipso_doi *(*doi_getdef)(u32 doi); 241 void (*doi_putdef)(struct calipso_doi *doi_def); |
242 int (*doi_walk)(u32 *skip_cnt, 243 int (*callback)(struct calipso_doi *doi_def, void *arg), 244 void *cb_arg); |
|
241}; 242 243/* 244 * LSM security attribute operations (inline) 245 */ 246 247/** 248 * netlbl_secattr_cache_alloc - Allocate and initialize a secattr cache --- 380 unchanged lines hidden --- | 245}; 246 247/* 248 * LSM security attribute operations (inline) 249 */ 250 251/** 252 * netlbl_secattr_cache_alloc - Allocate and initialize a secattr cache --- 380 unchanged lines hidden --- |