~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to include/linux/netfilter_ipv4/ipt_SAME.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef _IPT_SAME_H
2
2
#define _IPT_SAME_H
3
3
 
 
4
#include <linux/types.h>
 
5
 
4
6
#define IPT_SAME_MAX_RANGE      10
5
7
 
6
8
#define IPT_SAME_NODST          0x01
7
9
 
8
10
struct ipt_same_info {
9
11
        unsigned char info;
10
 
        u_int32_t rangesize;
11
 
        u_int32_t ipnum;
12
 
        u_int32_t *iparray;
 
12
        __u32 rangesize;
 
13
        __u32 ipnum;
 
14
        __u32 *iparray;
13
15
 
14
16
        /* hangs off end. */
15
17
        struct nf_nat_range range[IPT_SAME_MAX_RANGE];