RTN_LOCAL
return !!(dst_rtable(dst)->rt_type & RTN_LOCAL);
case RTN_LOCAL:
case RTN_LOCAL:
if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) {
addr_type == RTN_LOCAL ||
if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) {
ip_hdr(skb)->saddr) == RTN_LOCAL)
saddr) == RTN_LOCAL) {
inet_addr_type_dev_table(net, dev, tip) == RTN_LOCAL &&
if (addr_type == RTN_LOCAL) {
res.type == RTN_LOCAL)
if (type != RTN_LOCAL)
fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim, 0);
dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST,
dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST,
dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST,
dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST,
fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 32, prim, 0);
if (gone && addr_type != RTN_LOCAL) {
if (res.type != RTN_LOCAL) {
dev_match = dev_match || (res.type == RTN_LOCAL &&
if (!err && cfg.fc_type == RTN_LOCAL)
if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) {
if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst ||
if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) {
if (rc != RTN_LOCAL)
case RTN_LOCAL:
[RTN_LOCAL] = {
[RTN_LOCAL] = "LOCAL",
fl4->daddr) == RTN_LOCAL)
fl4_dec.saddr) == RTN_LOCAL) {
if (!err && rt2 && rt2->rt_type == RTN_LOCAL) {
(skb_rtable(head)->rt_type != RTN_LOCAL))
if (rt->rt_type != RTN_LOCAL)
if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) {
if (rt2->rt_type != RTN_LOCAL)
if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST)
if (res.type != RTN_LOCAL || !(flags & XT_RPFILTER_ACCEPT_LOCAL))
case RTN_LOCAL: /* Should not see RTN_LOCAL here */
(chk_addr_ret != RTN_LOCAL &&
if (res->type == RTN_LOCAL) {
} else if ((type == RTN_LOCAL) && (orig_oif != 0) &&
res->type = RTN_LOCAL;
if (res->type == RTN_LOCAL) {
if (!sk && skb_rtable(skb)->rt_type != RTN_LOCAL)
neigh->type = RTN_LOCAL;
ret = RTN_LOCAL;
ret = RTN_LOCAL;
[RTN_LOCAL] = 0,
if (res->fib6_type == RTN_LOCAL || res->fib6_type == RTN_ANYCAST) {
cfg.fc_type = RTN_LOCAL;
if (rtm->rtm_type == RTN_LOCAL)
if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) {
if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL &&
if (rt->dst_type != MCTP_ROUTE_DIRECT || rt->type != RTN_LOCAL)
case RTN_LOCAL:
rt->type = RTN_LOCAL;
addr, 0, RTN_LOCAL);
ip_route_me_harder(ipvs->net, skb->sk, skb, RTN_LOCAL) != 0)
if (atype != RTN_LOCAL && atype != RTN_UNICAST)
if (inet_addr_type(net, addr->s6_addr32[3]) == RTN_LOCAL)
ret != RTN_LOCAL &&
rtm_type == RTN_LOCAL)