1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __LINUX_DECNET_NETFILTER_H
20#define __LINUX_DECNET_NETFILTER_H
21#include <linux/netfilter.h>
22#include <limits.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define NFC_DN_SRC 0x0001
25#define NFC_DN_DST 0x0002
26#define NFC_DN_IF_IN 0x0004
27#define NFC_DN_IF_OUT 0x0008
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define NF_DN_PRE_ROUTING 0
30#define NF_DN_LOCAL_IN 1
31#define NF_DN_FORWARD 2
32#define NF_DN_LOCAL_OUT 3
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define NF_DN_POST_ROUTING 4
35#define NF_DN_HELLO 5
36#define NF_DN_ROUTE 6
37#define NF_DN_NUMHOOKS 7
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39enum nf_dn_hook_priorities {
40 NF_DN_PRI_FIRST = INT_MIN,
41 NF_DN_PRI_CONNTRACK = -200,
42 NF_DN_PRI_MANGLE = -150,
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 NF_DN_PRI_NAT_DST = -100,
45 NF_DN_PRI_FILTER = 0,
46 NF_DN_PRI_NAT_SRC = 100,
47 NF_DN_PRI_DNRTMSG = 200,
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 NF_DN_PRI_LAST = INT_MAX,
50};
51struct nf_dn_rtmsg {
52 int nfdn_ifindex;
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54};
55#define NFDN_RTMSG(r) ((unsigned char *)(r) + NLMSG_ALIGN(sizeof(struct nf_dn_rtmsg)))
56#define DNRMG_L1_GROUP 0x01
57#define DNRMG_L2_GROUP 0x02
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59enum {
60 DNRNG_NLGRP_NONE,
61#define DNRNG_NLGRP_NONE DNRNG_NLGRP_NONE
62 DNRNG_NLGRP_L1,
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64#define DNRNG_NLGRP_L1 DNRNG_NLGRP_L1
65 DNRNG_NLGRP_L2,
66#define DNRNG_NLGRP_L2 DNRNG_NLGRP_L2
67 __DNRNG_NLGRP_MAX
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69};
70#define DNRNG_NLGRP_MAX (__DNRNG_NLGRP_MAX - 1)
71#endif
72