~ubuntu-branches/ubuntu/raring/ebtables/raring

« back to all changes in this revision

Viewing changes to include/linux/netfilter_bridge/ebt_ip6.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Christoph Nordholz
  • Date: 2009-06-28 20:01:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090628200125-kc5hc1b5w8o9cjqr
Tags: 2.0.9.1-1
* New upstream release:
  * New modules for ip6 and nflog.
* Bump Standards version to 3.8.2:
  * Catch postrm errors.
  * Specify GPL version and cleanup copyright file.
* Bump debhelper level to 7.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  ebt_ip6
 
3
 *
 
4
 *      Authors:
 
5
 * Kuo-Lang Tseng <kuo-lang.tseng@intel.com>
 
6
 * Manohar Castelino <manohar.r.castelino@intel.com>
 
7
 *
 
8
 *  Jan 11, 2008
 
9
 *
 
10
 */
 
11
 
 
12
#ifndef __LINUX_BRIDGE_EBT_IP6_H
 
13
#define __LINUX_BRIDGE_EBT_IP6_H
 
14
 
 
15
#define EBT_IP6_SOURCE 0x01
 
16
#define EBT_IP6_DEST 0x02
 
17
#define EBT_IP6_TCLASS 0x04
 
18
#define EBT_IP6_PROTO 0x08
 
19
#define EBT_IP6_SPORT 0x10
 
20
#define EBT_IP6_DPORT 0x20
 
21
#define EBT_IP6_MASK (EBT_IP6_SOURCE | EBT_IP6_DEST | EBT_IP6_TCLASS |\
 
22
                      EBT_IP6_PROTO | EBT_IP6_SPORT | EBT_IP6_DPORT)
 
23
#define EBT_IP6_MATCH "ip6"
 
24
 
 
25
/* the same values are used for the invflags */
 
26
struct ebt_ip6_info
 
27
{
 
28
        struct in6_addr saddr;
 
29
        struct in6_addr daddr;
 
30
        struct in6_addr smsk;
 
31
        struct in6_addr dmsk;
 
32
        uint8_t  tclass;
 
33
        uint8_t  protocol;
 
34
        uint8_t  bitmask;
 
35
        uint8_t  invflags;
 
36
        uint16_t sport[2];
 
37
        uint16_t dport[2];
 
38
};
 
39
 
 
40
#endif