Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
br_stp_bpdu.c File Reference
#include <linux/kernel.h>
#include <linux/netfilter_bridge.h>
#include <linux/etherdevice.h>
#include <linux/llc.h>
#include <linux/slab.h>
#include <net/net_namespace.h>
#include <net/llc.h>
#include <net/llc_pdu.h>
#include <net/stp.h>
#include <asm/unaligned.h>
#include "br_private.h"
#include "br_private_stp.h"

Go to the source code of this file.


#define STP_HZ   256
#define LLC_RESERVE   sizeof(struct llc_pdu_un)


void br_send_config_bpdu (struct net_bridge_port *p, struct br_config_bpdu *bpdu)
void br_send_tcn_bpdu (struct net_bridge_port *p)
void br_stp_rcv (const struct stp_proto *proto, struct sk_buff *skb, struct net_device *dev)

Macro Definition Documentation

#define LLC_RESERVE   sizeof(struct llc_pdu_un)

Definition at line 30 of file br_stp_bpdu.c.

#define STP_HZ   256

Definition at line 28 of file br_stp_bpdu.c.

Function Documentation

void br_send_config_bpdu ( struct net_bridge_port p,
struct br_config_bpdu bpdu 

Definition at line 74 of file br_stp_bpdu.c.

void br_send_tcn_bpdu ( struct net_bridge_port p)

Definition at line 119 of file br_stp_bpdu.c.

void br_stp_rcv ( const struct stp_proto proto,
struct sk_buff skb,
struct net_device dev 

Definition at line 138 of file br_stp_bpdu.c.