Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
l2t.c File Reference
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/if.h>
#include <linux/if_vlan.h>
#include <linux/jhash.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <net/neighbour.h>
#include "common.h"
#include "t3cdev.h"
#include "cxgb3_defs.h"
#include "l2t.h"
#include "t3_cpl.h"
#include "firmware_exports.h"

Go to the source code of this file.

Macros

#define VLAN_NONE   0xfff
 

Functions

int t3_l2t_send_slow (struct t3cdev *dev, struct sk_buff *skb, struct l2t_entry *e)
 
 EXPORT_SYMBOL (t3_l2t_send_slow)
 
void t3_l2t_send_event (struct t3cdev *dev, struct l2t_entry *e)
 
 EXPORT_SYMBOL (t3_l2t_send_event)
 
void t3_l2e_free (struct l2t_data *d, struct l2t_entry *e)
 
 EXPORT_SYMBOL (t3_l2e_free)
 
struct l2t_entryt3_l2t_get (struct t3cdev *cdev, struct dst_entry *dst, struct net_device *dev, const void *daddr)
 
 EXPORT_SYMBOL (t3_l2t_get)
 
void t3_l2t_update (struct t3cdev *dev, struct neighbour *neigh)
 
struct l2t_datat3_init_l2t (unsigned int l2t_capacity)
 
void t3_free_l2t (struct l2t_data *d)
 

Macro Definition Documentation

#define VLAN_NONE   0xfff

Definition at line 47 of file l2t.c.

Function Documentation

EXPORT_SYMBOL ( t3_l2t_send_slow  )
EXPORT_SYMBOL ( t3_l2t_send_event  )
EXPORT_SYMBOL ( t3_l2e_free  )
EXPORT_SYMBOL ( t3_l2t_get  )
void t3_free_l2t ( struct l2t_data d)

Definition at line 466 of file l2t.c.

struct l2t_data* t3_init_l2t ( unsigned int  l2t_capacity)
read

Definition at line 442 of file l2t.c.

void t3_l2e_free ( struct l2t_data d,
struct l2t_entry e 
)

Definition at line 263 of file l2t.c.

struct l2t_entry* t3_l2t_get ( struct t3cdev cdev,
struct dst_entry dst,
struct net_device dev,
const void daddr 
)
read

Definition at line 301 of file l2t.c.

void t3_l2t_send_event ( struct t3cdev dev,
struct l2t_entry e 
)

Definition at line 178 of file l2t.c.

int t3_l2t_send_slow ( struct t3cdev dev,
struct sk_buff skb,
struct l2t_entry e 
)

Definition at line 128 of file l2t.c.

void t3_l2t_update ( struct t3cdev dev,
struct neighbour neigh 
)

Definition at line 398 of file l2t.c.