/kernel/linux/linux-5.10/net/ipv4/ |
H A D | fib_semantics.c | 112 .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 D | fib_frontend.c | 302 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 D | arp.c | 373 saddr = inet_select_addr(dev, target, RT_SCOPE_LINK); in arp_solicit() 415 scope = RT_SCOPE_LINK; in arp_ignore()
|
H A D | route.c | 539 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 D | devinet.c | 1293 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 D | nexthop.c | 696 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 D | icmp.c | 711 RT_SCOPE_LINK); in __icmp_send()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | fib_semantics.c | 114 .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 D | arp.c | 374 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 D | fib_frontend.c | 303 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 D | route.c | 507 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 D | devinet.c | 1317 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 D | icmp.c | 705 RT_SCOPE_LINK); in __icmp_send()
|
H A D | nexthop.c | 1359 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 D | pn_netlink.c | 109 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
|
/kernel/linux/linux-6.6/net/phonet/ |
H A D | pn_netlink.c | 109 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | rtnetlink.h | 307 RT_SCOPE_LINK=253, enumerator
|
/kernel/linux/linux-6.6/include/net/ |
H A D | route.h | 46 return RT_SCOPE_LINK; in ip_sock_rt_scope()
|
H A D | ip.h | 254 return RT_SCOPE_LINK; in ip_sendmsg_scope()
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | rtnetlink.h | 324 RT_SCOPE_LINK=253, enumerator
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 230 RT_SCOPE_LINK = 253, enumerator
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 201 RT_SCOPE_LINK=253, enumerator
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 230 RT_SCOPE_LINK = 253, enumerator
|
/kernel/linux/linux-6.6/net/mctp/ |
H A D | route.c | 1320 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 D | ipsec.c | 406 req.rt.rtm_scope = RT_SCOPE_LINK; in ip4_route_set()
|