~ubuntu-branches/ubuntu/utopic/linux-ti-omap/utopic

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Amit Kucheria, Amit Kucheria
  • Date: 2010-03-10 02:28:15 UTC
  • Revision ID: james.westby@ubuntu.com-20100310022815-7sd3gwvn5kenaq33
Tags: 2.6.33-500.1
[ Amit Kucheria ]

* Initial release of a 2.6.33-based OMAP kernel
* UBUNTU: [Upstream] Fix omap 1-wire driver compilation
* UBUNTU: ubuntu: AppArmor -- update to mainline 2010-03-04

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _XT_PHYSDEV_H
 
2
#define _XT_PHYSDEV_H
 
3
 
 
4
#include <linux/types.h>
 
5
 
 
6
#ifdef __KERNEL__
 
7
#include <linux/if.h>
 
8
#endif
 
9
 
 
10
#define XT_PHYSDEV_OP_IN                0x01
 
11
#define XT_PHYSDEV_OP_OUT               0x02
 
12
#define XT_PHYSDEV_OP_BRIDGED           0x04
 
13
#define XT_PHYSDEV_OP_ISIN              0x08
 
14
#define XT_PHYSDEV_OP_ISOUT             0x10
 
15
#define XT_PHYSDEV_OP_MASK              (0x20 - 1)
 
16
 
 
17
struct xt_physdev_info {
 
18
        char physindev[IFNAMSIZ];
 
19
        char in_mask[IFNAMSIZ];
 
20
        char physoutdev[IFNAMSIZ];
 
21
        char out_mask[IFNAMSIZ];
 
22
        __u8 invert;
 
23
        __u8 bitmask;
 
24
};
 
25
 
 
26
#endif /*_XT_PHYSDEV_H*/