ipt_CLUSTERIP.h revision 38062f954c637861348dd8078cefb73554e6f12c
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 _IPT_CLUSTERIP_H_target
20#define _IPT_CLUSTERIP_H_target
21#include <linux/types.h>
22#include <linux/if_ether.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24enum clusterip_hashmode {
25 CLUSTERIP_HASHMODE_SIP = 0,
26 CLUSTERIP_HASHMODE_SIP_SPT,
27 CLUSTERIP_HASHMODE_SIP_SPT_DPT,
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29};
30#define CLUSTERIP_HASHMODE_MAX CLUSTERIP_HASHMODE_SIP_SPT_DPT
31#define CLUSTERIP_MAX_NODES 16
32#define CLUSTERIP_FLAG_NEW 0x00000001
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34struct clusterip_config;
35struct ipt_clusterip_tgt_info {
36 __u32 flags;
37 __u8 clustermac[ETH_ALEN];
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 __u16 num_total_nodes;
40 __u16 num_local_nodes;
41 __u16 local_nodes[CLUSTERIP_MAX_NODES];
42 __u32 hash_mode;
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 __u32 hash_initval;
45 struct clusterip_config *config;
46};
47#endif
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49