• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/iptables-1.x/include/linux/netfilter_ipv4/
1#ifndef _IPT_PHYSDEV_H
2#define _IPT_PHYSDEV_H
3
4#ifdef __KERNEL__
5#include <linux/if.h>
6#endif
7
8#define IPT_PHYSDEV_OP_IN		0x01
9#define IPT_PHYSDEV_OP_OUT		0x02
10#define IPT_PHYSDEV_OP_BRIDGED		0x04
11#define IPT_PHYSDEV_OP_ISIN		0x08
12#define IPT_PHYSDEV_OP_ISOUT		0x10
13#define IPT_PHYSDEV_OP_MASK		(0x20 - 1)
14
15struct ipt_physdev_info {
16	char physindev[IFNAMSIZ];
17	char in_mask[IFNAMSIZ];
18	char physoutdev[IFNAMSIZ];
19	char out_mask[IFNAMSIZ];
20	u_int8_t invert;
21	u_int8_t bitmask;
22};
23
24#endif /*_IPT_PHYSDEV_H*/
25