Home
last modified time | relevance | path

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

12

/linux/net/ipv4/
A Dfib_frontend.c223 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 Dip_options.c144 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 Dnetfilter.c36 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
A Darp.c667 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 Dfib_semantics.c100 [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 Droute.c768 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 Ddn_fib.c71 [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 Ddn_rules.c188 unsigned int ret = RTN_UNICAST; in dnet_addr_type()
A Ddn_route.c968 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 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/net/mctp/
A Droute.c921 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 Dneigh.c227 hdr->ndm_type = RTN_UNICAST; // TODO: is loopback RTN_LOCAL? in mctp_fill_neigh()
/linux/net/ipv4/netfilter/
A Dipt_rpfilter.c41 if (res.type != RTN_UNICAST) { in rpfilter_lookup_reverse()
A Dnft_fib_ipv4.c125 case RTN_UNICAST: in nft_fib4_eval()
/linux/net/ipv6/netfilter/
A Dnft_fib_ipv6.c102 return RTN_UNICAST; in __nft_fib6_eval_type()
/linux/drivers/s390/net/
A Dqeth_l3_main.c1577 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 Dqeth_core.h953 return RTN_UNICAST; in qeth_get_ether_cast_type()
/linux/include/uapi/linux/
A Drtnetlink.h246 RTN_UNICAST, /* Gateway or direct route */ enumerator
/linux/net/mpls/
A Daf_mpls.c1852 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 Dudpgso.c390 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
/linux/drivers/net/ipvlan/
A Dipvlan_core.c435 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipvlan_process_v4_outbound()
/linux/net/atm/
A Dclip.c297 if (neigh->type != RTN_UNICAST) in clip_constructor()
/linux/Documentation/networking/
A Dipvs-sysctl.rst75 address is not local (iph->daddr is RTN_UNICAST). It is mostly
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_tun.c135 if (rt->rt_type != RTN_UNICAST) { in mlx5e_route_lookup_ipv4_get()
/linux/net/ipv6/
A Droute.c1028 [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()

Completed in 63 milliseconds

12