Home
last modified time | relevance | path

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

12

/linux-6.12.1/net/ipv4/
Dfib_frontend.c224 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()
525 cfg->fc_type = RTN_UNICAST; in rtentry_to_fib_config()
575 addr_type == RTN_UNICAST) in rtentry_to_fib_config()
1090 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic()
1142 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr()
1169 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric()
1174 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric()
1218 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
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()
602 if (rt->rt_type == RTN_UNICAST) { in ip_options_rcv_srr()
622 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
Dnetfilter.c37 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
Darp.c689 if (*addr_type != RTN_UNICAST) in arp_is_garp()
861 if (addr_type == RTN_UNICAST && in arp_process()
905 (addr_type == RTN_UNICAST || in arp_process()
909 RTN_UNICAST))))) in arp_process()
Dfib_semantics.c104 [RTN_UNICAST] = {
1143 if (addr_type != RTN_UNICAST) { in fib_check_nh_v4_gw()
1192 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh_v4_gw()
1510 case RTN_UNICAST: in fib_create_info()
2084 fa->fa_type != RTN_UNICAST) in fib_select_default()
2266 res->type == RTN_UNICAST) in fib_select_path()
Droute.c768 if (inet_addr_type(net, new_gw) != RTN_UNICAST) in __ip_do_redirect()
2313 if (res->type != RTN_UNICAST) in ip_route_input_slow()
2761 res->type = RTN_UNICAST; in ip_route_output_key_hash_rcu()
/linux-6.12.1/net/phonet/
Dpn_netlink.c178 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-6.12.1/net/ipv4/netfilter/
Dipt_rpfilter.c41 if (res.type != RTN_UNICAST) { in rpfilter_lookup_reverse()
Dnft_fib_ipv4.c130 case RTN_UNICAST: in nft_fib4_eval()
/linux-6.12.1/drivers/net/ethernet/marvell/prestera/
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-6.12.1/net/mctp/
Droute.c1070 case RTN_UNICAST: in mctp_route_add()
1320 if (rtm->rtm_type != RTN_UNICAST) { in mctp_newroute()
1355 if (rtm->rtm_type != RTN_UNICAST) in mctp_delroute()
1358 rc = mctp_route_remove(mdev, daddr_start, rtm->rtm_dst_len, RTN_UNICAST); in mctp_delroute()
Dneigh.c227 hdr->ndm_type = RTN_UNICAST; // TODO: is loopback RTN_LOCAL? in mctp_fill_neigh()
/linux-6.12.1/net/ipv6/netfilter/
Dnft_fib_ipv6.c109 return RTN_UNICAST; in __nft_fib6_eval_type()
/linux-6.12.1/drivers/s390/net/
Dqeth_l3_main.c1581 return RTN_UNICAST; in qeth_l3_get_cast_type_rcu()
1590 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu()
1593 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu()
1595 return RTN_UNICAST; in qeth_l3_get_cast_type_rcu()
1666 cast_type = RTN_UNICAST; in qeth_l3_fill_header()
Dqeth_core.h950 return RTN_UNICAST; in qeth_get_ether_cast_type()
/linux-6.12.1/include/uapi/linux/
Drtnetlink.h255 RTN_UNICAST, /* Gateway or direct route */ enumerator
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dnetlink.c267 req.rt.rtm_type = RTN_UNICAST; in __ip_route_add()
/linux-6.12.1/net/mpls/
Daf_mpls.c1839 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config()
1990 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
2184 (filter.rt_type && filter.rt_type != RTN_UNICAST) || in mpls_dump_routes()
2469 r->rtm_type = RTN_UNICAST; in mpls_getroute()
/linux-6.12.1/drivers/net/ipvlan/
Dipvlan_core.c436 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipvlan_process_v4_outbound()
/linux-6.12.1/net/atm/
Dclip.c297 if (neigh->type != RTN_UNICAST) in clip_constructor()
/linux-6.12.1/Documentation/networking/
Dipvs-sysctl.rst75 address is not local (iph->daddr is RTN_UNICAST). It is mostly
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c136 if (rt->rt_type != RTN_UNICAST) { in mlx5e_route_lookup_ipv4_get()
/linux-6.12.1/net/ipv6/
Droute.c1043 [RTN_UNICAST] = 0,
3366 (res.fib6_type != RTN_UNICAST || dev != res.nh->fib_nh_dev)) { in ip6_route_check_nh_onlink()
3787 rt->fib6_type = cfg->fc_type ? : RTN_UNICAST; in ip6_route_info_create()
4313 .fc_type = RTN_UNICAST, in rt6_add_route_info()
4379 .fc_type = RTN_UNICAST, in rt6_add_dflt_router()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c433 if (rt->rt_type != RTN_UNICAST) in mlxsw_sp_span_gretap4_route()
/linux-6.12.1/drivers/net/
Dvrf.c1050 rth = rt_dst_alloc(dev, 0, RTN_UNICAST, 1); in vrf_rtable_create()

12