| /linux/net/ipv4/ |
| H A D | ip_options.c | 131 if (inet_addr_type(net, addr) != RTN_UNICAST) { in __ip_options_echo() 387 if (inet_addr_type(net, addr) == RTN_UNICAST) in __ip_options_compile() 606 if (rt->rt_type == RTN_UNICAST) { in ip_options_rcv_srr() 626 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
|
| H A D | fib_frontend.c | 245 ret = RTN_UNICAST; in __inet_dev_addr_type() 402 if (res.type != RTN_UNICAST) { in __fib_validate_source() 431 if (res.type == RTN_UNICAST) in __fib_validate_source() 554 cfg->fc_type = RTN_UNICAST; in rtentry_to_fib_config() 602 addr_type == RTN_UNICAST) in rtentry_to_fib_config() 1133 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic() 1185 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr() 1212 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1217 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1261 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
|
| H A D | arp.c | 692 if (*addr_type != RTN_UNICAST) in arp_is_garp() 864 if (addr_type == RTN_UNICAST && in arp_process() 908 (addr_type == RTN_UNICAST || in arp_process() 912 RTN_UNICAST))))) in arp_process()
|
| H A D | fib_semantics.c | 93 [RTN_UNICAST] = { 1198 if (addr_type != RTN_UNICAST) { in fib_check_nh_v4_gw() 1247 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh_v4_gw() 1487 case RTN_UNICAST: in fib_create_info() 2046 fa->fa_type != RTN_UNICAST) in fib_select_default() 2253 res->type == RTN_UNICAST) in fib_select_path()
|
| H A D | route.c | 814 if (inet_addr_type(net, new_gw) != RTN_UNICAST) in __ip_do_redirect() 2416 if (res->type != RTN_UNICAST) { in ip_route_input_slow() 2872 res->type = RTN_UNICAST; in ip_route_output_key_hash_rcu()
|
| H A D | fib_trie.c | 2744 [RTN_UNICAST] = "UNICAST",
|
| /linux/net/phonet/ |
| H A D | pn_netlink.c | 191 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/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 182 if (fi->fib_type != RTN_UNICAST) in prestera_fi_is_direct() 190 if (fi->fib_type != RTN_UNICAST) in prestera_fi_is_nh() 206 if (fi->fib6_type != RTN_UNICAST) in prestera_fi6_is_direct() 214 if (fi->fib6_type != RTN_UNICAST) in prestera_fi6_is_nh() 866 case RTN_UNICAST: in __prestera_pr_k_arb_fc_lpm_info_calc()
|
| /linux/drivers/s390/net/ |
| H A D | qeth_l3_main.c | 1586 return RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1595 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1598 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1600 return RTN_UNICAST; in qeth_l3_get_cast_type_rcu() 1671 cast_type = RTN_UNICAST; in qeth_l3_fill_header()
|
| H A D | qeth_core.h | 950 return RTN_UNICAST; in qeth_get_ether_cast_type()
|
| /linux/net/mctp/ |
| H A D | neigh.c | 228 hdr->ndm_type = RTN_UNICAST; // TODO: is loopback RTN_LOCAL? in mctp_fill_neigh()
|
| H A D | route.c | 1228 case RTN_UNICAST: in mctp_route_add() 1494 if ((*rtm)->rtm_type != RTN_UNICAST) { in mctp_route_nlparse_common() 1641 if (type != RTN_UNICAST) in mctp_delroute()
|
| /linux/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | netlink.c | 267 req.rt.rtm_type = RTN_UNICAST; in __ip_route_add()
|
| /linux/tools/include/uapi/linux/ |
| H A D | rtnetlink.h | 263 RTN_UNICAST, /* Gateway or direct route */ enumerator
|
| /linux/include/uapi/linux/ |
| H A D | rtnetlink.h | 263 RTN_UNICAST, /* Gateway or direct route */ enumerator
|
| /linux/net/mpls/ |
| H A D | af_mpls.c | 1900 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config() 2057 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route() 2251 (filter.rt_type && filter.rt_type != RTN_UNICAST) || in mpls_dump_routes() 2546 r->rtm_type = RTN_UNICAST; in mpls_getroute()
|
| /linux/net/ipv6/ |
| H A D | route.c | 1085 [RTN_UNICAST] = 0, 3441 res.fib6_type != RTN_UNICAST) { in ip6_route_check_nh_onlink() 3865 rt->fib6_type = cfg->fc_type ? : RTN_UNICAST; in ip6_route_info_create() 4447 .fc_type = RTN_UNICAST, in rt6_add_route_info() 4513 .fc_type = RTN_UNICAST, in rt6_add_dflt_router()
|
| H A D | ndisc.c | 343 neigh->type = is_multicast ? RTN_MULTICAST : RTN_UNICAST; in ndisc_constructor()
|
| H A D | sit.c | 947 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipip6_tunnel_xmit()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec.c | 336 if (rt->rt_type != RTN_UNICAST) { in mlx5e_ipsec_init_macs()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_span.c | 432 if (rt->rt_type != RTN_UNICAST) in mlxsw_sp_span_gretap4_route()
|
| /linux/drivers/net/ |
| H A D | vrf.c | 978 rth = rt_dst_alloc(dev, 0, RTN_UNICAST, 1); in vrf_rtable_create()
|
| /linux/tools/testing/selftests/net/ |
| H A D | ipsec.c | 447 req.rt.rtm_type = RTN_UNICAST; in ip4_route_set()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_core.c | 754 return (inet_addr_type(net, addr->ip) == RTN_UNICAST); in ip_vs_addr_is_unicast()
|
| /linux/net/core/ |
| H A D | filter.c | 2402 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in __bpf_redirect_neigh_v4() 6441 if (res.type != RTN_UNICAST) in bpf_ipv4_fib_lookup() 6594 case RTN_UNICAST: in bpf_ipv6_fib_lookup()
|