Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/net/ipv4/
H 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()
1076 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic()
1128 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr()
1157 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric()
1162 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric()
1206 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
H 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()
H A Dnetfilter.c35 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
H 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()
H A Dfib_semantics.c101 [RTN_UNICAST] = {
1139 if (addr_type != RTN_UNICAST) { in fib_check_nh_v4_gw()
1188 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh_v4_gw()
1525 case RTN_UNICAST: in fib_create_info()
2092 fa->fa_type != RTN_UNICAST) in fib_select_default()
2274 res->type == RTN_UNICAST) in fib_select_path()
H A Droute.c807 if (inet_addr_type(net, new_gw) != RTN_UNICAST) in __ip_do_redirect()
2243 if (res->type != RTN_UNICAST) in ip_route_input_slow()
2691 res->type = RTN_UNICAST; in ip_route_output_key_hash_rcu()
/OK3568_Linux_fs/kernel/net/decnet/
H A Ddn_fib.c71 [RTN_UNICAST] = { .error = 0, .scope = RT_SCOPE_UNIVERSE },
208 if (dnet_addr_type(nh->nh_gw) != RTN_UNICAST) in dn_fib_check_nh()
232 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) in dn_fib_check_nh()
431 case RTN_UNICAST: in dn_fib_semantic_match()
592 if (type == RTN_UNICAST) in fib_magic()
H A Ddn_rules.c188 unsigned int ret = RTN_UNICAST; in dnet_addr_type()
H A Ddn_route.c964 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()
/OK3568_Linux_fs/kernel/net/phonet/
H 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()
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Dipt_rpfilter.c41 if (res.type != RTN_UNICAST) { in rpfilter_lookup_reverse()
H A Dnft_fib_ipv4.c128 case RTN_UNICAST: in nft_fib4_eval()
/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A Dnft_fib_ipv6.c105 return RTN_UNICAST; in __nft_fib6_eval_type()
/OK3568_Linux_fs/kernel/drivers/s390/net/
H A Dqeth_l3_main.c1597 return RTN_UNICAST; in qeth_l3_get_cast_type_rcu()
1606 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu()
1609 RTN_MULTICAST : RTN_UNICAST; in qeth_l3_get_cast_type_rcu()
1689 cast_type = RTN_UNICAST; in qeth_l3_fill_header()
H A Dqeth_core.h977 return RTN_UNICAST; in qeth_get_ether_cast_type()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Drtnetlink.h218 RTN_UNICAST, /* Gateway or direct route */ enumerator
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Drtnetlink.h218 RTN_UNICAST, /* Gateway or direct route */ enumerator
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Drtnetlink.h239 RTN_UNICAST, /* Gateway or direct route */ enumerator
/OK3568_Linux_fs/kernel/net/mpls/
H A Daf_mpls.c1856 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config()
2007 rtm->rtm_type = RTN_UNICAST; in mpls_dump_route()
2203 (filter.rt_type && filter.rt_type != RTN_UNICAST) || in mpls_dump_routes()
2489 r->rtm_type = RTN_UNICAST; in mpls_getroute()
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dudpgso.c390 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
/OK3568_Linux_fs/app/forlinx/quectelCM/libmnl/
H A Difutils.c579 rtm->rtm_type = RTN_UNICAST; in if_act_on_route()
/OK3568_Linux_fs/kernel/drivers/net/ipvlan/
H A Dipvlan_core.c435 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipvlan_process_v4_outbound()
/OK3568_Linux_fs/kernel/net/atm/
H A Dclip.c297 if (neigh->type != RTN_UNICAST) in clip_constructor()
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dipvs-sysctl.rst75 address is not local (iph->daddr is RTN_UNICAST). It is mostly
/OK3568_Linux_fs/kernel/net/ipv6/
H A Droute.c1026 [RTN_UNICAST] = 0,
3258 (res.fib6_type != RTN_UNICAST || dev != res.nh->fib_nh_dev)) { in ip6_route_check_nh_onlink()
3672 rt->fib6_type = cfg->fc_type ? : RTN_UNICAST; in ip6_route_info_create()
4197 .fc_type = RTN_UNICAST, in rt6_add_route_info()
4261 .fc_type = RTN_UNICAST, in rt6_add_dflt_router()

12