#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/jhash.h>
#include <linux/if_vlan.h>
#include <net/addrconf.h>
#include "cxgb4.h"
#include "clip_tbl.h"
static inline unsigned int ipv4_clip_hash(struct clip_tbl *c, const u32 *key)
{ … }
static inline unsigned int ipv6_clip_hash(struct clip_tbl *d, const u32 *key)
{ … }
static unsigned int clip_addr_hash(struct clip_tbl *ctbl, const u32 *addr,
u8 v6)
{ … }
static int clip6_get_mbox(const struct net_device *dev,
const struct in6_addr *lip)
{ … }
static int clip6_release_mbox(const struct net_device *dev,
const struct in6_addr *lip)
{ … }
int cxgb4_clip_get(const struct net_device *dev, const u32 *lip, u8 v6)
{ … }
EXPORT_SYMBOL(…);
void cxgb4_clip_release(const struct net_device *dev, const u32 *lip, u8 v6)
{ … }
EXPORT_SYMBOL(…);
static int cxgb4_update_dev_clip(struct net_device *root_dev,
struct net_device *dev)
{ … }
int cxgb4_update_root_dev_clip(struct net_device *dev)
{ … }
EXPORT_SYMBOL(…);
int clip_tbl_show(struct seq_file *seq, void *v)
{ … }
struct clip_tbl *t4_init_clip_tbl(unsigned int clipt_start,
unsigned int clipt_end)
{ … }
void t4_cleanup_clip_tbl(struct adapter *adap)
{ … }
EXPORT_SYMBOL(…);