Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
if_bridge.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  __bridge_info
 
struct  __port_info
 
struct  __fdb_entry
 

Macros

#define SYSFS_BRIDGE_ATTR   "bridge"
 
#define SYSFS_BRIDGE_FDB   "brforward"
 
#define SYSFS_BRIDGE_PORT_SUBDIR   "brif"
 
#define SYSFS_BRIDGE_PORT_ATTR   "brport"
 
#define SYSFS_BRIDGE_PORT_LINK   "bridge"
 
#define BRCTL_VERSION   1
 
#define BRCTL_GET_VERSION   0
 
#define BRCTL_GET_BRIDGES   1
 
#define BRCTL_ADD_BRIDGE   2
 
#define BRCTL_DEL_BRIDGE   3
 
#define BRCTL_ADD_IF   4
 
#define BRCTL_DEL_IF   5
 
#define BRCTL_GET_BRIDGE_INFO   6
 
#define BRCTL_GET_PORT_LIST   7
 
#define BRCTL_SET_BRIDGE_FORWARD_DELAY   8
 
#define BRCTL_SET_BRIDGE_HELLO_TIME   9
 
#define BRCTL_SET_BRIDGE_MAX_AGE   10
 
#define BRCTL_SET_AGEING_TIME   11
 
#define BRCTL_SET_GC_INTERVAL   12
 
#define BRCTL_GET_PORT_INFO   13
 
#define BRCTL_SET_BRIDGE_STP_STATE   14
 
#define BRCTL_SET_BRIDGE_PRIORITY   15
 
#define BRCTL_SET_PORT_PRIORITY   16
 
#define BRCTL_SET_PATH_COST   17
 
#define BRCTL_GET_FDB_ENTRIES   18
 
#define BR_STATE_DISABLED   0
 
#define BR_STATE_LISTENING   1
 
#define BR_STATE_LEARNING   2
 
#define BR_STATE_FORWARDING   3
 
#define BR_STATE_BLOCKING   4
 

Macro Definition Documentation

#define BR_STATE_BLOCKING   4

Definition at line 50 of file if_bridge.h.

#define BR_STATE_DISABLED   0

Definition at line 46 of file if_bridge.h.

#define BR_STATE_FORWARDING   3

Definition at line 49 of file if_bridge.h.

#define BR_STATE_LEARNING   2

Definition at line 48 of file if_bridge.h.

#define BR_STATE_LISTENING   1

Definition at line 47 of file if_bridge.h.

#define BRCTL_ADD_BRIDGE   2

Definition at line 28 of file if_bridge.h.

#define BRCTL_ADD_IF   4

Definition at line 30 of file if_bridge.h.

#define BRCTL_DEL_BRIDGE   3

Definition at line 29 of file if_bridge.h.

#define BRCTL_DEL_IF   5

Definition at line 31 of file if_bridge.h.

#define BRCTL_GET_BRIDGE_INFO   6

Definition at line 32 of file if_bridge.h.

#define BRCTL_GET_BRIDGES   1

Definition at line 27 of file if_bridge.h.

#define BRCTL_GET_FDB_ENTRIES   18

Definition at line 44 of file if_bridge.h.

#define BRCTL_GET_PORT_INFO   13

Definition at line 39 of file if_bridge.h.

#define BRCTL_GET_PORT_LIST   7

Definition at line 33 of file if_bridge.h.

#define BRCTL_GET_VERSION   0

Definition at line 26 of file if_bridge.h.

#define BRCTL_SET_AGEING_TIME   11

Definition at line 37 of file if_bridge.h.

#define BRCTL_SET_BRIDGE_FORWARD_DELAY   8

Definition at line 34 of file if_bridge.h.

#define BRCTL_SET_BRIDGE_HELLO_TIME   9

Definition at line 35 of file if_bridge.h.

#define BRCTL_SET_BRIDGE_MAX_AGE   10

Definition at line 36 of file if_bridge.h.

#define BRCTL_SET_BRIDGE_PRIORITY   15

Definition at line 41 of file if_bridge.h.

#define BRCTL_SET_BRIDGE_STP_STATE   14

Definition at line 40 of file if_bridge.h.

#define BRCTL_SET_GC_INTERVAL   12

Definition at line 38 of file if_bridge.h.

#define BRCTL_SET_PATH_COST   17

Definition at line 43 of file if_bridge.h.

#define BRCTL_SET_PORT_PRIORITY   16

Definition at line 42 of file if_bridge.h.

#define BRCTL_VERSION   1

Definition at line 24 of file if_bridge.h.

#define SYSFS_BRIDGE_ATTR   "bridge"

Definition at line 18 of file if_bridge.h.

#define SYSFS_BRIDGE_FDB   "brforward"

Definition at line 19 of file if_bridge.h.

#define SYSFS_BRIDGE_PORT_ATTR   "brport"

Definition at line 21 of file if_bridge.h.

#define SYSFS_BRIDGE_PORT_LINK   "bridge"

Definition at line 22 of file if_bridge.h.

#define SYSFS_BRIDGE_PORT_SUBDIR   "brif"

Definition at line 20 of file if_bridge.h.