Home
last modified time | relevance | path

Searched refs:rt6_info (Results 1 – 38 of 38) sorted by relevance

/linux-4.1.27/include/net/
Dip6_fib.h30 struct rt6_info;
63 struct rt6_info *leaf;
68 struct rt6_info *rr_ptr;
94 struct rt6_info { struct
132 static inline struct inet_peer *rt6_peer_ptr(struct rt6_info *rt) in rt6_peer_ptr() argument
137 static inline bool rt6_has_peer(struct rt6_info *rt) in rt6_has_peer()
142 static inline void __rt6_set_peer(struct rt6_info *rt, struct inet_peer *peer) in __rt6_set_peer()
147 static inline bool rt6_set_peer(struct rt6_info *rt, struct inet_peer *peer) in rt6_set_peer()
152 static inline void rt6_init_peer(struct rt6_info *rt, struct inet_peer_base *base) in rt6_init_peer()
157 static inline void rt6_transfer_peer(struct rt6_info *rt, struct rt6_info *ort) in rt6_transfer_peer()
[all …]
Dip6_route.h86 int ip6_ins_rt(struct rt6_info *);
87 int ip6_del_rt(struct rt6_info *);
89 int ip6_route_get_saddr(struct net *net, struct rt6_info *rt,
93 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr,
101 struct rt6_info *addrconf_dst_alloc(struct inet6_dev *idev,
108 struct rt6_info *rt6_get_dflt_router(const struct in6_addr *addr,
110 struct rt6_info *rt6_add_dflt_router(const struct in6_addr *gwaddr,
134 int rt6_dump_route(struct rt6_info *rt, void *p_arg);
149 struct rt6_info *rt = (struct rt6_info *) dst; in __ip6_dst_store()
169 struct rt6_info *rt = (struct rt6_info *) skb_dst(skb); in ipv6_unicast_destination()
[all …]
Dif_inet6.h65 struct rt6_info *rt;
145 struct rt6_info *aca_rt;
Dipv6.h693 struct rt6_info *rt);
805 struct rt6_info *rt, unsigned int flags, int dontfrag);
821 struct flowi6 *fl6, struct rt6_info *rt,
Ddst.h103 struct rt6_info *rt6_next;
Dxfrm.h942 struct rt6_info rt6;
/linux-4.1.27/net/ipv6/
Droute.c75 static struct rt6_info *ip6_rt_copy(struct rt6_info *ort,
95 static int rt6_score_route(struct rt6_info *rt, int oif, int strict);
98 static struct rt6_info *rt6_add_route_info(struct net *net,
102 static struct rt6_info *rt6_get_route_info(struct net *net,
107 static void rt6_bind_peer(struct rt6_info *rt, int create) in rt6_bind_peer()
123 static struct inet_peer *__rt6_get_peer(struct rt6_info *rt, int create) in __rt6_get_peer()
132 static struct inet_peer *rt6_get_peer_create(struct rt6_info *rt) in rt6_get_peer_create()
139 struct rt6_info *rt = (struct rt6_info *) dst; in ipv6_cow_metrics()
168 static inline const void *choose_neigh_daddr(struct rt6_info *rt, in choose_neigh_daddr()
185 struct rt6_info *rt = (struct rt6_info *) dst; in ip6_neigh_lookup()
[all …]
Dip6_fib.c52 int (*func)(struct rt6_info *, void *arg);
66 static struct rt6_info *fib6_find_prefix(struct net *net, struct fib6_node *fn);
157 static void rt6_release(struct rt6_info *rt) in rt6_release()
271 struct rt6_info *rt; in fib6_dump_node()
626 static bool rt6_qualify_for_ecmp(struct rt6_info *rt) in rt6_qualify_for_ecmp()
664 static void fib6_purge_rt(struct rt6_info *rt, struct fib6_node *fn, in fib6_purge_rt()
691 static int fib6_add_rt2node(struct fib6_node *fn, struct rt6_info *rt, in fib6_add_rt2node()
694 struct rt6_info *iter = NULL; in fib6_add_rt2node()
695 struct rt6_info **ins; in fib6_add_rt2node()
696 struct rt6_info **fallback_ins = NULL; in fib6_add_rt2node()
[all …]
Dip6_output.c108 nexthop = rt6_nexthop((struct rt6_info *)dst); in ip6_finish_output2()
452 struct rt6_info *rt; in ip6_forward()
459 rt = (struct rt6_info *) dst; in ip6_forward()
550 struct rt6_info *rt = (struct rt6_info *)skb_dst(skb); in ip6_fragment()
841 struct rt6_info *rt; in ip6_sk_dst_check()
851 rt = (struct rt6_info *)dst; in ip6_sk_dst_check()
888 struct rt6_info *rt; in ip6_dst_lookup_tail()
903 struct rt6_info *rt; in ip6_dst_lookup_tail()
908 rt = (*dst)->error ? NULL : (struct rt6_info *)*dst; in ip6_dst_lookup_tail()
944 rt = (struct rt6_info *) *dst; in ip6_dst_lookup_tail()
[all …]
Dxfrm6_policy.c76 struct rt6_info *rt = (struct rt6_info *)xdst; in xfrm6_init_dst()
85 struct rt6_info *rt = (struct rt6_info *)dst; in xfrm6_init_path()
98 struct rt6_info *rt = (struct rt6_info *)xdst->route; in xfrm6_fill_dst()
Dfib6_rules.c54 struct rt6_info *rt = NULL; in fib6_rule_action()
125 struct rt6_info *rt = (struct rt6_info *) arg->result; in fib6_rule_suppress()
Dping.c92 struct rt6_info *rt; in ping_v6_sendmsg()
150 rt = (struct rt6_info *) dst; in ping_v6_sendmsg()
Dicmp.c199 struct rt6_info *rt = (struct rt6_info *)dst; in icmpv6_xrlim_allow()
340 if (((struct rt6_info *)dst)->rt6i_flags & RTF_ANYCAST) { in icmpv6_route_lookup()
522 np->tclass, NULL, &fl6, (struct rt6_info *)dst, in icmp6_send()
612 (struct rt6_info *)dst, MSG_DONTWAIT, in icmpv6_echo_reply()
Danycast.c79 struct rt6_info *rt; in ipv6_sock_ac_join()
218 static struct ifacaddr6 *aca_alloc(struct rt6_info *rt, in aca_alloc()
246 struct rt6_info *rt; in __ipv6_dev_ac_inc()
Doutput_core.c64 struct rt6_info *rt) in ipv6_select_ident()
Draw.c619 struct rt6_info *rt = (struct rt6_info *)*dstp; in rawv6_send_hdrinc()
894 len, 0, hlimit, tclass, opt, &fl6, (struct rt6_info *)dst, in rawv6_sendmsg()
Dip6_tunnel.c153 struct rt6_info *rt = (struct rt6_info *) dst; in ip6_tnl_dst_store()
689 struct rt6_info *rt; in ip6ip6_err()
1271 struct rt6_info *rt = rt6_lookup(t->net, in ip6_tnl_link_config()
Dtcp_ipv6.c97 const struct rt6_info *rt = (const struct rt6_info *)dst; in inet6_sk_rx_dst_set()
124 struct rt6_info *rt; in tcp_v6_connect()
263 rt = (struct rt6_info *) dst; in tcp_v6_connect()
Dndisc.c1072 struct rt6_info *rt = NULL; in ndisc_router_discovery()
1468 struct rt6_info *rt; in ndisc_send_redirect()
1500 rt = (struct rt6_info *) dst; in ndisc_send_redirect()
Daddrconf.c158 static struct rt6_info *addrconf_get_prefix_route(const struct in6_addr *pfx,
833 struct rt6_info *rt; in ipv6_add_addr()
999 struct rt6_info *rt; in cleanup_prefix_route()
2116 static struct rt6_info *addrconf_get_prefix_route(const struct in6_addr *pfx, in addrconf_get_prefix_route()
2122 struct rt6_info *rt = NULL; in addrconf_get_prefix_route()
2303 struct rt6_info *rt; in addrconf_prefix_rcv()
2815 struct rt6_info *sp_rt; in init_loopback()
5058 struct rt6_info *rt; in __ipv6_ifa_notify()
Dudp.c1316 &fl6, (struct rt6_info *)dst, in udpv6_sendmsg()
1343 (struct rt6_info *)dst, in udpv6_sendmsg()
Dip6mr.c2289 struct rt6_info *rt = (struct rt6_info *)skb_dst(skb); in ip6mr_get_route()
Dmcast.c167 struct rt6_info *rt; in ipv6_sock_mc_join()
257 struct rt6_info *rt = rt6_lookup(net, group, NULL, 0, 0); in ip6_mc_find_dev_rcu()
Dip6_gre.c980 struct rt6_info *rt = rt6_lookup(t->net, in ip6gre_tnl_link_config()
Dsit.c488 struct rt6_info *rt; in ipip6_err_gen_icmpv6_unreach()
/linux-4.1.27/include/net/netns/
Dipv6.h54 struct rt6_info *ip6_null_entry;
63 struct rt6_info *ip6_prohibit_entry;
64 struct rt6_info *ip6_blk_hole_entry;
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_xmit.c160 static inline int __ip_vs_is_local_route6(struct rt6_info *rt) in __ip_vs_is_local_route6()
184 (struct rt6_info *)skb_dst(skb)); in crosses_local_route_boundary()
408 struct rt6_info *rt; /* Route to the other host */ in __ip_vs_get_out_rt_v6()
416 rt = (struct rt6_info *) dest_dst->dst_cache; in __ip_vs_get_out_rt_v6()
436 rt = (struct rt6_info *) dst; in __ip_vs_get_out_rt_v6()
451 rt = (struct rt6_info *) dst; in __ip_vs_get_out_rt_v6()
770 struct rt6_info *rt; /* Route to the other host */ in ip_vs_nat_xmit_v6()
793 rt = (struct rt6_info *) skb_dst(skb); in ip_vs_nat_xmit_v6()
1056 struct rt6_info *rt; /* Route to the other host */ in ip_vs_tunnel_xmit_v6()
1082 rt = (struct rt6_info *) skb_dst(skb); in ip_vs_tunnel_xmit_v6()
[all …]
/linux-4.1.27/net/ipv6/netfilter/
Dip6t_rpfilter.c32 struct rt6_info *rt; in rpfilter_lookup_reverse6()
77 const struct rt6_info *rt = (const void *) skb_dst(skb); in rpfilter_is_local()
Dnf_nat_l3proto_ipv6.c135 struct rt6_info *rt = (struct rt6_info *)skb_dst(skb); in nf_nat_ipv6_csum_recalc()
/linux-4.1.27/net/netfilter/
Dxt_addrtype.c41 struct rt6_info *rt; in match_lookup_rt6()
Dnf_conntrack_h323_main.c771 struct rt6_info *rt1, *rt2; in callforward_do_filter()
/linux-4.1.27/net/sctp/
Dipv6.c330 struct rt6_info *rt; in sctp_v6_get_dst()
332 rt = (struct rt6_info *)dst; in sctp_v6_get_dst()
/linux-4.1.27/net/bluetooth/
D6lowpan.c172 struct rt6_info *rt = (struct rt6_info *)skb_dst(skb); in peer_lookup_dst()
/linux-4.1.27/net/ipv4/
Dip_tunnel.c616 struct rt6_info *rt6 = (struct rt6_info *)skb_dst(skb); in tnl_update_pmtu()
/linux-4.1.27/net/l2tp/
Dl2tp_ip6.c626 &fl6, (struct rt6_info *)dst, in l2tp_ip6_sendmsg()
/linux-4.1.27/drivers/scsi/cxgbi/
Dlibcxgbi.c682 static struct rt6_info *find_route_ipv6(const struct in6_addr *saddr, in find_route_ipv6()
691 return (struct rt6_info *)ip6_route_output(&init_net, NULL, &fl); in find_route_ipv6()
700 struct rt6_info *rt = NULL; in cxgbi_check_route6()
/linux-4.1.27/drivers/s390/net/
Dqeth_l3_main.c2848 struct rt6_info *rt = (struct rt6_info *) dst; in qeth_l3_fill_header()
/linux-4.1.27/drivers/net/
Dvxlan.c2002 flags = ((struct rt6_info *)ndst)->rt6i_flags; in vxlan_xmit_one()