4 #include <linux/types.h>
7 #define MAX_N_CONTEXT 65535 /* Arbitrary limit */
14 #define NXF_INFO_PRIVATE 0x00000008
16 #define NXF_SINGLE_IP 0x00000100
18 #define NXF_HIDE_NETIF 0x02000000
20 #define NXF_STATE_SETUP (1ULL << 32)
21 #define NXF_STATE_ADMIN (1ULL << 34)
23 #define NXF_SC_HELPER (1ULL << 36)
24 #define NXF_PERSISTENT (1ULL << 38)
26 #define NXF_ONE_TIME (0x0005ULL << 32)
28 #define NXF_INIT_SET (NXF_STATE_ADMIN)
33 #define NXA_TYPE_IPV4 0x0001
34 #define NXA_TYPE_IPV6 0x0002
36 #define NXA_TYPE_NONE 0x0000
37 #define NXA_TYPE_ANY 0x00FF
39 #define NXA_TYPE_ADDR 0x0003
40 #define NXA_TYPE_MASK 0x0013
41 #define NXA_TYPE_RANGE 0x0023
43 #define NXA_MOD_BCAST 0x0100
44 #define NXA_MOD_LBACK 0x0200
47 #else /* _VX_NETWORK_H */
48 #warning duplicate inclusion
49 #endif /* _VX_NETWORK_H */