Symbol: RTN_LOCAL
drivers/infiniband/core/addr.c
439
return !!(dst_rtable(dst)->rt_type & RTN_LOCAL);
drivers/net/ethernet/marvell/prestera/prestera_router.c
909
case RTN_LOCAL:
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
6408
case RTN_LOCAL:
drivers/net/ipvlan/ipvlan_core.c
453
if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) {
include/net/inet_sock.h
448
addr_type == RTN_LOCAL ||
net/core/filter.c
2394
if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) {
net/ipv4/arp.c
354
ip_hdr(skb)->saddr) == RTN_LOCAL)
net/ipv4/arp.c
362
saddr) == RTN_LOCAL) {
net/ipv4/arp.c
834
inet_addr_type_dev_table(net, dev, tip) == RTN_LOCAL &&
net/ipv4/arp.c
847
if (addr_type == RTN_LOCAL) {
net/ipv4/devinet.c
161
res.type == RTN_LOCAL)
net/ipv4/fib_frontend.c
1128
if (type != RTN_LOCAL)
net/ipv4/fib_frontend.c
1156
fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim, 0);
net/ipv4/fib_frontend.c
1172
dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST,
net/ipv4/fib_frontend.c
1199
dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST,
net/ipv4/fib_frontend.c
1204
dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST,
net/ipv4/fib_frontend.c
1248
dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST,
net/ipv4/fib_frontend.c
1347
fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 32, prim, 0);
net/ipv4/fib_frontend.c
1352
if (gone && addr_type != RTN_LOCAL) {
net/ipv4/fib_frontend.c
383
if (res.type != RTN_LOCAL) {
net/ipv4/fib_frontend.c
397
dev_match = dev_match || (res.type == RTN_LOCAL &&
net/ipv4/fib_frontend.c
931
if (!err && cfg.fc_type == RTN_LOCAL)
net/ipv4/fib_semantics.c
1216
if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) {
net/ipv4/fib_semantics.c
1326
if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst ||
net/ipv4/fib_semantics.c
1337
if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) {
net/ipv4/fib_semantics.c
1342
if (rc != RTN_LOCAL)
net/ipv4/fib_semantics.c
1457
case RTN_LOCAL:
net/ipv4/fib_semantics.c
97
[RTN_LOCAL] = {
net/ipv4/fib_trie.c
2750
[RTN_LOCAL] = "LOCAL",
net/ipv4/icmp.c
533
fl4->daddr) == RTN_LOCAL)
net/ipv4/icmp.c
545
fl4_dec.saddr) == RTN_LOCAL) {
net/ipv4/icmp.c
578
if (!err && rt2 && rt2->rt_type == RTN_LOCAL) {
net/ipv4/ip_fragment.c
181
(skb_rtable(head)->rt_type != RTN_LOCAL))
net/ipv4/ip_options.c
608
if (rt->rt_type != RTN_LOCAL)
net/ipv4/ip_options.c
622
if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) {
net/ipv4/ip_options.c
628
if (rt2->rt_type != RTN_LOCAL)
net/ipv4/netfilter.c
37
if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST)
net/ipv4/netfilter/ipt_rpfilter.c
42
if (res.type != RTN_LOCAL || !(flags & XT_RPFILTER_ACCEPT_LOCAL))
net/ipv4/netfilter/nft_fib_ipv4.c
139
case RTN_LOCAL: /* Should not see RTN_LOCAL here */
net/ipv4/ping.c
335
(chk_addr_ret != RTN_LOCAL &&
net/ipv4/route.c
2373
if (res->type == RTN_LOCAL) {
net/ipv4/route.c
2614
} else if ((type == RTN_LOCAL) && (orig_oif != 0) &&
net/ipv4/route.c
2809
res->type = RTN_LOCAL;
net/ipv4/route.c
2848
if (res->type == RTN_LOCAL) {
net/ipv4/tcp_ipv4.c
768
if (!sk && skb_rtable(skb)->rt_type != RTN_LOCAL)
net/ipv6/ndisc.c
355
neigh->type = RTN_LOCAL;
net/ipv6/netfilter/nft_fib_ipv6.c
80
ret = RTN_LOCAL;
net/ipv6/netfilter/nft_fib_ipv6.c
96
ret = RTN_LOCAL;
net/ipv6/route.c
1081
[RTN_LOCAL] = 0,
net/ipv6/route.c
1144
if (res->fib6_type == RTN_LOCAL || res->fib6_type == RTN_ANYCAST) {
net/ipv6/route.c
4683
cfg.fc_type = RTN_LOCAL;
net/ipv6/route.c
5211
if (rtm->rtm_type == RTN_LOCAL)
net/ipv6/sit.c
946
if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) {
net/l2tp/l2tp_ip.c
296
if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL &&
net/mctp/route.c
1005
if (rt->dst_type != MCTP_ROUTE_DIRECT || rt->type != RTN_LOCAL)
net/mctp/route.c
1216
case RTN_LOCAL:
net/mctp/route.c
1283
rt->type = RTN_LOCAL;
net/mctp/route.c
1297
addr, 0, RTN_LOCAL);
net/netfilter/ipvs/ip_vs_core.c
737
ip_route_me_harder(ipvs->net, skb->sk, skb, RTN_LOCAL) != 0)
net/netfilter/ipvs/ip_vs_ctl.c
1078
if (atype != RTN_LOCAL && atype != RTN_UNICAST)
net/rds/tcp.c
328
if (inet_addr_type(net, addr->s6_addr32[3]) == RTN_LOCAL)
net/sctp/protocol.c
362
ret != RTN_LOCAL &&
tools/testing/selftests/net/tun.c
361
rtm_type == RTN_LOCAL)