/linux-3.4.99/net/decnet/ |
D | dn_fib.c | 70 [RTN_LOCAL] = { .error = 0, .scope = RT_SCOPE_HOST }, 236 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) in dn_fib_check_nh() 369 if (r->rtm_type != RTN_LOCAL || rta->rta_dst == NULL || in dn_fib_create_info() 371 if (dnet_addr_type(fi->fib_prefsrc) != RTN_LOCAL) in dn_fib_create_info() 423 case RTN_LOCAL: in dn_fib_semantic_match() 577 req.rtm.rtm_scope = (type != RTN_LOCAL ? RT_SCOPE_LINK : RT_SCOPE_HOST); in fib_magic() 593 fib_magic(RTM_NEWROUTE, RTN_LOCAL, ifa->ifa_local, 16, ifa); in dn_fib_add_ifaddr() 630 fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 16, ifa); in dn_fib_del_ifaddr() 632 if (dnet_addr_type(ifa->ifa_local) != RTN_LOCAL) { in dn_fib_del_ifaddr()
|
D | dn_route.c | 1013 res.type = RTN_LOCAL; in dn_route_output_slow() 1059 res.type = RTN_LOCAL; in dn_route_output_slow() 1081 res.type = RTN_LOCAL; in dn_route_output_slow() 1096 res.type == RTN_LOCAL ? in dn_route_output_slow() 1099 if (fld.saddr == 0 && res.type != RTN_LOCAL) in dn_route_output_slow() 1110 if (res.type == RTN_LOCAL) { in dn_route_output_slow() 1323 res.type = RTN_LOCAL; in dn_route_input_slow() 1384 case RTN_LOCAL: in dn_route_input_slow() 1444 case RTN_LOCAL: in dn_route_input_slow()
|
/linux-3.4.99/net/ipv4/ |
D | fib_frontend.c | 229 if (res.type != RTN_LOCAL || !accept_local) in fib_validate_source() 674 if (type != RTN_LOCAL) in fib_magic() 702 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim); in fib_add_ifaddr() 714 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr() 761 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr() 850 fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 32, prim); in fib_del_ifaddr() 854 inet_addr_type(dev_net(dev), ifa->ifa_local) != RTN_LOCAL) { in fib_del_ifaddr()
|
D | ip_options.c | 615 if (rt->rt_type != RTN_LOCAL) in ip_options_rcv_srr() 629 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr() 635 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
|
D | arp.c | 342 ip_hdr(skb)->saddr) == RTN_LOCAL) in arp_solicit() 349 if (inet_addr_type(dev_net(dev), saddr) == RTN_LOCAL) { in arp_solicit() 454 case RTN_LOCAL: in arp_set_predefined() 832 inet_addr_type(net, tip) == RTN_LOCAL && in arp_process() 845 if (addr_type == RTN_LOCAL) { in arp_process()
|
D | fib_semantics.c | 101 [RTN_LOCAL] = { 577 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) in fib_check_nh() 826 case RTN_LOCAL: in fib_create_info() 859 if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst || in fib_create_info() 861 if (inet_addr_type(net, fi->fib_prefsrc) != RTN_LOCAL) in fib_create_info()
|
D | netfilter.c | 27 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
|
D | ping.c | 265 chk_addr_ret = RTN_LOCAL; in ping_bind() 269 chk_addr_ret != RTN_LOCAL) || in ping_bind()
|
D | icmp.c | 417 if (inet_addr_type(net, fl4_dec.saddr) == RTN_LOCAL) { in icmp_route_lookup()
|
D | ip_fragment.c | 267 skb_rtable(head)->rt_type != RTN_LOCAL)) in ip_expire()
|
D | raw.c | 663 if (addr->sin_addr.s_addr && chk_addr_ret != RTN_LOCAL && in raw_bind()
|
D | route.c | 2313 if (res.type == RTN_LOCAL) { in ip_route_input_slow() 2732 res.type = RTN_LOCAL; in ip_route_output_slow() 2768 if (res.type == RTN_LOCAL) { in ip_route_output_slow()
|
D | af_inet.c | 498 chk_addr_ret != RTN_LOCAL && in inet_bind()
|
D | devinet.c | 166 res.type == RTN_LOCAL) in __ip_dev_find()
|
D | fib_trie.c | 2339 [RTN_LOCAL] = "LOCAL",
|
/linux-3.4.99/net/ipv4/netfilter/ |
D | ipt_rpfilter.c | 47 if (res.type != RTN_LOCAL || !(flags & XT_RPFILTER_ACCEPT_LOCAL)) in rpfilter_lookup_reverse()
|
/linux-3.4.99/net/rds/ |
D | tcp.c | 194 if (inet_addr_type(&init_net, addr) == RTN_LOCAL) in rds_tcp_laddr_check()
|
/linux-3.4.99/include/linux/ |
D | rtnetlink.h | 182 RTN_LOCAL, /* Accept locally */ enumerator
|
/linux-3.4.99/net/l2tp/ |
D | l2tp_ip.c | 277 if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL && in l2tp_ip_bind()
|
/linux-3.4.99/net/dccp/ |
D | ipv4.c | 542 if (skb_rtable(rxskb)->rt_type != RTN_LOCAL) in dccp_v4_ctl_send_reset()
|
/linux-3.4.99/net/ipv6/ |
D | route.c | 2316 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config() 2446 rtm->rtm_type = RTN_LOCAL; in rt6_fill_node() 2448 rtm->rtm_type = RTN_LOCAL; in rt6_fill_node()
|
D | af_inet6.c | 313 chk_addr_ret != RTN_LOCAL && in inet6_bind()
|
D | ndisc.c | 387 neigh->type = RTN_LOCAL; in ndisc_constructor()
|
/linux-3.4.99/net/sctp/ |
D | protocol.c | 404 ret != RTN_LOCAL && in sctp_v4_available()
|
/linux-3.4.99/net/netfilter/ipvs/ |
D | ip_vs_core.c | 675 ip_route_me_harder(skb, RTN_LOCAL) != 0) in ip_vs_route_me_harder()
|