Home
last modified time | relevance | path

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

/linux-4.4.14/net/decnet/
Ddn_fib.c70 [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()
Ddn_route.c1053 res.type = RTN_LOCAL; in dn_route_output_slow()
1099 res.type = RTN_LOCAL; in dn_route_output_slow()
1123 res.type = RTN_LOCAL; in dn_route_output_slow()
1138 res.type == RTN_LOCAL ? in dn_route_output_slow()
1141 if (fld.saddr == 0 && res.type != RTN_LOCAL) in dn_route_output_slow()
1152 if (res.type == RTN_LOCAL) { in dn_route_output_slow()
1365 res.type = RTN_LOCAL; in dn_route_input_slow()
1424 case RTN_LOCAL: in dn_route_input_slow()
1482 case RTN_LOCAL: in dn_route_input_slow()
/linux-4.4.14/net/ipv4/
Dfib_frontend.c353 (res.type != RTN_LOCAL || !IN_DEV_ACCEPT_LOCAL(idev))) in __fib_validate_source()
829 if (type != RTN_LOCAL) in fib_magic()
857 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim); in fib_add_ifaddr()
870 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr()
922 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
1017 fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 32, prim); in fib_del_ifaddr()
1022 if (gone && addr_type != RTN_LOCAL) { in fib_del_ifaddr()
Dip_options.c630 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()
Dfib_semantics.c101 [RTN_LOCAL] = {
792 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) in fib_check_nh()
923 if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst || in fib_valid_prefsrc()
934 if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) { in fib_valid_prefsrc()
939 if (rc != RTN_LOCAL) in fib_valid_prefsrc()
1122 case RTN_LOCAL: in fib_create_info()
Darp.c349 ip_hdr(skb)->saddr) == RTN_LOCAL) in arp_solicit()
357 saddr) == RTN_LOCAL) { in arp_solicit()
769 inet_addr_type_dev_table(net, dev, tip) == RTN_LOCAL && in arp_process()
782 if (addr_type == RTN_LOCAL) { in arp_process()
Dnetfilter.c31 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
Dping.c323 chk_addr_ret = RTN_LOCAL; in ping_check_bind_addr()
327 chk_addr_ret != RTN_LOCAL) || in ping_check_bind_addr()
Droute.c1848 if (res.type == RTN_LOCAL) { in ip_route_input_slow()
2048 } else if ((type == RTN_LOCAL) && (orig_oif != 0) && in __mkroute_output()
2252 res.type = RTN_LOCAL; in __ip_route_output_key_hash()
2291 if (res.type == RTN_LOCAL) { in __ip_route_output_key_hash()
Dip_fragment.c237 (skb_rtable(head)->rt_type != RTN_LOCAL)) in ip_expire()
Dicmp.c506 fl4_dec.saddr) == RTN_LOCAL) { in icmp_route_lookup()
Draw.c706 if (addr->sin_addr.s_addr && chk_addr_ret != RTN_LOCAL && in raw_bind()
Daf_inet.c466 chk_addr_ret != RTN_LOCAL && in inet_bind()
Dfib_trie.c2361 [RTN_LOCAL] = "LOCAL",
Ddevinet.c167 res.type == RTN_LOCAL) in __ip_dev_find()
Dtcp_ipv4.c608 if (!sk && skb_rtable(skb)->rt_type != RTN_LOCAL) in tcp_v4_send_reset()
/linux-4.4.14/net/ipv4/netfilter/
Dipt_rpfilter.c46 if (res.type != RTN_LOCAL || !(flags & XT_RPFILTER_ACCEPT_LOCAL)) in rpfilter_lookup_reverse()
/linux-4.4.14/net/rds/
Dtcp.c189 if (inet_addr_type(net, addr) == RTN_LOCAL) in rds_tcp_laddr_check()
/linux-4.4.14/include/uapi/linux/
Drtnetlink.h201 RTN_LOCAL, /* Accept locally */ enumerator
/linux-4.4.14/drivers/net/
Dvrf.c280 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in vrf_send_v4_prep()
827 if (res.type == RTN_LOCAL) in vrf_get_saddr()
/linux-4.4.14/net/l2tp/
Dl2tp_ip.c275 if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL && in l2tp_ip_bind()
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_core.c364 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipvlan_process_v4_outbound()
/linux-4.4.14/net/ipv6/
Daf_inet6.c312 chk_addr_ret != RTN_LOCAL && in inet6_bind()
Droute.c2734 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
3099 rtm->rtm_type = RTN_LOCAL; in rt6_fill_node()
3101 rtm->rtm_type = RTN_LOCAL; in rt6_fill_node()
Dndisc.c337 neigh->type = RTN_LOCAL; in ndisc_constructor()
/linux-4.4.14/net/dccp/
Dipv4.c514 if (skb_rtable(rxskb)->rt_type != RTN_LOCAL) in dccp_v4_ctl_send_reset()
/linux-4.4.14/net/sctp/
Dprotocol.c369 ret != RTN_LOCAL && in sctp_v4_available()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_core.c721 ip_route_me_harder(ipvs->net, skb, RTN_LOCAL) != 0) in ip_vs_route_me_harder()
Dip_vs_ctl.c880 if (atype != RTN_LOCAL && atype != RTN_UNICAST) in ip_vs_new_dest()