Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 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 27 28 29
30 1 2 3 4 5 6


ebt_stp.h
01: #ifndef __LINUX_BRIDGE_EBT_STP_H
02: #define __LINUX_BRIDGE_EBT_STP_H
03: 
04: #include <linux/types.h>
05: 
06: #define EBT_STP_TYPE            0x0001
07: 
08: #define EBT_STP_FLAGS           0x0002
09: #define EBT_STP_ROOTPRIO        0x0004
10: #define EBT_STP_ROOTADDR        0x0008
11: #define EBT_STP_ROOTCOST        0x0010
12: #define EBT_STP_SENDERPRIO      0x0020
13: #define EBT_STP_SENDERADDR      0x0040
14: #define EBT_STP_PORT            0x0080
15: #define EBT_STP_MSGAGE          0x0100
16: #define EBT_STP_MAXAGE          0x0200
17: #define EBT_STP_HELLOTIME       0x0400
18: #define EBT_STP_FWDD            0x0800
19: 
20: #define EBT_STP_MASK            0x0fff
21: #define EBT_STP_CONFIG_MASK     0x0ffe
22: 
23: #define EBT_STP_MATCH "stp"
24: 
25: struct ebt_stp_config_info {
26:         __u8 flags;
27:         __u16 root_priol, root_priou;
28:         char root_addr[6], root_addrmsk[6];
29:         __u32 root_costl, root_costu;
30:         __u16 sender_priol, sender_priou;
31:         char sender_addr[6], sender_addrmsk[6];
32:         __u16 portl, portu;
33:         __u16 msg_agel, msg_ageu;
34:         __u16 max_agel, max_ageu;
35:         __u16 hello_timel, hello_timeu;
36:         __u16 forward_delayl, forward_delayu;
37: };
38: 
39: struct ebt_stp_info {
40:         __u8 type;
41:         struct ebt_stp_config_info config;
42:         __u16 bitmask;
43:         __u16 invflags;
44: };
45: 
46: #endif
47: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/