Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dfib_frontend.c403 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 Dip_options.c612 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 Darp.c353 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 Dfib_semantics.c97 [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 Dicmp.c534 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 Droute.c2404 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 Dfib_trie.c2745 [RTN_LOCAL] = "LOCAL",
H A Ddevinet.c161 res.type == RTN_LOCAL) in __ip_dev_find()
H A Dtcp_ipv4.c745 if (!sk && skb_rtable(skb)->rt_type != RTN_LOCAL) in tcp_v4_send_reset()
/linux/drivers/net/mctp/
H A Dmctp-usblib-test.c152 rt->type = RTN_LOCAL; in mctp_usblib_test_init()
/linux/net/mctp/
H A Droute.c1225 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 Drtnetlink.h264 RTN_LOCAL, /* Accept locally */ enumerator
/linux/include/uapi/linux/
H A Drtnetlink.h264 RTN_LOCAL, /* Accept locally */ enumerator
/linux/net/rds/
H A Dtcp.c397 if (inet_addr_type(net, addr->s6_addr32[3]) == RTN_LOCAL) in rds_tcp_laddr_check()
/linux/net/dccp/
H A Dipv4.c
/linux/tools/testing/selftests/net/
H A Dtun.c362 rtm_type == RTN_LOCAL) in ip_route_check()
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c909 case RTN_LOCAL: in __prestera_pr_k_arb_fc_lpm_info_calc()
/linux/net/sctp/
H A Dprotocol.c362 ret != RTN_LOCAL && in sctp_v4_available()
/linux/net/ipv6/
H A Droute.c1086 [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 Dndisc.c356 neigh->type = RTN_LOCAL; in ndisc_constructor()
H A Dsit.c947 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipip6_tunnel_xmit()
/linux/net/netfilter/ipvs/
H A Dip_vs_core.c915 ip_route_me_harder(ipvs->net, skb->sk, skb, RTN_LOCAL) != 0) in ip_vs_route_me_harder()
H A Dip_vs_ctl.c1466 if (atype != RTN_LOCAL && atype != RTN_UNICAST) in ip_vs_new_dest()
/linux/net/core/
H A Dfilter.c2402 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in __bpf_redirect_neigh_v4()