File: xt_ipv4options.h

package info (click to toggle)
xtables-addons 3.13-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,504 kB
  • sloc: ansic: 10,717; sh: 4,481; perl: 356; makefile: 143; python: 15
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 */