| /linux/net/ipv4/ |
| H A D | fib_frontend.c | 403 if (res.type != RTN_LOCAL) { in __fib_validate_source() 417 dev_match = dev_match || (res.type == RTN_LOCAL && in __fib_validate_source() 951 if (!err && cfg.fc_type == RTN_LOCAL) in inet_rtm_newroute() 1141 if (type != RTN_LOCAL) in fib_magic() 1169 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim, 0); in fib_add_ifaddr() 1185 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr() 1212 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1217 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1261 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr() 1360 fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 32, prim, 0); in fib_del_ifaddr() [all …]
|
| H A D | ip_options.c | 612 if (rt->rt_type != RTN_LOCAL) in ip_options_rcv_srr() 626 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr() 632 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
|
| H A D | arp.c | 353 ip_hdr(skb)->saddr) == RTN_LOCAL) in arp_solicit() 361 saddr) == RTN_LOCAL) { in arp_solicit() 833 inet_addr_type_dev_table(net, dev, tip) == RTN_LOCAL && in arp_process() 846 if (addr_type == RTN_LOCAL) { in arp_process()
|
| H A D | fib_semantics.c | 97 [RTN_LOCAL] = { 1247 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh_v4_gw() 1357 if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst || in fib_valid_prefsrc() 1368 if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) { in fib_valid_prefsrc() 1373 if (rc != RTN_LOCAL) in fib_valid_prefsrc() 1488 case RTN_LOCAL: in fib_create_info()
|
| H A D | icmp.c | 534 fl4->daddr) == RTN_LOCAL) in icmp_route_lookup() 546 fl4_dec.saddr) == RTN_LOCAL) { in icmp_route_lookup() 592 if (!err && rt2 && rt2->rt_type == RTN_LOCAL) in icmp_route_lookup() 596 (rt2->rt_type == RTN_LOCAL || rt2->rt_type == RTN_UNREACHABLE)) { in icmp_route_lookup()
|
| H A D | route.c | 2404 if (res->type == RTN_LOCAL) { in ip_route_input_slow() 2645 } else if ((type == RTN_LOCAL) && (orig_oif != 0) && in __mkroute_output() 2773 /* It is equivalent to inet_addr_type(saddr) == RTN_LOCAL */ in ip_route_output_key_hash_rcu() 2798 /* It is equivalent to inet_addr_type(saddr) == RTN_LOCAL */ in ip_route_output_key_hash_rcu() 2840 res->type = RTN_LOCAL; in ip_route_output_key_hash_rcu() 2879 if (res->type == RTN_LOCAL) { in ip_route_output_key_hash_rcu()
|
| H A D | fib_trie.c | 2745 [RTN_LOCAL] = "LOCAL",
|
| H A D | devinet.c | 161 res.type == RTN_LOCAL) in __ip_dev_find()
|
| H A D | tcp_ipv4.c | 745 if (!sk && skb_rtable(skb)->rt_type != RTN_LOCAL) in tcp_v4_send_reset()
|
| /linux/drivers/net/mctp/ |
| H A D | mctp-usblib-test.c | 152 rt->type = RTN_LOCAL; in mctp_usblib_test_init()
|
| /linux/net/mctp/ |
| H A D | route.c | 1225 case RTN_LOCAL: in mctp_route_add() 1292 rt->type = RTN_LOCAL; in mctp_route_add_local() 1306 addr, 0, RTN_LOCAL); in mctp_route_remove_local()
|
| /linux/tools/include/uapi/linux/ |
| H A D | rtnetlink.h | 264 RTN_LOCAL, /* Accept locally */ enumerator
|
| /linux/include/uapi/linux/ |
| H A D | rtnetlink.h | 264 RTN_LOCAL, /* Accept locally */ enumerator
|
| /linux/net/rds/ |
| H A D | tcp.c | 397 if (inet_addr_type(net, addr->s6_addr32[3]) == RTN_LOCAL) in rds_tcp_laddr_check()
|
| /linux/net/dccp/ |
| H A D | ipv4.c | |
| /linux/tools/testing/selftests/net/ |
| H A D | tun.c | 362 rtm_type == RTN_LOCAL) in ip_route_check()
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 909 case RTN_LOCAL: in __prestera_pr_k_arb_fc_lpm_info_calc()
|
| /linux/net/sctp/ |
| H A D | protocol.c | 362 ret != RTN_LOCAL && in sctp_v4_available()
|
| /linux/net/ipv6/ |
| H A D | route.c | 1086 [RTN_LOCAL] = 0, 1149 if (res->fib6_type == RTN_LOCAL || res->fib6_type == RTN_ANYCAST) { in ip6_rt_init_dst() 4719 cfg.fc_type = RTN_LOCAL; in addrconf_f6i_alloc() 5251 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
|
| H A D | ndisc.c | 356 neigh->type = RTN_LOCAL; in ndisc_constructor()
|
| H A D | sit.c | 947 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipip6_tunnel_xmit()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_core.c | 915 ip_route_me_harder(ipvs->net, skb->sk, skb, RTN_LOCAL) != 0) in ip_vs_route_me_harder()
|
| H A D | ip_vs_ctl.c | 1466 if (atype != RTN_LOCAL && atype != RTN_UNICAST) in ip_vs_new_dest()
|
| /linux/net/core/ |
| H A D | filter.c | 2402 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in __bpf_redirect_neigh_v4()
|