Home
last modified time | relevance | path

Searched refs:RTN_UNICAST (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v4.19/net/ipv4/
Dfib_frontend.c235 ret = RTN_UNICAST; in __inet_dev_addr_type()
360 if (res.type != RTN_UNICAST && in __fib_validate_source()
394 if (res.type == RTN_UNICAST) in __fib_validate_source()
513 cfg->fc_type = RTN_UNICAST; in rtentry_to_fib_config()
554 addr_type == RTN_UNICAST) in rtentry_to_fib_config()
872 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic()
922 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr()
950 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric()
955 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric()
999 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
Dip_options.c144 if (inet_addr_type(net, addr) != RTN_UNICAST) { in __ip_options_echo()
399 if (inet_addr_type(net, addr) == RTN_UNICAST) in ip_options_compile()
620 if (rt->rt_type == RTN_UNICAST) { in ip_options_rcv_srr()
640 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
Dnetfilter.c33 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
Dfib_semantics.c98 [RTN_UNICAST] = {
808 if (addr_type != RTN_UNICAST) { in fib_check_nh()
859 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh()
1185 case RTN_UNICAST: in fib_create_info()
1628 fa->fa_type != RTN_UNICAST) in fib_select_default()
1796 res->type == RTN_UNICAST) in fib_select_path()
Darp.c669 if (*addr_type != RTN_UNICAST) in arp_is_garp()
841 if (addr_type == RTN_UNICAST && in arp_process()
885 (addr_type == RTN_UNICAST || in arp_process()
889 RTN_UNICAST))))) in arp_process()
Droute.c767 if (inet_addr_type(net, new_gw) != RTN_UNICAST) in __ip_do_redirect()
2018 if (res->type != RTN_UNICAST) in ip_route_input_slow()
2467 res->type = RTN_UNICAST; in ip_route_output_key_hash_rcu()
/Linux-v4.19/net/decnet/
Ddn_fib.c71 [RTN_UNICAST] = { .error = 0, .scope = RT_SCOPE_UNIVERSE },
208 if (dnet_addr_type(nh->nh_gw) != RTN_UNICAST) in dn_fib_check_nh()
232 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) in dn_fib_check_nh()
431 case RTN_UNICAST: in dn_fib_semantic_match()
592 if (type == RTN_UNICAST) in fib_magic()
Ddn_rules.c188 unsigned int ret = RTN_UNICAST; in dnet_addr_type()
Ddn_route.c968 struct dn_fib_res res = { .fi = NULL, .type = RTN_UNICAST }; in dn_route_output_slow()
1382 if (res.type != RTN_UNICAST) in dn_route_input_slow()
1391 case RTN_UNICAST: in dn_route_input_slow()
1474 case RTN_UNICAST: in dn_route_input_slow()
/Linux-v4.19/net/phonet/
Dpn_netlink.c191 rtm->rtm_type = RTN_UNICAST; in fill_route()
255 if (rtm->rtm_table != RT_TABLE_MAIN || rtm->rtm_type != RTN_UNICAST) in route_doit()
/Linux-v4.19/net/ipv4/netfilter/
Dipt_rpfilter.c45 if (res.type != RTN_UNICAST) { in rpfilter_lookup_reverse()
Dnft_fib_ipv4.c139 case RTN_UNICAST: in nft_fib4_eval()
/Linux-v4.19/net/ipv6/netfilter/
Dnft_fib_ipv6.c111 return RTN_UNICAST; in __nft_fib6_eval_type()
/Linux-v4.19/include/uapi/linux/
Drtnetlink.h218 RTN_UNICAST, /* Gateway or direct route */ enumerator
/Linux-v4.19/tools/testing/selftests/net/
Dudpgso.c399 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
/Linux-v4.19/drivers/s390/net/
Dqeth_l3_main.c1981 return RTN_UNICAST; in qeth_l3_get_cast_type()
1988 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type()
1991 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type()
2000 return RTN_UNICAST; in qeth_l3_get_cast_type()
Dqeth_core.h941 if (IS_IQD(card) && cast_type != RTN_UNICAST) in qeth_get_tx_queue()
Dqeth_l2_main.c188 return RTN_UNICAST; in qeth_l2_get_cast_type()
193 return RTN_UNICAST; in qeth_l2_get_cast_type()
/Linux-v4.19/net/mpls/
Daf_mpls.c1779 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config()
1927 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
2242 r->rtm_type = RTN_UNICAST; in mpls_getroute()
/Linux-v4.19/drivers/net/ipvlan/
Dipvlan_core.c440 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipvlan_process_v4_outbound()
/Linux-v4.19/Documentation/networking/
Dipvs-sysctl.txt69 address is not local (iph->daddr is RTN_UNICAST). It is mostly
/Linux-v4.19/net/atm/
Dclip.c296 if (neigh->type != RTN_UNICAST) in clip_constructor()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c314 if (rt->rt_type != RTN_UNICAST) in mlxsw_sp_span_gretap4_route()
/Linux-v4.19/drivers/net/
Dvrf.c736 rth = rt_dst_alloc(dev, 0, RTN_UNICAST, 1, 1, 0); in vrf_rtable_create()
/Linux-v4.19/net/ipv6/
Droute.c896 [RTN_UNICAST] = 0,
3515 .fc_type = RTN_UNICAST, in rt6_add_route_info()
3572 .fc_type = RTN_UNICAST, in rt6_add_dflt_router()

12