|
#define | BR_HASH_BITS 8 |
|
#define | BR_HASH_SIZE (1 << BR_HASH_BITS) |
|
#define | BR_HOLD_TIME (1*HZ) |
|
#define | BR_PORT_BITS 10 |
|
#define | BR_MAX_PORTS (1<<BR_PORT_BITS) |
|
#define | BR_VERSION "2.3" |
|
#define | BR_GROUPFWD_DEFAULT 0 |
|
#define | BR_GROUPFWD_RESTRICTED 0x4007u |
|
#define | BR_STP_PROG "/sbin/bridge-stp" |
|
#define | BR_HAIRPIN_MODE 0x00000001 |
|
#define | br_port_exists(dev) (dev->priv_flags & IFF_BRIDGE_PORT) |
|
#define | BR_SET_MAC_ADDR 0x00000001 |
|
#define | BR_INPUT_SKB_CB(__skb) ((struct br_input_skb_cb *)(__skb)->cb) |
|
#define | BR_INPUT_SKB_CB_MROUTERS_ONLY(__skb) (0) |
|
#define | br_printk(level, br, format, args...) printk(level "%s: " format, (br)->dev->name, ##args) |
|
#define | br_err(__br, format, args...) br_printk(KERN_ERR, __br, format, ##args) |
|
#define | br_warn(__br, format, args...) br_printk(KERN_WARNING, __br, format, ##args) |
|
#define | br_notice(__br, format, args...) br_printk(KERN_NOTICE, __br, format, ##args) |
|
#define | br_info(__br, format, args...) br_printk(KERN_INFO, __br, format, ##args) |
|
#define | br_debug(br, format, args...) pr_debug("%s: " format, (br)->dev->name, ##args) |
|
#define | br_netfilter_init() (0) |
|
#define | br_netfilter_fini() do { } while(0) |
|
#define | br_netfilter_rtable_init(x) |
|
#define | br_sysfs_addif(p) (0) |
|
#define | br_sysfs_renameif(p) (0) |
|
#define | br_sysfs_addbr(dev) (0) |
|
#define | br_sysfs_delbr(dev) do { } while(0) |
|
|
void | br_dev_setup (struct net_device *dev) |
|
void | br_dev_delete (struct net_device *dev, struct list_head *list) |
|
netdev_tx_t | br_dev_xmit (struct sk_buff *skb, struct net_device *dev) |
|
int | br_fdb_init (void) |
|
void | br_fdb_fini (void) |
|
void | br_fdb_flush (struct net_bridge *br) |
|
void | br_fdb_changeaddr (struct net_bridge_port *p, const unsigned char *newaddr) |
|
void | br_fdb_change_mac_address (struct net_bridge *br, const u8 *newaddr) |
|
void | br_fdb_cleanup (unsigned long arg) |
|
void | br_fdb_delete_by_port (struct net_bridge *br, const struct net_bridge_port *p, int do_all) |
|
struct net_bridge_fdb_entry * | __br_fdb_get (struct net_bridge *br, const unsigned char *addr) |
|
int | br_fdb_test_addr (struct net_device *dev, unsigned char *addr) |
|
int | br_fdb_fillbuf (struct net_bridge *br, void *buf, unsigned long count, unsigned long off) |
|
int | br_fdb_insert (struct net_bridge *br, struct net_bridge_port *source, const unsigned char *addr) |
|
void | br_fdb_update (struct net_bridge *br, struct net_bridge_port *source, const unsigned char *addr) |
|
int | br_fdb_delete (struct ndmsg *ndm, struct net_device *dev, const unsigned char *addr) |
|
int | br_fdb_add (struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 nlh_flags) |
|
int | br_fdb_dump (struct sk_buff *skb, struct netlink_callback *cb, struct net_device *dev, int idx) |
|
void | br_deliver (const struct net_bridge_port *to, struct sk_buff *skb) |
|
int | br_dev_queue_push_xmit (struct sk_buff *skb) |
|
void | br_forward (const struct net_bridge_port *to, struct sk_buff *skb, struct sk_buff *skb0) |
|
int | br_forward_finish (struct sk_buff *skb) |
|
void | br_flood_deliver (struct net_bridge *br, struct sk_buff *skb) |
|
void | br_flood_forward (struct net_bridge *br, struct sk_buff *skb, struct sk_buff *skb2) |
|
void | br_port_carrier_check (struct net_bridge_port *p) |
|
int | br_add_bridge (struct net *net, const char *name) |
|
int | br_del_bridge (struct net *net, const char *name) |
|
void | br_net_exit (struct net *net) |
|
int | br_add_if (struct net_bridge *br, struct net_device *dev) |
|
int | br_del_if (struct net_bridge *br, struct net_device *dev) |
|
int | br_min_mtu (const struct net_bridge *br) |
|
netdev_features_t | br_features_recompute (struct net_bridge *br, netdev_features_t features) |
|
int | br_handle_frame_finish (struct sk_buff *skb) |
|
rx_handler_result_t | br_handle_frame (struct sk_buff **pskb) |
|
int | br_dev_ioctl (struct net_device *dev, struct ifreq *rq, int cmd) |
|
int | br_ioctl_deviceless_stub (struct net *net, unsigned int cmd, void __user *arg) |
|
void | br_log_state (const struct net_bridge_port *p) |
|
struct net_bridge_port * | br_get_port (struct net_bridge *br, u16 port_no) |
|
void | br_init_port (struct net_bridge_port *p) |
|
void | br_become_designated_port (struct net_bridge_port *p) |
|
int | br_set_forward_delay (struct net_bridge *br, unsigned long x) |
|
int | br_set_hello_time (struct net_bridge *br, unsigned long x) |
|
int | br_set_max_age (struct net_bridge *br, unsigned long x) |
|
void | br_stp_enable_bridge (struct net_bridge *br) |
|
void | br_stp_disable_bridge (struct net_bridge *br) |
|
void | br_stp_set_enabled (struct net_bridge *br, unsigned long val) |
|
void | br_stp_enable_port (struct net_bridge_port *p) |
|
void | br_stp_disable_port (struct net_bridge_port *p) |
|
bool | br_stp_recalculate_bridge_id (struct net_bridge *br) |
|
void | br_stp_change_bridge_id (struct net_bridge *br, const unsigned char *a) |
|
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) |
|
void | br_stp_rcv (const struct stp_proto *proto, struct sk_buff *skb, struct net_device *dev) |
|
void | br_stp_timer_init (struct net_bridge *br) |
|
void | br_stp_port_timer_init (struct net_bridge_port *p) |
|
unsigned long | br_timer_value (const struct timer_list *timer) |
|
int | br_netlink_init (void) |
|
void | br_netlink_fini (void) |
|
void | br_ifinfo_notify (int event, struct net_bridge_port *port) |
|