calipso.h (2e532b702834c07f614caf4489feb691e713232a) calipso.h (4fee5242bf41d9ad641d4c1b821e36eb7ba37fbf)
1/*
2 * CALIPSO - Common Architecture Label IPv6 Security Option
3 *
4 * This is an implementation of the CALIPSO protocol as specified in
5 * RFC 5570.
6 *
7 * Authors: Paul Moore <paul@paul-moore.com>
8 * Huw Davies <huw@codeweavers.com>

--- 48 unchanged lines hidden (view full) ---

57 u32 doi;
58 u32 type;
59
60 atomic_t refcount;
61 struct list_head list;
62 struct rcu_head rcu;
63};
64
1/*
2 * CALIPSO - Common Architecture Label IPv6 Security Option
3 *
4 * This is an implementation of the CALIPSO protocol as specified in
5 * RFC 5570.
6 *
7 * Authors: Paul Moore <paul@paul-moore.com>
8 * Huw Davies <huw@codeweavers.com>

--- 48 unchanged lines hidden (view full) ---

57 u32 doi;
58 u32 type;
59
60 atomic_t refcount;
61 struct list_head list;
62 struct rcu_head rcu;
63};
64
65/*
66 * Sysctl Variables
67 */
68extern int calipso_cache_enabled;
69extern int calipso_cache_bucketsize;
70
65#ifdef CONFIG_NETLABEL
66int __init calipso_init(void);
67void calipso_exit(void);
68bool calipso_validate(const struct sk_buff *skb, const unsigned char *option);
69#else
70static inline int __init calipso_init(void)
71{
72 return 0;

--- 13 unchanged lines hidden ---
71#ifdef CONFIG_NETLABEL
72int __init calipso_init(void);
73void calipso_exit(void);
74bool calipso_validate(const struct sk_buff *skb, const unsigned char *option);
75#else
76static inline int __init calipso_init(void)
77{
78 return 0;

--- 13 unchanged lines hidden ---