Linux Kernel
3.7.1
|
#include <linux/err.h>
#include <linux/if_ether.h>
#include <linux/igmp.h>
#include <linux/jhash.h>
#include <linux/kernel.h>
#include <linux/log2.h>
#include <linux/netdevice.h>
#include <linux/netfilter_bridge.h>
#include <linux/random.h>
#include <linux/rculist.h>
#include <linux/skbuff.h>
#include <linux/slab.h>
#include <linux/timer.h>
#include <net/ip.h>
#include "br_private.h"
Go to the source code of this file.
Macros | |
#define | mlock_dereference(X, br) rcu_dereference_protected(X, lockdep_is_held(&br->multicast_lock)) |
Functions | |
struct net_bridge_mdb_entry * | br_mdb_get (struct net_bridge *br, struct sk_buff *skb) |
void | br_multicast_add_port (struct net_bridge_port *port) |
void | br_multicast_del_port (struct net_bridge_port *port) |
void | br_multicast_enable_port (struct net_bridge_port *port) |
void | br_multicast_disable_port (struct net_bridge_port *port) |
int | br_multicast_rcv (struct net_bridge *br, struct net_bridge_port *port, struct sk_buff *skb) |
void | br_multicast_init (struct net_bridge *br) |
void | br_multicast_open (struct net_bridge *br) |
void | br_multicast_stop (struct net_bridge *br) |
int | br_multicast_set_router (struct net_bridge *br, unsigned long val) |
int | br_multicast_set_port_router (struct net_bridge_port *p, unsigned long val) |
int | br_multicast_toggle (struct net_bridge *br, unsigned long val) |
int | br_multicast_set_querier (struct net_bridge *br, unsigned long val) |
int | br_multicast_set_hash_max (struct net_bridge *br, unsigned long val) |
#define mlock_dereference | ( | X, | |
br | |||
) | rcu_dereference_protected(X, lockdep_is_held(&br->multicast_lock)) |
Definition at line 36 of file br_multicast.c.
|
read |
Definition at line 139 of file br_multicast.c.
void br_multicast_add_port | ( | struct net_bridge_port * | port | ) |
Definition at line 829 of file br_multicast.c.
void br_multicast_del_port | ( | struct net_bridge_port * | port | ) |
Definition at line 839 of file br_multicast.c.
void br_multicast_disable_port | ( | struct net_bridge_port * | port | ) |
Definition at line 867 of file br_multicast.c.
void br_multicast_enable_port | ( | struct net_bridge_port * | port | ) |
Definition at line 853 of file br_multicast.c.
void br_multicast_init | ( | struct net_bridge * | br | ) |
Definition at line 1563 of file br_multicast.c.
void br_multicast_open | ( | struct net_bridge * | br | ) |
Definition at line 1589 of file br_multicast.c.
int br_multicast_rcv | ( | struct net_bridge * | br, |
struct net_bridge_port * | port, | ||
struct sk_buff * | skb | ||
) |
Definition at line 1528 of file br_multicast.c.
int br_multicast_set_hash_max | ( | struct net_bridge * | br, |
unsigned long | val | ||
) |
Definition at line 1783 of file br_multicast.c.
int br_multicast_set_port_router | ( | struct net_bridge_port * | p, |
unsigned long | val | ||
) |
Definition at line 1670 of file br_multicast.c.
int br_multicast_set_querier | ( | struct net_bridge * | br, |
unsigned long | val | ||
) |
Definition at line 1765 of file br_multicast.c.
int br_multicast_set_router | ( | struct net_bridge * | br, |
unsigned long | val | ||
) |
Definition at line 1641 of file br_multicast.c.
void br_multicast_stop | ( | struct net_bridge * | br | ) |
Definition at line 1599 of file br_multicast.c.
int br_multicast_toggle | ( | struct net_bridge * | br, |
unsigned long | val | ||
) |
Definition at line 1726 of file br_multicast.c.