diff options
author | James Morris <jmorris@namei.org> | 2009-01-05 08:56:01 +1100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-01-05 08:56:01 +1100 |
commit | 5c8c40be4b5a2944483bfc1a45d6c3fa02551af3 (patch) | |
tree | d9a79fae500aa5172df7446a2c7a7bdd4e4d469c /net/netlabel/netlabel_unlabeled.h | |
parent | 90bd49ab6649269cd10d0edc86d0e0f62864726a (diff) | |
parent | 6d3dc07cbb1e88deed2e8710e215f232a56b1dce (diff) |
Merge branch 'master' of git://git.infradead.org/users/pcmoore/lblnet-2.6_next into next
Diffstat (limited to 'net/netlabel/netlabel_unlabeled.h')
-rw-r--r-- | net/netlabel/netlabel_unlabeled.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/netlabel/netlabel_unlabeled.h b/net/netlabel/netlabel_unlabeled.h index 06b1301ac072..7aba63595137 100644 --- a/net/netlabel/netlabel_unlabeled.h +++ b/net/netlabel/netlabel_unlabeled.h @@ -221,6 +221,21 @@ int netlbl_unlabel_genl_init(void); /* General Unlabeled init function */ int netlbl_unlabel_init(u32 size); +/* Static/Fallback label management functions */ +int netlbl_unlhsh_add(struct net *net, + const char *dev_name, + const void *addr, + const void *mask, + u32 addr_len, + u32 secid, + struct netlbl_audit *audit_info); +int netlbl_unlhsh_remove(struct net *net, + const char *dev_name, + const void *addr, + const void *mask, + u32 addr_len, + struct netlbl_audit *audit_info); + /* Process Unlabeled incoming network packets */ int netlbl_unlabel_getattr(const struct sk_buff *skb, u16 family, |