diff options
author | Huw Davies <huw@codeweavers.com> | 2016-06-27 21:02:49 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-06-27 21:02:49 +0200 |
commit | d7cce01504a0ccb95b5007d846560cfccbc1947f (patch) | |
tree | a5c8198723b567a8a2b4e04770f123aaffd585d1 /include | |
parent | netlabel: Add support for creating a CALIPSO protocol domain mapping. (diff) | |
download | linux-d7cce01504a0ccb95b5007d846560cfccbc1947f.tar.xz linux-d7cce01504a0ccb95b5007d846560cfccbc1947f.zip |
netlabel: Add support for removing a CALIPSO DOI.
Remove a specified DOI through the NLBL_CALIPSO_C_REMOVE command.
It requires the attribute:
NLBL_CALIPSO_A_DOI.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netlabel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netlabel.h b/include/net/netlabel.h index 2653d3a8cde8..2c0513b0cc88 100644 --- a/include/net/netlabel.h +++ b/include/net/netlabel.h @@ -237,6 +237,7 @@ struct netlbl_calipso_ops { int (*doi_add)(struct calipso_doi *doi_def, struct netlbl_audit *audit_info); void (*doi_free)(struct calipso_doi *doi_def); + int (*doi_remove)(u32 doi, struct netlbl_audit *audit_info); struct calipso_doi *(*doi_getdef)(u32 doi); void (*doi_putdef)(struct calipso_doi *doi_def); int (*doi_walk)(u32 *skip_cnt, |