#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/in_route.h>
#include <linux/inetdevice.h>
#include <net/route.h>
#include "br_private.h"
#ifdef CONFIG_SYSCTL
#include <linux/sysctl.h>
#endif
static void fake_update_pmtu(struct dst_entry *dst, struct sock *sk,
struct sk_buff *skb, u32 mtu,
bool confirm_neigh)
{ … }
static void fake_redirect(struct dst_entry *dst, struct sock *sk,
struct sk_buff *skb)
{ … }
static u32 *fake_cow_metrics(struct dst_entry *dst, unsigned long old)
{ … }
static struct neighbour *fake_neigh_lookup(const struct dst_entry *dst,
struct sk_buff *skb,
const void *daddr)
{ … }
static unsigned int fake_mtu(const struct dst_entry *dst)
{ … }
static struct dst_ops fake_dst_ops = …;
static const u32 br_dst_default_metrics[RTAX_MAX] = …;
void br_netfilter_rtable_init(struct net_bridge *br)
{ … }
int __init br_nf_core_init(void)
{ … }
void br_nf_core_fini(void)
{ … }