Home
last modified time | relevance | path

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

12

/linux-3.4.99/net/decnet/
Ddn_fib.c70 [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()
Ddn_route.c1013 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/
Dfib_frontend.c229 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()
Dip_options.c615 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()
Darp.c342 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()
Dfib_semantics.c101 [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()
Dnetfilter.c27 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
Dping.c265 chk_addr_ret = RTN_LOCAL; in ping_bind()
269 chk_addr_ret != RTN_LOCAL) || in ping_bind()
Dicmp.c417 if (inet_addr_type(net, fl4_dec.saddr) == RTN_LOCAL) { in icmp_route_lookup()
Dip_fragment.c267 skb_rtable(head)->rt_type != RTN_LOCAL)) in ip_expire()
Draw.c663 if (addr->sin_addr.s_addr && chk_addr_ret != RTN_LOCAL && in raw_bind()
Droute.c2313 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()
Daf_inet.c498 chk_addr_ret != RTN_LOCAL && in inet_bind()
Ddevinet.c166 res.type == RTN_LOCAL) in __ip_dev_find()
Dfib_trie.c2339 [RTN_LOCAL] = "LOCAL",
/linux-3.4.99/net/ipv4/netfilter/
Dipt_rpfilter.c47 if (res.type != RTN_LOCAL || !(flags & XT_RPFILTER_ACCEPT_LOCAL)) in rpfilter_lookup_reverse()
/linux-3.4.99/net/rds/
Dtcp.c194 if (inet_addr_type(&init_net, addr) == RTN_LOCAL) in rds_tcp_laddr_check()
/linux-3.4.99/include/linux/
Drtnetlink.h182 RTN_LOCAL, /* Accept locally */ enumerator
/linux-3.4.99/net/l2tp/
Dl2tp_ip.c277 if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL && in l2tp_ip_bind()
/linux-3.4.99/net/dccp/
Dipv4.c542 if (skb_rtable(rxskb)->rt_type != RTN_LOCAL) in dccp_v4_ctl_send_reset()
/linux-3.4.99/net/ipv6/
Droute.c2316 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()
Daf_inet6.c313 chk_addr_ret != RTN_LOCAL && in inet6_bind()
Dndisc.c387 neigh->type = RTN_LOCAL; in ndisc_constructor()
/linux-3.4.99/net/sctp/
Dprotocol.c404 ret != RTN_LOCAL && in sctp_v4_available()
/linux-3.4.99/net/netfilter/ipvs/
Dip_vs_core.c675 ip_route_me_harder(skb, RTN_LOCAL) != 0) in ip_vs_route_me_harder()

12