Home
last modified time | relevance | path

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

12

/Linux-v6.6/net/ipv4/
Dfib_frontend.c381 (res.type != RTN_LOCAL || !IN_DEV_ACCEPT_LOCAL(idev))) in __fib_validate_source()
389 dev_match = dev_match || (res.type == RTN_LOCAL && in __fib_validate_source()
904 if (!err && cfg.fc_type == RTN_LOCAL) in inet_rtm_newroute()
1098 if (type != RTN_LOCAL) in fib_magic()
1126 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim, 0); in fib_add_ifaddr()
1142 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr()
1169 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric()
1174 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric()
1218 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
1317 fib_magic(RTM_DELROUTE, RTN_LOCAL, ifa->ifa_local, 32, prim, 0); in fib_del_ifaddr()
[all …]
Dnetfilter.c36 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
Dip_options.c608 if (rt->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
622 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
628 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
Darp.c353 ip_hdr(skb)->saddr) == RTN_LOCAL) in arp_solicit()
361 saddr) == RTN_LOCAL) { in arp_solicit()
829 inet_addr_type_dev_table(net, dev, tip) == RTN_LOCAL && in arp_process()
842 if (addr_type == RTN_LOCAL) { in arp_process()
Dfib_semantics.c108 [RTN_LOCAL] = {
1193 if (res.type != RTN_UNICAST && res.type != RTN_LOCAL) { in fib_check_nh_v4_gw()
1363 if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst || in fib_valid_prefsrc()
1374 if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) { in fib_valid_prefsrc()
1379 if (rc != RTN_LOCAL) in fib_valid_prefsrc()
1513 case RTN_LOCAL: in fib_create_info()
Droute.c2180 if (rt->rt_type != RTN_LOCAL) in ip_route_use_hint()
2321 if (res->type == RTN_LOCAL) { in ip_route_input_slow()
2552 } else if ((type == RTN_LOCAL) && (orig_oif != 0) && in __mkroute_output()
2749 res->type = RTN_LOCAL; in ip_route_output_key_hash_rcu()
2788 if (res->type == RTN_LOCAL) { in ip_route_output_key_hash_rcu()
Dip_fragment.c187 (skb_rtable(head)->rt_type != RTN_LOCAL)) in ip_expire()
Dping.c336 (chk_addr_ret != RTN_LOCAL && in ping_check_bind_addr()
Dicmp.c525 fl4_dec.saddr) == RTN_LOCAL) { in icmp_route_lookup()
/Linux-v6.6/net/ipv6/netfilter/
Dnft_fib_ipv6.c81 ret = RTN_LOCAL; in __nft_fib6_eval_type()
97 ret = RTN_LOCAL; in __nft_fib6_eval_type()
/Linux-v6.6/net/ipv4/netfilter/
Dipt_rpfilter.c41 if (res.type != RTN_LOCAL || !(flags & XT_RPFILTER_ACCEPT_LOCAL)) in rpfilter_lookup_reverse()
Dnft_fib_ipv4.c135 case RTN_LOCAL: /* Should not see RTN_LOCAL here */ in nft_fib4_eval()
/Linux-v6.6/net/mctp/
Droute.c765 if (tmp->dev->dev == dev && tmp->type == RTN_LOCAL && in mctp_route_lookup_null()
994 case RTN_LOCAL: in mctp_route_add()
1062 return mctp_route_add(mdev, addr, 0, 0, RTN_LOCAL); in mctp_route_add_local()
1067 return mctp_route_remove(mdev, addr, 0, RTN_LOCAL); in mctp_route_remove_local()
/Linux-v6.6/include/net/
Dinet_sock.h434 addr_type == RTN_LOCAL || in inet_addr_valid_or_nonlocal()
/Linux-v6.6/include/uapi/linux/
Drtnetlink.h256 RTN_LOCAL, /* Accept locally */ enumerator
/Linux-v6.6/net/l2tp/
Dl2tp_ip.c272 if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL && in l2tp_ip_bind()
/Linux-v6.6/net/rds/
Dtcp.c325 if (inet_addr_type(net, addr->s6_addr32[3]) == RTN_LOCAL) in rds_tcp_laddr_check()
/Linux-v6.6/drivers/net/ipvlan/
Dipvlan_core.c434 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipvlan_process_v4_outbound()
/Linux-v6.6/net/dccp/
Dipv4.c538 if (skb_rtable(rxskb)->rt_type != RTN_LOCAL) in dccp_v4_ctl_send_reset()
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/
Dprestera_router.c909 case RTN_LOCAL: in __prestera_pr_k_arb_fc_lpm_info_calc()
/Linux-v6.6/net/sctp/
Dprotocol.c362 ret != RTN_LOCAL && in sctp_v4_available()
/Linux-v6.6/net/ipv6/
Droute.c1033 [RTN_LOCAL] = 0,
1096 if (res->fib6_type == RTN_LOCAL || res->fib6_type == RTN_ANYCAST) { in ip6_rt_init_dst()
4568 cfg.fc_type = RTN_LOCAL; in addrconf_f6i_alloc()
5036 if (rtm->rtm_type == RTN_LOCAL) in rtm_to_fib6_config()
Dsit.c951 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) { in ipip6_tunnel_xmit()
Dndisc.c357 neigh->type = RTN_LOCAL; in ndisc_constructor()
/Linux-v6.6/net/netfilter/ipvs/
Dip_vs_core.c738 ip_route_me_harder(ipvs->net, skb->sk, skb, RTN_LOCAL) != 0) in ip_vs_route_me_harder()

12