Home
last modified time | relevance | path

Searched refs:RTN_LOCAL (Results 1 – 25 of 34) sorted by relevance

12

/OK3568_Linux_fs/kernel/net/decnet/
H A Ddn_fib.c72 [RTN_LOCAL] = { .error = 0, .scope = RT_SCOPE_HOST },
232 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) in dn_fib_check_nh()
378 if (r->rtm_type != RTN_LOCAL || !attrs[RTA_DST] || in dn_fib_create_info()
380 if (dnet_addr_type(fi->fib_prefsrc) != RTN_LOCAL) in dn_fib_create_info()
432 case RTN_LOCAL: in dn_fib_semantic_match()
609 req.rtm.rtm_scope = (type != RTN_LOCAL ? RT_SCOPE_LINK : RT_SCOPE_HOST); in fib_magic()
621 fib_magic(RTM_NEWROUTE, RTN_LOCAL, ifa->ifa_local, 16, ifa); in dn_fib_add_ifaddr()
658 fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 16, ifa); in dn_fib_del_ifaddr()
660 if (dnet_addr_type(ifa->ifa_local) != RTN_LOCAL) { in dn_fib_del_ifaddr()
H A Ddn_route.c1041 res.type = RTN_LOCAL; in dn_route_output_slow()
1087 res.type = RTN_LOCAL; in dn_route_output_slow()
1111 res.type = RTN_LOCAL; in dn_route_output_slow()
1126 res.type == RTN_LOCAL ? in dn_route_output_slow()
1129 if (fld.saddr == 0 && res.type != RTN_LOCAL) in dn_route_output_slow()
1140 if (res.type == RTN_LOCAL) { in dn_route_output_slow()
1355 res.type = RTN_LOCAL; in dn_route_input_slow()
1414 case RTN_LOCAL: in dn_route_input_slow()
1473 case RTN_LOCAL: in dn_route_input_slow()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dfib_frontend.c381 (res.type != RTN_LOCAL || !IN_DEV_ACCEPT_LOCAL(idev))) in __fib_validate_source()
389 dev_match = dev_match || (res.type == RTN_LOCAL && in __fib_validate_source()
890 if (!err && cfg.fc_type == RTN_LOCAL) in inet_rtm_newroute()
1084 if (type != RTN_LOCAL) in fib_magic()
1112 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim, 0); in fib_add_ifaddr()
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()
1305 fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 32, prim, 0); in fib_del_ifaddr()
[all …]
H A Dip_options.c621 if (rt->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
635 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
641 if (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.c352 ip_hdr(skb)->saddr) == RTN_LOCAL) in arp_solicit()
360 saddr) == RTN_LOCAL) { in arp_solicit()
808 inet_addr_type_dev_table(net, dev, tip) == RTN_LOCAL && in arp_process()
821 if (addr_type == RTN_LOCAL) { in arp_process()
H A Dfib_semantics.c105 [RTN_LOCAL] = {
1188 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh_v4_gw()
1376 if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst || in fib_valid_prefsrc()
1387 if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) { in fib_valid_prefsrc()
1392 if (rc != RTN_LOCAL) in fib_valid_prefsrc()
1526 case RTN_LOCAL: in fib_create_info()
H A Dping.c323 chk_addr_ret = RTN_LOCAL; in ping_check_bind_addr()
330 chk_addr_ret != RTN_LOCAL) || in ping_check_bind_addr()
H A Droute.c2091 if (rt->rt_type != RTN_LOCAL) in ip_route_use_hint()
2231 if (res->type == RTN_LOCAL) { in ip_route_input_slow()
2460 } else if ((type == RTN_LOCAL) && (orig_oif != 0) && in __mkroute_output()
2658 res->type = RTN_LOCAL; in ip_route_output_key_hash_rcu()
2698 if (res->type == RTN_LOCAL) { in ip_route_output_key_hash_rcu()
H A Dip_fragment.c186 (skb_rtable(head)->rt_type != RTN_LOCAL)) in ip_expire()
H A Dicmp.c531 fl4_dec.saddr) == RTN_LOCAL) { in icmp_route_lookup()
H A Draw.c736 if (addr->sin_addr.s_addr && chk_addr_ret != RTN_LOCAL && in raw_bind()
/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A Dnft_fib_ipv6.c77 ret = RTN_LOCAL; in __nft_fib6_eval_type()
93 ret = RTN_LOCAL; in __nft_fib6_eval_type()
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Dipt_rpfilter.c42 if (res.type != RTN_LOCAL || !(flags & XT_RPFILTER_ACCEPT_LOCAL)) in rpfilter_lookup_reverse()
H A Dnft_fib_ipv4.c130 case RTN_LOCAL: /* Should not see RTN_LOCAL here */ in nft_fib4_eval()
/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.h219 RTN_LOCAL, /* Accept locally */ 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.h219 RTN_LOCAL, /* Accept locally */ enumerator
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Drtnetlink.h240 RTN_LOCAL, /* Accept locally */ enumerator
/OK3568_Linux_fs/kernel/net/l2tp/
H A Dl2tp_ip.c270 if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL && in l2tp_ip_bind()
/OK3568_Linux_fs/kernel/net/rds/
H A Dtcp.c325 if (inet_addr_type(net, addr->s6_addr32[3]) == RTN_LOCAL) in rds_tcp_laddr_check()
/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/dccp/
H A Dipv4.c524 if (skb_rtable(rxskb)->rt_type != RTN_LOCAL) in dccp_v4_ctl_send_reset()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Daf_inet6.c342 chk_addr_ret != RTN_LOCAL && in __inet6_bind()
H A Droute.c1027 [RTN_LOCAL] = 0,
1090 if (res->fib6_type == RTN_LOCAL || res->fib6_type == RTN_ANYCAST) { in ip6_rt_init_dst()
4434 cfg.fc_type = RTN_LOCAL; in addrconf_f6i_alloc()
4899 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
/OK3568_Linux_fs/kernel/net/sctp/
H A Dprotocol.c359 ret != RTN_LOCAL && in sctp_v4_available()

12