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

« back to all changes in this revision

Viewing changes to include/linux/netfilter/xt_TPROXY.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 _XT_TPROXY_H
2
2
#define _XT_TPROXY_H
3
3
 
 
4
#include <linux/types.h>
 
5
 
4
6
/* TPROXY target is capable of marking the packet to perform
5
7
 * redirection. We can get rid of that whenever we get support for
6
8
 * mutliple targets in the same rule. */
7
9
struct xt_tproxy_target_info {
8
 
        u_int32_t mark_mask;
9
 
        u_int32_t mark_value;
 
10
        __u32 mark_mask;
 
11
        __u32 mark_value;
10
12
        __be32 laddr;
11
13
        __be16 lport;
12
14
};
13
15
 
14
16
struct xt_tproxy_target_info_v1 {
15
 
        u_int32_t mark_mask;
16
 
        u_int32_t mark_value;
 
17
        __u32 mark_mask;
 
18
        __u32 mark_value;
17
19
        union nf_inet_addr laddr;
18
20
        __be16 lport;
19
21
};