File: xt_ipv4options.h

package info (click to toggle)
xtables-addons 2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,296 kB
  • ctags: 1,415
  • sloc: sh: 11,559; ansic: 10,329; perl: 186; makefile: 121
file content (26 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _LINUX_NETFILTER_XT_IPV4OPTIONS_H
#define _LINUX_NETFILTER_XT_IPV4OPTIONS_H 1

/* IPv4 allows for a 5-bit option number - 32 options */

/**
 * %XT_V4OPTS_ALL:	all options in @map must be present (respecting @invert)
 * %XT_V4OPTS_ANY:	any of the option in @map
 */
enum xt_ipv4options_flags {
	XT_V4OPTS_ALL = 1 << 0,
	XT_V4OPTS_ANY = 1 << 1,
};

/**
 * @map:	bitmask of options that should appear
 * @invert:	inversion map
 * @flags:	see above
 */
struct xt_ipv4options_mtinfo1 {
	__u32 map;
	__u32 invert;
	__u8 flags;
};

#endif /* _LINUX_NETFILTER_XT_IPV4OPTIONS_H */