Home
last modified time | relevance | path

Searched defs:rt (Results 1 – 25 of 92) sorted by relevance

1234

/net/x25/
Dx25_route.c29 struct x25_route *rt; in x25_add_route() local
66 static void __x25_remove_route(struct x25_route *rt) in __x25_remove_route()
77 struct x25_route *rt; in x25_del_route() local
100 struct x25_route *rt; in x25_route_device_down() local
137 struct x25_route *rt, *use = NULL; in x25_get_route() local
162 struct x25_route_struct rt; in x25_route_ioctl() local
195 struct x25_route *rt; in x25_route_free() local
/net/mctp/
Droute.c378 static unsigned int mctp_route_mtu(struct mctp_route *rt) in mctp_route_mtu()
418 static void mctp_route_release(struct mctp_route *rt) in mctp_route_release()
429 struct mctp_route *rt; in mctp_route_alloc() local
530 static bool mctp_rt_match_eid(struct mctp_route *rt, in mctp_rt_match_eid()
550 struct mctp_route *tmp, *rt = NULL; in mctp_route_lookup() local
572 struct mctp_route *tmp, *rt = NULL; in mctp_route_lookup_null() local
590 int mctp_do_route(struct mctp_route *rt, struct sk_buff *skb) in mctp_do_route()
599 static int mctp_do_fragment_route(struct mctp_route *rt, struct sk_buff *skb, in mctp_do_fragment_route()
679 int mctp_local_output(struct sock *sk, struct mctp_route *rt, in mctp_local_output()
751 struct mctp_route *rt, *ert; in mctp_route_add() local
[all …]
/net/ipv6/
Droute.c137 void rt6_uncached_list_add(struct rt6_info *rt) in rt6_uncached_list_add()
148 void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del()
171 struct rt6_info *rt; in rt6_uncached_list_flush_dev() local
224 const struct rt6_info *rt = container_of(dst, struct rt6_info, dst); in ip6_dst_neigh_lookup() local
233 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_confirm_neigh() local
329 static void rt6_info_init(struct rt6_info *rt) in rt6_info_init()
341 struct rt6_info *rt = dst_alloc(&net->ipv6.ip6_dst_ops, dev, in ip6_dst_alloc() local
355 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_destroy() local
375 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_ifdown() local
389 static bool __rt6_check_expired(const struct rt6_info *rt) in __rt6_check_expired()
[all …]
Dip6_fib.c316 struct rt6_info *rt; in fib6_rule_lookup() local
364 struct fib6_info *rt, in call_fib6_entry_notifier()
377 struct fib6_info *rt, in call_fib6_multipath_entry_notifier()
392 struct fib6_info *rt, in call_fib6_entry_notifiers()
406 struct fib6_info *rt, in call_fib6_multipath_entry_notifiers()
420 int call_fib6_entry_notifiers_replace(struct net *net, struct fib6_info *rt) in call_fib6_entry_notifiers_replace()
437 static int fib6_rt_dump(struct fib6_info *rt, struct fib6_dump_arg *arg) in fib6_rt_dump()
518 struct fib6_info *rt; in fib6_dump_node() local
1026 static void fib6_purge_rt(struct fib6_info *rt, struct fib6_node *fn, in fib6_purge_rt()
1066 static int fib6_add_rt2node(struct fib6_node *fn, struct fib6_info *rt, in fib6_add_rt2node()
[all …]
Dip6_output.c571 struct rt6_info *rt; in ip6_forward() local
832 struct rt6_info *rt = (struct rt6_info *)skb_dst(skb); in ip6_fragment() local
1029 struct rt6_info *rt; in ip6_sk_dst_check() local
1076 struct rt6_info *rt; in ip6_dst_lookup_tail() local
1092 struct rt6_info *rt; in ip6_dst_lookup_tail() local
1354 struct rt6_info *rt, in ip6_append_data_mtu()
1376 struct rt6_info *rt, struct flowi6 *fl6) in ip6_setup_cork()
1470 struct rt6_info *rt = (struct rt6_info *)cork->dst; in __ip6_append_data() local
1804 struct rt6_info *rt, unsigned int flags) in ip6_append_data()
1868 struct rt6_info *rt = (struct rt6_info *)cork->base.dst; in __ip6_make_skb() local
[all …]
Dfib6_rules.c113 struct rt6_info *rt; in fib6_rule_lookup() local
200 struct rt6_info *rt = NULL; in __fib6_rule_action() local
274 struct rt6_info *rt = res->rt6; in fib6_rule_suppress() local
/net/ipv4/
Droute.c414 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_neigh_lookup() local
441 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_confirm_neigh() local
583 struct rtable *rt; in fnhe_flush_routes() local
630 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe()
650 struct rtable *rt; in update_or_create_fnhe() local
744 static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4, in __ip_do_redirect()
831 struct rtable *rt; in ip_do_redirect() local
849 struct rtable *rt = (struct rtable *)dst; in ipv4_negative_advice() local
883 struct rtable *rt = skb_rtable(skb); in ip_rt_send_redirect() local
950 struct rtable *rt = skb_rtable(skb); in ip_error() local
[all …]
Dip_options.c45 __be32 daddr, struct rtable *rt, int is_frag) in ip_options_build()
260 struct rtable *rt = NULL; in __ip_options_compile() local
555 struct rtable *rt = skb_rtable(skb); in ip_forward_options() local
605 struct rtable *rt = skb_rtable(skb); in ip_options_rcv_srr() local
Dnetfilter.c23 struct rtable *rt; in ip_route_me_harder() local
90 struct rtable *rt = ip_route_output_key(net, &fl->u.ip4); in nf_ip_route() local
Ddatagram.c25 struct rtable *rt; in __ip4_datagram_connect() local
107 struct rtable *rt; in ip4_datagram_release_cb() local
Dip_output.c150 struct rtable *rt = skb_rtable(skb); in ip_build_and_send_pkt() local
197 struct rtable *rt = (struct rtable *)dst; in ip_finish_output2() local
361 struct rtable *rt = skb_rtable(skb); in ip_mc_output() local
460 struct rtable *rt; in __ip_queue_xmit() local
765 struct rtable *rt = skb_rtable(skb); in ip_do_fragment() local
982 struct rtable *rt = (struct rtable *)cork->dst; in __ip_append_data() local
1248 struct rtable *rt; in ip_setup_cork() local
1336 struct rtable *rt; in ip_append_page() local
1484 struct rtable *rt = (struct rtable *)cork->dst; in __ip_make_skb() local
1684 struct rtable *rt = skb_rtable(skb); in ip_send_unicast_reply() local
Dicmp.c314 static bool icmpv4_xrlim_allow(struct net *net, struct rtable *rt, in icmpv4_xrlim_allow()
370 struct ipcm_cookie *ipc, struct rtable **rt) in icmp_push_reply()
406 struct rtable *rt = skb_rtable(skb); in icmp_reply() local
491 struct rtable *rt, *rt2; in icmp_route_lookup() local
599 struct rtable *rt = skb_rtable(skb_in); in __icmp_send() local
1185 struct rtable *rt = skb_rtable(skb); in icmp_rcv() local
Darp.c433 struct rtable *rt; in arp_filter() local
453 struct net_device *dev, struct rtable *rt) in arp_fwd_proxy()
498 struct net_device *dev, struct rtable *rt, in arp_fwd_pvlan()
683 struct rtable *rt; in arp_process() local
1038 struct rtable *rt = ip_route_output(net, ip, 0, RTO_ONLINK, 0); in arp_req_set() local
1169 struct rtable *rt = ip_route_output(net, ip, 0, RTO_ONLINK, 0); in arp_req_delete() local
Dip_forward.c90 struct rtable *rt; /* Route we use */ in ip_forward() local
Dxfrm4_policy.c26 struct rtable *rt; in __xfrm4_dst_lookup() local
74 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst() local
/net/mpls/
Daf_mpls.c79 struct mpls_route *rt = NULL; in mpls_route_input_rcu() local
95 static u8 *__mpls_nh_via(struct mpls_route *rt, struct mpls_nh *nh) in __mpls_nh_via()
100 static const u8 *mpls_nh_via(const struct mpls_route *rt, in mpls_nh_via()
156 static u32 mpls_multipath_hash(struct mpls_route *rt, struct sk_buff *skb) in mpls_multipath_hash()
223 static struct mpls_nh *mpls_get_nexthop(struct mpls_route *rt, u8 index) in mpls_get_nexthop()
233 static struct mpls_nh *mpls_select_multipath(struct mpls_route *rt, in mpls_select_multipath()
269 static bool mpls_egress(struct net *net, struct mpls_route *rt, in mpls_egress()
346 struct mpls_route *rt; in mpls_forward() local
513 struct mpls_route *rt; in mpls_rt_alloc() local
532 static void mpls_rt_free(struct mpls_route *rt) in mpls_rt_free()
[all …]
Dinternal.h160 #define for_nexthops(rt) { \ argument
166 #define change_nexthops(rt) { \ argument
173 #define endfor_nexthops(rt) } argument
/net/sunrpc/
Dtimer.c35 void rpc_init_rtt(struct rpc_rtt *rt, unsigned long timeo) in rpc_init_rtt()
61 void rpc_update_rtt(struct rpc_rtt *rt, unsigned int timer, long m) in rpc_update_rtt()
110 unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned int timer) in rpc_calc_rto()
/net/netfilter/ipvs/
Dip_vs_xmit.c127 struct rtable *rt; in do_output_route4() local
159 static inline int __ip_vs_is_local_route6(struct rt6_info *rt) in __ip_vs_is_local_route6()
314 struct rtable *rt; /* Route to the other host */ in __ip_vs_get_out_rt() local
476 struct rt6_info *rt; /* Route to the other host */ in __ip_vs_get_out_rt_v6() local
768 struct rtable *rt; /* Route to the other host */ in ip_vs_nat_xmit() local
856 struct rt6_info *rt; /* Route to the other host */ in ip_vs_nat_xmit_v6() local
1138 struct rtable *rt; /* Route to the other host */ in ip_vs_tunnel_xmit() local
1289 struct rt6_info *rt; /* Route to the other host */ in ip_vs_tunnel_xmit_v6() local
1514 struct rtable *rt; /* Route to the other host */ in ip_vs_icmp_xmit() local
1604 struct rt6_info *rt; /* Route to the other host */ in ip_vs_icmp_xmit_v6() local
/net/ipv6/netfilter/
Dnft_fib_ipv6.c62 struct rt6_info *rt; in __nft_fib6_eval_type() local
164 struct rt6_info *rt; in nft_fib6_eval() local
/net/appletalk/
Dddp.c500 struct atalk_route *rt; in atrtr_create() local
871 static int atrtr_ioctl_addrt(struct rtentry *rt) in atrtr_ioctl_addrt()
892 struct rtentry rt; in atrtr_ioctl() local
1323 struct atalk_route *rt; in atalk_route_packet() local
1581 struct atalk_route *rt, *rt_lo = NULL; in atalk_sendmsg() local
1856 struct rtentry rt; in atalk_compat_routing_ioctl() local
/net/xfrm/
Dxfrm_user.c39 struct nlattr *rt = attrs[type]; in verify_one_alg() local
65 struct nlattr *rt = attrs[XFRMA_ALG_AUTH_TRUNC]; in verify_auth_trunc() local
81 struct nlattr *rt = attrs[XFRMA_ALG_AEAD]; in verify_aead() local
98 struct nlattr *rt = attrs[type]; in verify_one_addr() local
106 struct nlattr *rt = attrs[XFRMA_SEC_CTX]; in verify_sec_ctx_len() local
123 struct nlattr *rt = attrs[XFRMA_REPLAY_ESN_VAL]; in verify_replay() local
527 struct nlattr *rt = attrs[XFRMA_REPLAY_THRESH]; in xfrm_update_ae_params() local
1611 struct nlattr *rt = attrs[XFRMA_SEC_CTX]; in copy_from_user_sec_ctx() local
1701 struct nlattr *rt = attrs[XFRMA_TMPL]; in copy_from_user_tmpl() local
1721 struct nlattr *rt = attrs[XFRMA_POLICY_TYPE]; in copy_from_user_policy_type() local
[all …]
/net/netfilter/
Dnf_conntrack_broadcast.c25 struct rtable *rt = skb_rtable(skb); in nf_conntrack_broadcast_help() local
/net/ipv4/netfilter/
Dnf_dup_ipv4.c27 struct rtable *rt; in nf_dup_ipv4_route() local
/net/bridge/
Dbr_nf_core.c74 struct rtable *rt = &br->fake_rtable; in br_netfilter_rtable_init() local

1234