/Linux-v4.19/net/decnet/ |
D | dn_fib.c | 72 [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()
|
D | dn_route.c | 1045 res.type = RTN_LOCAL; in dn_route_output_slow() 1091 res.type = RTN_LOCAL; in dn_route_output_slow() 1115 res.type = RTN_LOCAL; in dn_route_output_slow() 1130 res.type == RTN_LOCAL ? in dn_route_output_slow() 1133 if (fld.saddr == 0 && res.type != RTN_LOCAL) in dn_route_output_slow() 1144 if (res.type == RTN_LOCAL) { in dn_route_output_slow() 1359 res.type = RTN_LOCAL; in dn_route_input_slow() 1418 case RTN_LOCAL: in dn_route_input_slow() 1477 case RTN_LOCAL: in dn_route_input_slow()
|
/Linux-v4.19/net/ipv4/ |
D | fib_frontend.c | 361 (res.type != RTN_LOCAL || !IN_DEV_ACCEPT_LOCAL(idev))) in __fib_validate_source() 789 if (!err && cfg.fc_type == RTN_LOCAL) in inet_rtm_newroute() 880 if (type != RTN_LOCAL) in fib_magic() 908 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim, 0); in fib_add_ifaddr() 922 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr() 950 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 955 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 999 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr() 1097 fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 32, prim, 0); in fib_del_ifaddr() 1102 if (gone && addr_type != RTN_LOCAL) { in fib_del_ifaddr()
|
D | netfilter.c | 33 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
|
D | ip_options.c | 626 if (rt->rt_type != RTN_LOCAL) in ip_options_rcv_srr() 640 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr() 646 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
|
D | fib_semantics.c | 102 [RTN_LOCAL] = { 859 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh() 999 if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst || in fib_valid_prefsrc() 1010 if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) { in fib_valid_prefsrc() 1015 if (rc != RTN_LOCAL) in fib_valid_prefsrc() 1186 case RTN_LOCAL: in fib_create_info()
|
D | arp.c | 354 ip_hdr(skb)->saddr) == RTN_LOCAL) in arp_solicit() 362 saddr) == RTN_LOCAL) { in arp_solicit() 810 inet_addr_type_dev_table(net, dev, tip) == RTN_LOCAL && in arp_process() 823 if (addr_type == RTN_LOCAL) { in arp_process()
|
D | ping.c | 321 chk_addr_ret = RTN_LOCAL; in ping_check_bind_addr() 324 chk_addr_ret != RTN_LOCAL) || in ping_check_bind_addr()
|
D | route.c | 2006 if (res->type == RTN_LOCAL) { in ip_route_input_slow() 2235 } else if ((type == RTN_LOCAL) && (orig_oif != 0) && in __mkroute_output() 2434 res->type = RTN_LOCAL; in ip_route_output_key_hash_rcu() 2474 if (res->type == RTN_LOCAL) { in ip_route_output_key_hash_rcu()
|
D | icmp.c | 511 fl4_dec.saddr) == RTN_LOCAL) { in icmp_route_lookup()
|
D | ip_fragment.c | 252 (skb_rtable(head)->rt_type != RTN_LOCAL)) in ip_expire()
|
D | raw.c | 739 if (addr->sin_addr.s_addr && chk_addr_ret != RTN_LOCAL && in raw_bind()
|
D | af_inet.c | 491 chk_addr_ret != RTN_LOCAL && in __inet_bind()
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | nft_fib_ipv6.c | 83 ret = RTN_LOCAL; in __nft_fib6_eval_type() 99 ret = RTN_LOCAL; in __nft_fib6_eval_type()
|
/Linux-v4.19/net/ipv4/netfilter/ |
D | ipt_rpfilter.c | 46 if (res.type != RTN_LOCAL || !(flags & XT_RPFILTER_ACCEPT_LOCAL)) in rpfilter_lookup_reverse()
|
D | nft_fib_ipv4.c | 141 case RTN_LOCAL: /* Should not see RTN_LOCAL here */ in nft_fib4_eval()
|
/Linux-v4.19/include/uapi/linux/ |
D | rtnetlink.h | 219 RTN_LOCAL, /* Accept locally */ enumerator
|
/Linux-v4.19/net/l2tp/ |
D | l2tp_ip.c | 270 if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL && in l2tp_ip_bind()
|
/Linux-v4.19/net/rds/ |
D | tcp.c | 334 if (inet_addr_type(net, addr->s6_addr32[3]) == RTN_LOCAL) in rds_tcp_laddr_check()
|
/Linux-v4.19/drivers/net/ipvlan/ |
D | ipvlan_core.c | 440 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipvlan_process_v4_outbound()
|
/Linux-v4.19/net/ipv6/ |
D | af_inet6.c | 327 chk_addr_ret != RTN_LOCAL && in __inet6_bind()
|
D | route.c | 897 [RTN_LOCAL] = 0, 960 if (ort->fib6_type == RTN_LOCAL || ort->fib6_type == RTN_ANYCAST) { in ip6_rt_init_dst() 3769 f6i->fib6_type = RTN_LOCAL; in addrconf_f6i_alloc() 4194 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
|
D | ndisc.c | 352 neigh->type = RTN_LOCAL; in ndisc_constructor()
|
/Linux-v4.19/net/dccp/ |
D | ipv4.c | 522 if (skb_rtable(rxskb)->rt_type != RTN_LOCAL) in dccp_v4_ctl_send_reset()
|
/Linux-v4.19/net/sctp/ |
D | protocol.c | 364 ret != RTN_LOCAL && in sctp_v4_available()
|