summaryrefslogtreecommitdiff
path: root/include/net/netfilter/nf_conntrack_bridge.h
blob: 8f2e5b2ab5238e0c878f04d7cbb673e0ac84e84a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef NF_CONNTRACK_BRIDGE_
#define NF_CONNTRACK_BRIDGE_

#include <linux/module.h>
#include <linux/types.h>
#include <uapi/linux/if_ether.h>

struct nf_ct_bridge_info {
	struct nf_hook_ops	*ops;
	unsigned int		ops_size;
	struct module		*me;
};

void nf_ct_bridge_register(struct nf_ct_bridge_info *info);
void nf_ct_bridge_unregister(struct nf_ct_bridge_info *info);

struct nf_ct_bridge_frag_data {
	char	mac[ETH_HLEN];
	bool	vlan_present;
	u16	vlan_tci;
	__be16	vlan_proto;
};

#endif