|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/kmod.h>#include <linux/etherdevice.h>#include <linux/rtnetlink.h>#include "br_private.h"#include "br_private_stp.h"Go to the source code of this file.
Macros | |
| #define | BR_MAX_PORT_PRIORITY ((u16)~0 >> BR_PORT_BITS) |
Functions | |
| void | br_init_port (struct net_bridge_port *p) |
| void | br_stp_enable_bridge (struct net_bridge *br) |
| void | br_stp_disable_bridge (struct net_bridge *br) |
| void | br_stp_enable_port (struct net_bridge_port *p) |
| void | br_stp_disable_port (struct net_bridge_port *p) |
| void | br_stp_set_enabled (struct net_bridge *br, unsigned long val) |
| void | br_stp_change_bridge_id (struct net_bridge *br, const unsigned char *addr) |
| bool | br_stp_recalculate_bridge_id (struct net_bridge *br) |
| void | br_stp_set_bridge_priority (struct net_bridge *br, u16 newprio) |
| int | br_stp_set_port_priority (struct net_bridge_port *p, unsigned long newprio) |
| int | br_stp_set_path_cost (struct net_bridge_port *p, unsigned long path_cost) |
| ssize_t | br_show_bridge_id (char *buf, const struct bridge_id *id) |
| #define BR_MAX_PORT_PRIORITY ((u16)~0 >> BR_PORT_BITS) |
Definition at line 33 of file br_stp_if.c.
| void br_init_port | ( | struct net_bridge_port * | p | ) |
Definition at line 36 of file br_stp_if.c.
Definition at line 297 of file br_stp_if.c.
| void br_stp_change_bridge_id | ( | struct net_bridge * | br, |
| const unsigned char * | addr | ||
| ) |
Definition at line 179 of file br_stp_if.c.
| void br_stp_disable_bridge | ( | struct net_bridge * | br | ) |
Definition at line 65 of file br_stp_if.c.
| void br_stp_disable_port | ( | struct net_bridge_port * | p | ) |
Definition at line 96 of file br_stp_if.c.
| void br_stp_enable_bridge | ( | struct net_bridge * | br | ) |
Definition at line 46 of file br_stp_if.c.
| void br_stp_enable_port | ( | struct net_bridge_port * | p | ) |
Definition at line 87 of file br_stp_if.c.
| bool br_stp_recalculate_bridge_id | ( | struct net_bridge * | br | ) |
Definition at line 211 of file br_stp_if.c.
| void br_stp_set_bridge_priority | ( | struct net_bridge * | br, |
| u16 | newprio | ||
| ) |
Definition at line 237 of file br_stp_if.c.
| void br_stp_set_enabled | ( | struct net_bridge * | br, |
| unsigned long | val | ||
| ) |
Definition at line 165 of file br_stp_if.c.
| int br_stp_set_path_cost | ( | struct net_bridge_port * | p, |
| unsigned long | path_cost | ||
| ) |
Definition at line 285 of file br_stp_if.c.
| int br_stp_set_port_priority | ( | struct net_bridge_port * | p, |
| unsigned long | newprio | ||
| ) |
Definition at line 262 of file br_stp_if.c.
1.8.2