Home
last modified time | relevance | path

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

12

/linux/net/ipv4/
H A Dip_options.c131 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 Dfib_frontend.c245 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 Darp.c692 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 Dfib_semantics.c93 [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 Droute.c814 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 Dfib_trie.c2744 [RTN_UNICAST] = "UNICAST",
/linux/net/phonet/
H A 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/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c182 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 Dqeth_l3_main.c1586 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 Dqeth_core.h950 return RTN_UNICAST; in qeth_get_ether_cast_type()
/linux/net/mctp/
H A Dneigh.c228 hdr->ndm_type = RTN_UNICAST; // TODO: is loopback RTN_LOCAL? in mctp_fill_neigh()
H A Droute.c1228 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 Dnetlink.c267 req.rt.rtm_type = RTN_UNICAST; in __ip_route_add()
/linux/tools/include/uapi/linux/
H A Drtnetlink.h263 RTN_UNICAST, /* Gateway or direct route */ enumerator
/linux/include/uapi/linux/
H A Drtnetlink.h263 RTN_UNICAST, /* Gateway or direct route */ enumerator
/linux/net/mpls/
H A Daf_mpls.c1900 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 Droute.c1085 [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 Dndisc.c343 neigh->type = is_multicast ? RTN_MULTICAST : RTN_UNICAST; in ndisc_constructor()
H A Dsit.c947 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 Dipsec.c336 if (rt->rt_type != RTN_UNICAST) { in mlx5e_ipsec_init_macs()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_span.c432 if (rt->rt_type != RTN_UNICAST) in mlxsw_sp_span_gretap4_route()
/linux/drivers/net/
H A Dvrf.c978 rth = rt_dst_alloc(dev, 0, RTN_UNICAST, 1); in vrf_rtable_create()
/linux/tools/testing/selftests/net/
H A Dipsec.c447 req.rt.rtm_type = RTN_UNICAST; in ip4_route_set()
/linux/net/netfilter/ipvs/
H A Dip_vs_core.c754 return (inet_addr_type(net, addr->ip) == RTN_UNICAST); in ip_vs_addr_is_unicast()
/linux/net/core/
H A Dfilter.c2402 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()

12