ebt_stp.h revision 655a7c081f83b8351ed5f11a6c6accd9458293a8
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_BRIDGE_EBT_STP_H
20#define __LINUX_BRIDGE_EBT_STP_H
21#include <linux/types.h>
22#define EBT_STP_TYPE 0x0001
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define EBT_STP_FLAGS 0x0002
25#define EBT_STP_ROOTPRIO 0x0004
26#define EBT_STP_ROOTADDR 0x0008
27#define EBT_STP_ROOTCOST 0x0010
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define EBT_STP_SENDERPRIO 0x0020
30#define EBT_STP_SENDERADDR 0x0040
31#define EBT_STP_PORT 0x0080
32#define EBT_STP_MSGAGE 0x0100
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define EBT_STP_MAXAGE 0x0200
35#define EBT_STP_HELLOTIME 0x0400
36#define EBT_STP_FWDD 0x0800
37#define EBT_STP_MASK 0x0fff
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39#define EBT_STP_CONFIG_MASK 0x0ffe
40#define EBT_STP_MATCH "stp"
41struct ebt_stp_config_info {
42 __u8 flags;
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 __u16 root_priol, root_priou;
45 char root_addr[6], root_addrmsk[6];
46 __u32 root_costl, root_costu;
47 __u16 sender_priol, sender_priou;
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 char sender_addr[6], sender_addrmsk[6];
50 __u16 portl, portu;
51 __u16 msg_agel, msg_ageu;
52 __u16 max_agel, max_ageu;
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 __u16 hello_timel, hello_timeu;
55 __u16 forward_delayl, forward_delayu;
56};
57struct ebt_stp_info {
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 __u8 type;
60 struct ebt_stp_config_info config;
61 __u16 bitmask;
62 __u16 invflags;
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64};
65#endif
66