| /Linux-v5.4/net/ipv4/ |
| D | fib_frontend.c | 233 ret = RTN_UNICAST; in __inet_dev_addr_type() 386 if (res.type != RTN_UNICAST && in __fib_validate_source() 409 if (res.type == RTN_UNICAST) in __fib_validate_source() 528 cfg->fc_type = RTN_UNICAST; in rtentry_to_fib_config() 578 addr_type == RTN_UNICAST) in rtentry_to_fib_config() 1078 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic() 1128 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr() 1156 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1161 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1205 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
|
| D | ip_options.c | 144 if (inet_addr_type(net, addr) != RTN_UNICAST) { in __ip_options_echo() 400 if (inet_addr_type(net, addr) == RTN_UNICAST) in __ip_options_compile() 633 if (rt->rt_type == RTN_UNICAST) { in ip_options_rcv_srr() 653 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
|
| D | netfilter.c | 33 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
|
| D | arp.c | 665 if (*addr_type != RTN_UNICAST) in arp_is_garp() 837 if (addr_type == RTN_UNICAST && in arp_process() 881 (addr_type == RTN_UNICAST || in arp_process() 885 RTN_UNICAST))))) in arp_process()
|
| D | fib_semantics.c | 100 [RTN_UNICAST] = { 1078 if (addr_type != RTN_UNICAST) { in fib_check_nh_v4_gw() 1127 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh_v4_gw() 1463 case RTN_UNICAST: in fib_create_info() 2022 fa->fa_type != RTN_UNICAST) in fib_select_default() 2206 res->type == RTN_UNICAST) in fib_select_path()
|
| D | route.c | 777 if (inet_addr_type(net, new_gw) != RTN_UNICAST) in __ip_do_redirect() 2144 if (res->type != RTN_UNICAST) in ip_route_input_slow() 2596 res->type = RTN_UNICAST; in ip_route_output_key_hash_rcu()
|
| /Linux-v5.4/net/decnet/ |
| D | dn_fib.c | 71 [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()
|
| D | dn_rules.c | 188 unsigned int ret = RTN_UNICAST; in dnet_addr_type()
|
| D | dn_route.c | 960 struct dn_fib_res res = { .fi = NULL, .type = RTN_UNICAST }; in dn_route_output_slow() 1374 if (res.type != RTN_UNICAST) in dn_route_input_slow() 1383 case RTN_UNICAST: in dn_route_input_slow() 1466 case RTN_UNICAST: in dn_route_input_slow()
|
| /Linux-v5.4/net/phonet/ |
| D | pn_netlink.c | 178 rtm->rtm_type = RTN_UNICAST; in fill_route() 242 if (rtm->rtm_table != RT_TABLE_MAIN || rtm->rtm_type != RTN_UNICAST) in route_doit()
|
| /Linux-v5.4/net/ipv4/netfilter/ |
| D | ipt_rpfilter.c | 41 if (res.type != RTN_UNICAST) { in rpfilter_lookup_reverse()
|
| D | nft_fib_ipv4.c | 125 case RTN_UNICAST: in nft_fib4_eval()
|
| /Linux-v5.4/net/ipv6/netfilter/ |
| D | nft_fib_ipv6.c | 102 return RTN_UNICAST; in __nft_fib6_eval_type()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | rtnetlink.h | 225 RTN_UNICAST, /* Gateway or direct route */ enumerator
|
| /Linux-v5.4/drivers/s390/net/ |
| D | qeth_l3_main.c | 1886 return RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1895 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1898 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1978 cast_type = RTN_UNICAST; in qeth_l3_fill_header()
|
| D | qeth_core.h | 931 return RTN_UNICAST; in qeth_get_ether_cast_type()
|
| /Linux-v5.4/net/mpls/ |
| D | af_mpls.c | 1832 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config() 1983 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route() 2179 (filter.rt_type && filter.rt_type != RTN_UNICAST) || in mpls_dump_routes() 2465 r->rtm_type = RTN_UNICAST; in mpls_getroute()
|
| /Linux-v5.4/tools/testing/selftests/net/ |
| D | udpgso.c | 390 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
|
| /Linux-v5.4/drivers/net/ipvlan/ |
| D | ipvlan_core.c | 434 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipvlan_process_v4_outbound()
|
| /Linux-v5.4/net/atm/ |
| D | clip.c | 297 if (neigh->type != RTN_UNICAST) in clip_constructor()
|
| /Linux-v5.4/Documentation/networking/ |
| D | ipvs-sysctl.txt | 69 address is not local (iph->daddr is RTN_UNICAST). It is mostly
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_span.c | 314 if (rt->rt_type != RTN_UNICAST) in mlxsw_sp_span_gretap4_route()
|
| /Linux-v5.4/net/ipv6/ |
| D | route.c | 1037 [RTN_UNICAST] = 0, 3229 (res.fib6_type != RTN_UNICAST || dev != res.nh->fib_nh_dev)) { in ip6_route_check_nh_onlink() 3638 rt->fib6_type = cfg->fc_type ? : RTN_UNICAST; in ip6_route_info_create() 4137 .fc_type = RTN_UNICAST, in rt6_add_route_info() 4201 .fc_type = RTN_UNICAST, in rt6_add_dflt_router()
|
| D | ndisc.c | 339 neigh->type = is_multicast ? RTN_MULTICAST : RTN_UNICAST; in ndisc_constructor()
|
| /Linux-v5.4/drivers/net/ |
| D | vrf.c | 742 rth = rt_dst_alloc(dev, 0, RTN_UNICAST, 1, 1, 0); in vrf_rtable_create()
|