~csurbhi/ubuntu/maverick/iptables/iptable-fix.600195

« back to all changes in this revision

Viewing changes to linux/include/linux/netfilter/xt_SECMARK.h

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-06-24 15:06:04 UTC
  • mfrom: (5.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080624150604-5t7r1o1kxq0ycz81
Tags: 1.4.0-4ubuntu1
* Merge from debian unstable, remaining changes:
  - Took references to 2.4 kernel out of doc-base control files (Jordan
    Mantha, Malone #25972) (patches/all/091-fix-2.4-references.patch)
  - Use linux-libc-dev instead of local copy of kernel-headers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _XT_SECMARK_H_target
2
 
#define _XT_SECMARK_H_target
3
 
 
4
 
/*
5
 
 * This is intended for use by various security subsystems (but not
6
 
 * at the same time).
7
 
 *
8
 
 * 'mode' refers to the specific security subsystem which the
9
 
 * packets are being marked for.
10
 
 */
11
 
#define SECMARK_MODE_SEL        0x01            /* SELinux */
12
 
#define SECMARK_SELCTX_MAX      256
13
 
 
14
 
struct xt_secmark_target_selinux_info {
15
 
        u_int32_t selsid;
16
 
        char selctx[SECMARK_SELCTX_MAX];
17
 
};
18
 
 
19
 
struct xt_secmark_target_info {
20
 
        u_int8_t mode;
21
 
        union {
22
 
                struct xt_secmark_target_selinux_info sel;
23
 
        } u;
24
 
};
25
 
 
26
 
#endif /*_XT_SECMARK_H_target */