Home
last modified time | relevance | path

Searched refs:RT_SCOPE_LINK (Results 1 - 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/net/ipv4/
H A Dfib_semantics.c112 .scope = RT_SCOPE_LINK,
116 .scope = RT_SCOPE_LINK,
1067 nh->fib_nh_scope = RT_SCOPE_LINK; in fib_check_nh_v6_gw()
1128 if (scope >= RT_SCOPE_LINK) { in fib_check_nh_v4_gw()
1150 nh->fib_nh_scope = RT_SCOPE_LINK; in fib_check_nh_v4_gw()
1164 if (fl4.flowi4_scope < RT_SCOPE_LINK) in fib_check_nh_v4_gw()
1165 fl4.flowi4_scope = RT_SCOPE_LINK; in fib_check_nh_v4_gw()
1238 nh->fib_nh_scope = RT_SCOPE_LINK; in fib_check_nh_nongw()
2106 if (!nhc->nhc_gw_family || nhc->nhc_scope != RT_SCOPE_LINK) in fib_select_default()
2214 if (nh->fib_nh_scope == RT_SCOPE_LINK) { in fib_good_nh()
[all...]
H A Dfib_frontend.c302 scope = RT_SCOPE_LINK; in fib_compute_spec_dst()
392 ret = FIB_RES_NHC(res)->nhc_scope >= RT_SCOPE_LINK; in __fib_validate_source()
404 ret = FIB_RES_NHC(res)->nhc_scope >= RT_SCOPE_LINK; in __fib_validate_source()
586 cfg->fc_scope = RT_SCOPE_LINK; in rtentry_to_fib_config()
1088 cfg.fc_scope = RT_SCOPE_LINK; in fib_magic()
H A Darp.c373 saddr = inet_select_addr(dev, target, RT_SCOPE_LINK); in arp_solicit()
415 scope = RT_SCOPE_LINK; in arp_ignore()
H A Droute.c539 RT_SCOPE_LINK : RT_SCOPE_UNIVERSE; in ip_rt_fix_tos()
1614 if (nhc->nhc_gw_family && nhc->nhc_scope == RT_SCOPE_LINK) { in rt_set_nexthop()
2502 nhc->nhc_scope == RT_SCOPE_LINK))) { in __mkroute_output()
2652 RT_SCOPE_LINK); in ip_route_output_key_hash_rcu()
2703 RT_SCOPE_LINK); in ip_route_output_key_hash_rcu()
H A Ddevinet.c1293 if (ifa->ifa_scope != RT_SCOPE_LINK && in in_dev_select_addr()
1316 localnet_scope = RT_SCOPE_LINK; in inet_select_addr()
1380 localnet_scope = RT_SCOPE_LINK; in confirm_addr_indev()
H A Dnexthop.c696 if (nhi->fib_nhc.nhc_flags & RTNH_F_ONLINK && scope >= RT_SCOPE_LINK) { in nexthop_check_scope()
1415 nhi->fib_nhc.nhc_scope = RT_SCOPE_LINK; in nexthop_create()
H A Dicmp.c711 RT_SCOPE_LINK); in __icmp_send()
/kernel/linux/linux-6.6/net/ipv4/
H A Dfib_semantics.c114 .scope = RT_SCOPE_LINK,
118 .scope = RT_SCOPE_LINK,
1069 nh->fib_nh_scope = RT_SCOPE_LINK; in fib_check_nh_v6_gw()
1130 if (scope >= RT_SCOPE_LINK) { in fib_check_nh_v4_gw()
1152 nh->fib_nh_scope = RT_SCOPE_LINK; in fib_check_nh_v4_gw()
1166 if (fl4.flowi4_scope < RT_SCOPE_LINK) in fib_check_nh_v4_gw()
1167 fl4.flowi4_scope = RT_SCOPE_LINK; in fib_check_nh_v4_gw()
2091 if (!nhc->nhc_gw_family || nhc->nhc_scope != RT_SCOPE_LINK) in fib_select_default()
2199 if (nh->fib_nh_scope == RT_SCOPE_LINK) { in fib_good_nh()
H A Darp.c374 saddr = inet_select_addr(dev, target, RT_SCOPE_LINK); in arp_solicit()
416 scope = RT_SCOPE_LINK; in arp_ignore()
435 int scope = RT_SCOPE_LINK; in arp_accept()
H A Dfib_frontend.c303 scope = RT_SCOPE_LINK; in fib_compute_spec_dst()
589 cfg->fc_scope = RT_SCOPE_LINK; in rtentry_to_fib_config()
1099 cfg.fc_scope = RT_SCOPE_LINK; in fib_magic()
H A Droute.c507 fl4->flowi4_scope = RT_SCOPE_LINK; in ip_rt_fix_tos()
1581 if (nhc->nhc_gw_family && nhc->nhc_scope == RT_SCOPE_LINK) { in rt_set_nexthop()
2581 nhc->nhc_scope == RT_SCOPE_LINK))) { in __mkroute_output()
2730 RT_SCOPE_LINK); in ip_route_output_key_hash_rcu()
2780 RT_SCOPE_LINK); in ip_route_output_key_hash_rcu()
H A Ddevinet.c1317 if (ifa->ifa_scope != RT_SCOPE_LINK && in in_dev_select_addr()
1340 localnet_scope = RT_SCOPE_LINK; in inet_select_addr()
1404 localnet_scope = RT_SCOPE_LINK; in confirm_addr_indev()
H A Dicmp.c705 RT_SCOPE_LINK); in __icmp_send()
H A Dnexthop.c1359 if (nhi->fib_nhc.nhc_flags & RTNH_F_ONLINK && scope >= RT_SCOPE_LINK) { in nexthop_check_scope()
2625 nhi->fib_nhc.nhc_scope = RT_SCOPE_LINK; in nexthop_create()
/kernel/linux/linux-5.10/net/phonet/
H A Dpn_netlink.c109 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
/kernel/linux/linux-6.6/net/phonet/
H A Dpn_netlink.c109 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Drtnetlink.h307 RT_SCOPE_LINK=253, enumerator
/kernel/linux/linux-6.6/include/net/
H A Droute.h46 return RT_SCOPE_LINK; in ip_sock_rt_scope()
H A Dip.h254 return RT_SCOPE_LINK; in ip_sendmsg_scope()
/kernel/linux/linux-6.6/include/uapi/linux/
H A Drtnetlink.h324 RT_SCOPE_LINK=253, enumerator
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Drtnetlink.h230 RT_SCOPE_LINK = 253, enumerator
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Drtnetlink.h201 RT_SCOPE_LINK=253, enumerator
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Drtnetlink.h230 RT_SCOPE_LINK = 253, enumerator
/kernel/linux/linux-6.6/net/mctp/
H A Droute.c1320 hdr->rtm_scope = RT_SCOPE_LINK; /* TODO: scope in mctp_route? */ in mctp_fill_rtinfo()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dipsec.c406 req.rt.rtm_scope = RT_SCOPE_LINK; in ip4_route_set()

Completed in 54 milliseconds

12