Home
last modified time | relevance | path

Searched refs:rt_type (Results 1 – 17 of 17) sorted by relevance

/net/ipv4/
Dip_input.c389 if (rt->rt_type == RTN_MULTICAST) { in ip_rcv_finish_core()
391 } else if (rt->rt_type == RTN_BROADCAST) { in ip_rcv_finish_core()
582 struct sk_buff *skb, int rt_type) in ip_extract_route_hint() argument
584 if (fib4_has_custom_rules(net) || rt_type == RTN_BROADCAST || in ip_extract_route_hint()
616 ((struct rtable *)dst)->rt_type); in ip_list_rcv_finish()
Dip_options.c615 if (rt->rt_type == RTN_UNICAST) { in ip_options_rcv_srr()
621 if (rt->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
635 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
641 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
Dxfrm4_policy.c87 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
Dipmr_base.c363 (filter->rt_type && filter->rt_type != RTN_MULTICAST)) in mr_rtm_dumproute()
Droute.c1643 rt->rt_type = type; in rt_dst_alloc()
1672 new_rt->rt_type = rt->rt_type; in rt_dst_clone()
2187 if (rt->rt_type != RTN_LOCAL) in ip_route_use_hint()
2866 rt->rt_type = ort->rt_type; in ipv4_blackhole_route()
2973 r->rtm_type = rt->rt_type; in rt_fill_info()
3416 fri.type = rt->rt_type; in inet_rtm_getroute()
Dip_output.c203 if (rt->rt_type == RTN_MULTICAST) { in ip_finish_output2()
205 } else if (rt->rt_type == RTN_BROADCAST) in ip_finish_output2()
1528 else if (rt->rt_type == RTN_MULTICAST) in __ip_make_skb()
Dfib_frontend.c933 filter->rt_type = rtm->rtm_type; in ip_valid_fib_dump_req()
963 if (filter->flags || filter->protocol || filter->rt_type || in ip_valid_fib_dump_req()
Dip_fragment.c186 (skb_rtable(head)->rt_type != RTN_LOCAL)) in ip_expire()
Dfib_trie.c2288 if (filter->rt_type && fa->fa_type != filter->rt_type) in fn_trie_dump_leaf()
Darp.c819 addr_type = rt->rt_type; in arp_process()
Dtcp_ipv4.c694 if (!sk && skb_rtable(skb)->rt_type != RTN_LOCAL) in tcp_v4_send_reset()
/net/ipv6/netfilter/
Dip6t_rt.c70 ((rtinfo->rt_type == rh->type) ^ in rt_mt6()
162 (rtinfo->rt_type != 0) || in rt_mt6_check()
/net/dccp/
Dipv4.c532 if (skb_rtable(rxskb)->rt_type != RTN_LOCAL) in dccp_v4_ctl_send_reset()
/net/mpls/
Daf_mpls.c2208 (filter.rt_type && filter.rt_type != RTN_UNICAST) || in mpls_dump_routes()
/net/ipv6/
Dsit.c957 if (rt->rt_type != RTN_UNICAST) { in ipip6_tunnel_xmit()
Droute.c5893 ((filter->rt_type && rt->fib6_type != filter->rt_type) || in rt6_dump_route()
/net/core/
Dfilter.c2350 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in __bpf_redirect_neigh_v4()