Lines Matching refs:dst
24 static void fake_update_pmtu(struct dst_entry *dst, struct sock *sk, in fake_update_pmtu() argument
30 static void fake_redirect(struct dst_entry *dst, struct sock *sk, in fake_redirect() argument
35 static u32 *fake_cow_metrics(struct dst_entry *dst, unsigned long old) in fake_cow_metrics() argument
40 static struct neighbour *fake_neigh_lookup(const struct dst_entry *dst, in fake_neigh_lookup() argument
47 static unsigned int fake_mtu(const struct dst_entry *dst) in fake_mtu() argument
49 return dst->dev->mtu; in fake_mtu()
76 atomic_set(&rt->dst.__refcnt, 1); in br_netfilter_rtable_init()
77 rt->dst.dev = br->dev; in br_netfilter_rtable_init()
78 dst_init_metrics(&rt->dst, br_dst_default_metrics, true); in br_netfilter_rtable_init()
79 rt->dst.flags = DST_NOXFRM | DST_FAKE_RTABLE; in br_netfilter_rtable_init()
80 rt->dst.ops = &fake_dst_ops; in br_netfilter_rtable_init()