Electroneum
Toggle main menu visibility
Loading...
Searching...
No Matches
tiny_nf_nat.h
Go to the documentation of this file.
1
/* $Id: tiny_nf_nat.h,v 1.1 2011/07/30 13:14:36 nanard Exp $ */
2
/* Only what miniupnpd needs, until linux-libc-dev gains nf_nat.h */
3
4
#ifndef TINY_NF_NAT_H
5
#define TINY_NF_NAT_H
6
7
#include <linux/types.h>
8
9
#define IP_NAT_RANGE_MAP_IPS 1
10
#define IP_NAT_RANGE_PROTO_SPECIFIED 2
11
#define IP_NAT_RANGE_PROTO_RANDOM 4
12
#define IP_NAT_RANGE_PERSISTENT 8
13
14
union
nf_conntrack_man_proto
{
15
__be16
all
;
16
struct
{ __be16
port
; }
tcp
;
17
struct
{ __be16
port
; }
udp
;
18
struct
{ __be16
id
; }
icmp
;
19
struct
{ __be16
port
; }
dccp
;
20
struct
{ __be16
port
; }
sctp
;
21
struct
{ __be16
key
; }
gre
;
22
};
23
24
struct
nf_nat_range
{
25
unsigned
int
flags
;
26
__be32
min_ip
,
max_ip
;
27
union
nf_conntrack_man_proto min,
max
;
28
};
29
30
struct
nf_nat_multi_range_compat
{
31
unsigned
int
rangesize
;
32
struct
nf_nat_range
range
[1];
33
};
34
35
#define nf_nat_multi_range nf_nat_multi_range_compat
36
37
#endif
/*TINY_NF_NAT_H*/
nf_nat_multi_range_compat
Definition
tiny_nf_nat.h:30
nf_nat_multi_range_compat::range
struct nf_nat_range range[1]
Definition
tiny_nf_nat.h:32
nf_nat_multi_range_compat::rangesize
unsigned int rangesize
Definition
tiny_nf_nat.h:31
nf_nat_range
Definition
tiny_nf_nat.h:24
nf_nat_range::max_ip
__be32 max_ip
Definition
tiny_nf_nat.h:26
nf_nat_range::min_ip
__be32 min_ip
Definition
tiny_nf_nat.h:26
nf_nat_range::max
union nf_conntrack_man_proto min max
Definition
tiny_nf_nat.h:27
nf_nat_range::flags
unsigned int flags
Definition
tiny_nf_nat.h:25
nf_conntrack_man_proto
Definition
tiny_nf_nat.h:14
nf_conntrack_man_proto::id
__be16 id
Definition
tiny_nf_nat.h:18
nf_conntrack_man_proto::gre
struct nf_conntrack_man_proto::@005320001210324150231042240344330205320042337102 gre
nf_conntrack_man_proto::tcp
struct nf_conntrack_man_proto::@143132262173100317127310326242260065135226135173 tcp
nf_conntrack_man_proto::all
__be16 all
Definition
tiny_nf_nat.h:15
nf_conntrack_man_proto::port
__be16 port
Definition
tiny_nf_nat.h:16
nf_conntrack_man_proto::key
__be16 key
Definition
tiny_nf_nat.h:21
nf_conntrack_man_proto::udp
struct nf_conntrack_man_proto::@175267300170130013172036063271336270063333126331 udp
nf_conntrack_man_proto::sctp
struct nf_conntrack_man_proto::@142101341105260217370147332151310010314220304264 sctp
nf_conntrack_man_proto::icmp
struct nf_conntrack_man_proto::@007335340272170265024166220373114367066140105206 icmp
nf_conntrack_man_proto::dccp
struct nf_conntrack_man_proto::@272321367314266303100350337115010307136313366307 dccp
external
miniupnp
miniupnpd
netfilter_nft
tiny_nf_nat.h
Generated on
for Electroneum by
1.17.0