Lines Matching refs:rt6_info
77 static struct rt6_info * ip6_rt_copy(struct rt6_info *ort);
91 static struct rt6_info *rt6_add_route_info(struct net *net,
95 static struct rt6_info *rt6_get_route_info(struct net *net,
128 static struct rt6_info ip6_null_entry_template = {
149 static struct rt6_info ip6_prohibit_entry_template = {
165 static struct rt6_info ip6_blk_hole_entry_template = {
184 static inline struct rt6_info *ip6_dst_alloc(struct dst_ops *ops)
186 return (struct rt6_info *)dst_alloc(ops);
191 struct rt6_info *rt = (struct rt6_info *)dst;
203 struct rt6_info *rt = (struct rt6_info *)dst;
218 static __inline__ int rt6_check_expired(const struct rt6_info *rt)
234 static inline struct rt6_info *rt6_device_match(struct net *net,
235 struct rt6_info *rt,
240 struct rt6_info *local = NULL;
241 struct rt6_info *sprt;
282 static void rt6_probe(struct rt6_info *rt)
311 static inline void rt6_probe(struct rt6_info *rt)
319 static inline int rt6_check_dev(struct rt6_info *rt, int oif)
330 static inline int rt6_check_neigh(struct rt6_info *rt)
353 static int rt6_score_route(struct rt6_info *rt, int oif,
370 static struct rt6_info *find_match(struct rt6_info *rt, int oif, int strict,
371 int *mpri, struct rt6_info *match)
395 static struct rt6_info *find_rr_leaf(struct fib6_node *fn,
396 struct rt6_info *rr_head,
399 struct rt6_info *rt, *match;
413 static struct rt6_info *rt6_select(struct fib6_node *fn, int oif, int strict)
415 struct rt6_info *match, *rt0;
429 struct rt6_info *next = rt0->dst.rt6_next;
455 struct rt6_info *rt;
538 static struct rt6_info *ip6_pol_route_lookup(struct net *net,
543 struct rt6_info *rt;
558 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr,
579 return (struct rt6_info *) dst;
594 static int __ip6_ins_rt(struct rt6_info *rt, struct nl_info *info)
607 int ip6_ins_rt(struct rt6_info *rt)
615 static struct rt6_info *rt6_alloc_cow(struct rt6_info *ort, struct in6_addr *daddr,
618 struct rt6_info *rt;
684 static struct rt6_info *rt6_alloc_clone(struct rt6_info *ort, struct in6_addr *daddr)
686 struct rt6_info *rt = ip6_rt_copy(ort);
697 static struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, int oif,
701 struct rt6_info *rt, *nrt;
770 static struct rt6_info *ip6_pol_route_input(struct net *net, struct fib6_table *table,
800 static struct rt6_info *ip6_pol_route_output(struct net *net, struct fib6_table *table,
826 struct rt6_info *ort = (struct rt6_info *) *dstp;
827 struct rt6_info *rt = (struct rt6_info *)
872 struct rt6_info *rt;
874 rt = (struct rt6_info *) dst;
884 struct rt6_info *rt = (struct rt6_info *) dst;
902 struct rt6_info *rt;
906 rt = (struct rt6_info *) skb_dst(skb);
918 struct rt6_info *rt6 = (struct rt6_info*)dst;
958 struct rt6_info *rt;
1026 static void icmp6_clean_all(int (*func)(struct rt6_info *rt, void *arg),
1034 struct rt6_info *rt = (struct rt6_info *) dst;
1114 struct rt6_info *rt = NULL;
1217 struct rt6_info *grt;
1316 static int __ip6_del_rt(struct rt6_info *rt, struct nl_info *info)
1336 int ip6_del_rt(struct rt6_info *rt)
1348 struct rt6_info *rt;
1391 static struct rt6_info *__ip6_route_redirect(struct net *net,
1397 struct rt6_info *rt;
1445 static struct rt6_info *ip6_route_redirect(struct in6_addr *dest,
1469 return (struct rt6_info *)fib6_rule_lookup(net, (struct flowi *)&rdfl,
1477 struct rt6_info *rt, *nrt = NULL;
1555 struct rt6_info *rt, *nrt;
1651 static struct rt6_info * ip6_rt_copy(struct rt6_info *ort)
1654 struct rt6_info *rt = ip6_dst_alloc(&net->ipv6.ip6_dst_ops);
1685 static struct rt6_info *rt6_get_route_info(struct net *net,
1690 struct rt6_info *rt = NULL;
1717 static struct rt6_info *rt6_add_route_info(struct net *net,
1747 struct rt6_info *rt6_get_dflt_router(struct in6_addr *addr, struct net_device *dev)
1749 struct rt6_info *rt;
1769 struct rt6_info *rt6_add_dflt_router(struct in6_addr *gwaddr,
1793 struct rt6_info *rt;
1929 struct rt6_info *addrconf_dst_alloc(struct inet6_dev *idev,
1934 struct rt6_info *rt = ip6_dst_alloc(&net->ipv6.ip6_dst_ops);
1967 return (struct rt6_info *) neigh;
1985 static int fib6_ifdown(struct rt6_info *rt, void *arg)
2015 static int rt6_mtu_change_route(struct rt6_info *rt, void *p_arg)
2184 struct sk_buff *skb, struct rt6_info *rt,
2301 int rt6_dump_route(struct rt6_info *rt, void *p_arg)
2322 struct rt6_info *rt;
2376 rt = (struct rt6_info*) ip6_route_output(net, NULL, &fl);
2392 void inet6_rt_notify(int event, struct rt6_info *rt, struct nl_info *info)
2459 static int rt6_info_route(struct rt6_info *rt, void *p_arg)
2741 kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0,
2753 * the loopback reference in rt6_info will not be taken, do it