/linux-4.1.27/net/decnet/ |
D | dn_fib.c | 70 [RTN_LOCAL] = { .error = 0, .scope = RT_SCOPE_HOST }, 228 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) in dn_fib_check_nh() 374 if (r->rtm_type != RTN_LOCAL || !attrs[RTA_DST] || in dn_fib_create_info() 376 if (dnet_addr_type(fi->fib_prefsrc) != RTN_LOCAL) in dn_fib_create_info() 428 case RTN_LOCAL: in dn_fib_semantic_match() 601 req.rtm.rtm_scope = (type != RTN_LOCAL ? RT_SCOPE_LINK : RT_SCOPE_HOST); in fib_magic() 613 fib_magic(RTM_NEWROUTE, RTN_LOCAL, ifa->ifa_local, 16, ifa); in dn_fib_add_ifaddr() 650 fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 16, ifa); in dn_fib_del_ifaddr() 652 if (dnet_addr_type(ifa->ifa_local) != RTN_LOCAL) { in dn_fib_del_ifaddr()
|
D | dn_route.c | 1052 res.type = RTN_LOCAL; in dn_route_output_slow() 1098 res.type = RTN_LOCAL; in dn_route_output_slow() 1120 res.type = RTN_LOCAL; in dn_route_output_slow() 1135 res.type == RTN_LOCAL ? in dn_route_output_slow() 1138 if (fld.saddr == 0 && res.type != RTN_LOCAL) in dn_route_output_slow() 1149 if (res.type == RTN_LOCAL) { in dn_route_output_slow() 1360 res.type = RTN_LOCAL; in dn_route_input_slow() 1419 case RTN_LOCAL: in dn_route_input_slow() 1477 case RTN_LOCAL: in dn_route_input_slow()
|
/linux-4.1.27/net/ipv4/ |
D | fib_frontend.c | 325 (res.type != RTN_LOCAL || !IN_DEV_ACCEPT_LOCAL(idev))) in __fib_validate_source() 787 if (type != RTN_LOCAL) in fib_magic() 815 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim); in fib_add_ifaddr() 827 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr() 874 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr() 963 fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 32, prim); in fib_del_ifaddr() 967 inet_addr_type(dev_net(dev), ifa->ifa_local) != RTN_LOCAL) { in fib_del_ifaddr()
|
D | ip_options.c | 630 if (rt->rt_type != RTN_LOCAL) in ip_options_rcv_srr() 644 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr() 650 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
|
D | fib_semantics.c | 101 [RTN_LOCAL] = { 631 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) in fib_check_nh() 902 case RTN_LOCAL: in fib_create_info() 935 if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst || in fib_create_info() 937 if (inet_addr_type(net, fi->fib_prefsrc) != RTN_LOCAL) in fib_create_info()
|
D | arp.c | 313 ip_hdr(skb)->saddr) == RTN_LOCAL) in arp_solicit() 320 if (inet_addr_type(dev_net(dev), saddr) == RTN_LOCAL) { in arp_solicit() 745 inet_addr_type(net, tip) == RTN_LOCAL && in arp_process() 758 if (addr_type == RTN_LOCAL) { in arp_process()
|
D | netfilter.c | 32 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
|
D | ping.c | 323 chk_addr_ret = RTN_LOCAL; in ping_check_bind_addr() 327 chk_addr_ret != RTN_LOCAL) || in ping_check_bind_addr()
|
D | route.c | 1771 if (res.type == RTN_LOCAL) { in ip_route_input_slow() 2172 res.type = RTN_LOCAL; in __ip_route_output_key() 2209 if (res.type == RTN_LOCAL) { in __ip_route_output_key()
|
D | ip_fragment.c | 223 (skb_rtable(head)->rt_type != RTN_LOCAL))) in ip_expire()
|
D | icmp.c | 483 if (inet_addr_type(net, fl4_dec.saddr) == RTN_LOCAL) { in icmp_route_lookup()
|
D | raw.c | 696 if (addr->sin_addr.s_addr && chk_addr_ret != RTN_LOCAL && in raw_bind()
|
D | af_inet.c | 466 chk_addr_ret != RTN_LOCAL && in inet_bind()
|
D | tcp_ipv4.c | 605 if (!sk && skb_rtable(skb)->rt_type != RTN_LOCAL) in tcp_v4_send_reset()
|
D | fib_trie.c | 2341 [RTN_LOCAL] = "LOCAL",
|
D | devinet.c | 167 res.type == RTN_LOCAL) in __ip_dev_find()
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | ipt_rpfilter.c | 47 if (res.type != RTN_LOCAL || !(flags & XT_RPFILTER_ACCEPT_LOCAL)) in rpfilter_lookup_reverse()
|
/linux-4.1.27/net/rds/ |
D | tcp.c | 194 if (inet_addr_type(&init_net, addr) == RTN_LOCAL) in rds_tcp_laddr_check()
|
/linux-4.1.27/include/uapi/linux/ |
D | rtnetlink.h | 201 RTN_LOCAL, /* Accept locally */ enumerator
|
/linux-4.1.27/net/l2tp/ |
D | l2tp_ip.c | 273 if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL && in l2tp_ip_bind()
|
/linux-4.1.27/drivers/net/ipvlan/ |
D | ipvlan_core.c | 356 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipvlan_process_v4_outbound()
|
/linux-4.1.27/net/ipv6/ |
D | af_inet6.c | 311 chk_addr_ret != RTN_LOCAL && in inet6_bind()
|
D | route.c | 2455 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config() 2803 rtm->rtm_type = RTN_LOCAL; in rt6_fill_node() 2805 rtm->rtm_type = RTN_LOCAL; in rt6_fill_node()
|
D | ndisc.c | 335 neigh->type = RTN_LOCAL; in ndisc_constructor()
|
/linux-4.1.27/net/dccp/ |
D | ipv4.c | 543 if (skb_rtable(rxskb)->rt_type != RTN_LOCAL) in dccp_v4_ctl_send_reset()
|
/linux-4.1.27/net/sctp/ |
D | protocol.c | 369 ret != RTN_LOCAL && in sctp_v4_available()
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_core.c | 698 ip_route_me_harder(skb, RTN_LOCAL) != 0) in ip_vs_route_me_harder()
|
D | ip_vs_ctl.c | 883 if (atype != RTN_LOCAL && atype != RTN_UNICAST) in ip_vs_new_dest()
|