/linux/net/ipv4/ |
A D | fib_frontend.c | 223 ret = RTN_UNICAST; in __inet_dev_addr_type() 380 if (res.type != RTN_UNICAST && in __fib_validate_source() 403 if (res.type == RTN_UNICAST) in __fib_validate_source() 522 cfg->fc_type = RTN_UNICAST; in rtentry_to_fib_config() 572 addr_type == RTN_UNICAST) in rtentry_to_fib_config() 1073 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic() 1123 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr() 1149 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1154 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1198 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
|
A 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() 615 if (rt->rt_type == RTN_UNICAST) { in ip_options_rcv_srr() 635 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
|
A D | netfilter.c | 36 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
|
A D | arp.c | 667 if (*addr_type != RTN_UNICAST) in arp_is_garp() 839 if (addr_type == RTN_UNICAST && in arp_process() 883 (addr_type == RTN_UNICAST || in arp_process() 887 RTN_UNICAST))))) in arp_process()
|
A D | fib_semantics.c | 100 [RTN_UNICAST] = { 1123 if (addr_type != RTN_UNICAST) { in fib_check_nh_v4_gw() 1172 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh_v4_gw() 1508 case RTN_UNICAST: in fib_create_info() 2080 fa->fa_type != RTN_UNICAST) in fib_select_default() 2264 res->type == RTN_UNICAST) in fib_select_path()
|
A D | route.c | 768 if (inet_addr_type(net, new_gw) != RTN_UNICAST) in __ip_do_redirect() 2306 if (res->type != RTN_UNICAST) in ip_route_input_slow() 2757 res->type = RTN_UNICAST; in ip_route_output_key_hash_rcu()
|
/linux/net/decnet/ |
A D | dn_fib.c | 71 [RTN_UNICAST] = { .error = 0, .scope = RT_SCOPE_UNIVERSE }, 207 if (dnet_addr_type(nh->nh_gw) != RTN_UNICAST) in dn_fib_check_nh() 231 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) in dn_fib_check_nh() 430 case RTN_UNICAST: in dn_fib_semantic_match() 591 if (type == RTN_UNICAST) in fib_magic()
|
A D | dn_rules.c | 188 unsigned int ret = RTN_UNICAST; in dnet_addr_type()
|
A D | dn_route.c | 968 struct dn_fib_res res = { .fi = NULL, .type = RTN_UNICAST }; in dn_route_output_slow() 1378 if (res.type != RTN_UNICAST) in dn_route_input_slow() 1387 case RTN_UNICAST: in dn_route_input_slow() 1470 case RTN_UNICAST: in dn_route_input_slow()
|
/linux/net/phonet/ |
A 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/net/mctp/ |
A D | route.c | 921 case RTN_UNICAST: in mctp_route_add() 1158 if (rtm->rtm_type != RTN_UNICAST) { in mctp_newroute() 1173 if (rtm->rtm_type != RTN_UNICAST) in mctp_newroute() 1196 if (rtm->rtm_type != RTN_UNICAST) in mctp_delroute() 1199 rc = mctp_route_remove(mdev, daddr_start, rtm->rtm_dst_len, RTN_UNICAST); in mctp_delroute()
|
A D | neigh.c | 227 hdr->ndm_type = RTN_UNICAST; // TODO: is loopback RTN_LOCAL? in mctp_fill_neigh()
|
/linux/net/ipv4/netfilter/ |
A D | ipt_rpfilter.c | 41 if (res.type != RTN_UNICAST) { in rpfilter_lookup_reverse()
|
A D | nft_fib_ipv4.c | 125 case RTN_UNICAST: in nft_fib4_eval()
|
/linux/net/ipv6/netfilter/ |
A D | nft_fib_ipv6.c | 102 return RTN_UNICAST; in __nft_fib6_eval_type()
|
/linux/drivers/s390/net/ |
A D | qeth_l3_main.c | 1577 return RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1586 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1589 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1591 return RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1662 cast_type = RTN_UNICAST; in qeth_l3_fill_header()
|
A D | qeth_core.h | 953 return RTN_UNICAST; in qeth_get_ether_cast_type()
|
/linux/include/uapi/linux/ |
A D | rtnetlink.h | 246 RTN_UNICAST, /* Gateway or direct route */ enumerator
|
/linux/net/mpls/ |
A D | af_mpls.c | 1852 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config() 2003 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route() 2195 (filter.rt_type && filter.rt_type != RTN_UNICAST) || in mpls_dump_routes() 2481 r->rtm_type = RTN_UNICAST; in mpls_getroute()
|
/linux/tools/testing/selftests/net/ |
A D | udpgso.c | 390 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
|
/linux/drivers/net/ipvlan/ |
A D | ipvlan_core.c | 435 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipvlan_process_v4_outbound()
|
/linux/net/atm/ |
A D | clip.c | 297 if (neigh->type != RTN_UNICAST) in clip_constructor()
|
/linux/Documentation/networking/ |
A D | ipvs-sysctl.rst | 75 address is not local (iph->daddr is RTN_UNICAST). It is mostly
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | tc_tun.c | 135 if (rt->rt_type != RTN_UNICAST) { in mlx5e_route_lookup_ipv4_get()
|
/linux/net/ipv6/ |
A D | route.c | 1028 [RTN_UNICAST] = 0, 3369 (res.fib6_type != RTN_UNICAST || dev != res.nh->fib_nh_dev)) { in ip6_route_check_nh_onlink() 3801 rt->fib6_type = cfg->fc_type ? : RTN_UNICAST; in ip6_route_info_create() 4326 .fc_type = RTN_UNICAST, in rt6_add_route_info() 4391 .fc_type = RTN_UNICAST, in rt6_add_dflt_router()
|