diff options
Diffstat (limited to 'include/net/cipso_ipv4.h')
-rw-r--r-- | include/net/cipso_ipv4.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/net/cipso_ipv4.h b/include/net/cipso_ipv4.h index 5fe6556fb3c5..2ce093ba553d 100644 --- a/include/net/cipso_ipv4.h +++ b/include/net/cipso_ipv4.h | |||
@@ -208,6 +208,10 @@ int cipso_v4_sock_setattr(struct sock *sk, | |||
208 | const struct cipso_v4_doi *doi_def, | 208 | const struct cipso_v4_doi *doi_def, |
209 | const struct netlbl_lsm_secattr *secattr); | 209 | const struct netlbl_lsm_secattr *secattr); |
210 | int cipso_v4_sock_getattr(struct sock *sk, struct netlbl_lsm_secattr *secattr); | 210 | int cipso_v4_sock_getattr(struct sock *sk, struct netlbl_lsm_secattr *secattr); |
211 | int cipso_v4_skbuff_setattr(struct sk_buff *skb, | ||
212 | const struct cipso_v4_doi *doi_def, | ||
213 | const struct netlbl_lsm_secattr *secattr); | ||
214 | int cipso_v4_skbuff_delattr(struct sk_buff *skb); | ||
211 | int cipso_v4_skbuff_getattr(const struct sk_buff *skb, | 215 | int cipso_v4_skbuff_getattr(const struct sk_buff *skb, |
212 | struct netlbl_lsm_secattr *secattr); | 216 | struct netlbl_lsm_secattr *secattr); |
213 | int cipso_v4_validate(unsigned char **option); | 217 | int cipso_v4_validate(unsigned char **option); |
@@ -232,6 +236,18 @@ static inline int cipso_v4_sock_getattr(struct sock *sk, | |||
232 | return -ENOSYS; | 236 | return -ENOSYS; |
233 | } | 237 | } |
234 | 238 | ||
239 | static inline int cipso_v4_skbuff_setattr(struct sk_buff *skb, | ||
240 | const struct cipso_v4_doi *doi_def, | ||
241 | const struct netlbl_lsm_secattr *secattr) | ||
242 | { | ||
243 | return -ENOSYS; | ||
244 | } | ||
245 | |||
246 | static inline int cipso_v4_skbuff_delattr(struct sk_buff *skb) | ||
247 | { | ||
248 | return -ENOSYS; | ||
249 | } | ||
250 | |||
235 | static inline int cipso_v4_skbuff_getattr(const struct sk_buff *skb, | 251 | static inline int cipso_v4_skbuff_getattr(const struct sk_buff *skb, |
236 | struct netlbl_lsm_secattr *secattr) | 252 | struct netlbl_lsm_secattr *secattr) |
237 | { | 253 | { |