Home
last modified time | relevance | path

Searched refs:RT_SCOPE_LINK (Results 1 – 20 of 20) sorted by relevance

/linux-6.15/net/ipv4/
H A Dfib_semantics.c103 .scope = RT_SCOPE_LINK,
107 .scope = RT_SCOPE_LINK,
1098 nh->fib_nh_scope = RT_SCOPE_LINK; in fib_check_nh_v6_gw()
1159 if (scope >= RT_SCOPE_LINK) { in fib_check_nh_v4_gw()
1181 nh->fib_nh_scope = RT_SCOPE_LINK; in fib_check_nh_v4_gw()
1195 if (fl4.flowi4_scope < RT_SCOPE_LINK) in fib_check_nh_v4_gw()
1196 fl4.flowi4_scope = RT_SCOPE_LINK; in fib_check_nh_v4_gw()
2040 if (!nhc->nhc_gw_family || nhc->nhc_scope != RT_SCOPE_LINK) in fib_select_default()
2149 if (nh->fib_nh_scope == RT_SCOPE_LINK) { in fib_good_nh()
2232 fl4->saddr = inet_select_addr(l3mdev, 0, RT_SCOPE_LINK); in fib_select_path()
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()
1044 rt = ip_route_output(net, ip, 0, 0, 0, RT_SCOPE_LINK); in arp_req_dev()
H A Dfib_frontend.c303 scope = RT_SCOPE_LINK; in fib_compute_spec_dst()
595 cfg->fc_scope = RT_SCOPE_LINK; in rtentry_to_fib_config()
1128 cfg.fc_scope = RT_SCOPE_LINK; in fib_magic()
H A Droute.c1584 if (nhc->nhc_gw_family && nhc->nhc_scope == RT_SCOPE_LINK) { in rt_set_nexthop()
2620 nhc->nhc_scope == RT_SCOPE_LINK))) { in __mkroute_output()
2769 RT_SCOPE_LINK); in ip_route_output_key_hash_rcu()
2819 RT_SCOPE_LINK); in ip_route_output_key_hash_rcu()
H A Ddevinet.c1352 if (ifa->ifa_scope != RT_SCOPE_LINK && in in_dev_select_addr()
1376 localnet_scope = RT_SCOPE_LINK; in inet_select_addr()
1440 localnet_scope = RT_SCOPE_LINK; in confirm_addr_indev()
H A Dicmp.c713 RT_SCOPE_LINK); in __icmp_send()
H A Dnexthop.c1609 if (nhi->fib_nhc.nhc_flags & RTNH_F_ONLINK && scope >= RT_SCOPE_LINK) { in nexthop_check_scope()
2887 nhi->fib_nhc.nhc_scope = RT_SCOPE_LINK; in nexthop_create()
H A Dfib_trie.c2737 case RT_SCOPE_LINK: return "link"; in rtn_scope()
H A Dudp.c1408 if (scope == RT_SCOPE_LINK) in udp_sendmsg()
/linux-6.15/net/phonet/
H A Dpn_netlink.c116 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
/linux-6.15/include/net/
H A Droute.h43 return RT_SCOPE_LINK; in ip_sock_rt_scope()
H A Dip.h256 return RT_SCOPE_LINK; in ip_sendmsg_scope()
/linux-6.15/include/uapi/linux/
H A Drtnetlink.h333 RT_SCOPE_LINK=253, enumerator
/linux-6.15/net/atm/
H A Dclip.c466 rt = ip_route_output(&init_net, ip, 0, 0, 0, RT_SCOPE_LINK); in clip_setentry()
/linux-6.15/net/mctp/
H A Droute.c1408 hdr->rtm_scope = RT_SCOPE_LINK; /* TODO: scope in mctp_route? */ in mctp_fill_rtinfo()
/linux-6.15/drivers/net/
H A Dvrf.c535 RT_SCOPE_LINK); in vrf_process_v4_outbound()
/linux-6.15/tools/testing/selftests/net/
H A Dipsec.c445 req.rt.rtm_scope = RT_SCOPE_LINK; in ip4_route_set()
/linux-6.15/net/ipv6/
H A Daddrconf.c3254 if (ifa->ifa_scope == RT_SCOPE_LINK) in add_v4_addrs()
5115 return RT_SCOPE_LINK; in rt_scope()
/linux-6.15/net/bridge/
H A Dbr_multicast.c999 inet_select_addr(brmctx->br->dev, 0, RT_SCOPE_LINK) : 0; in br_ip4_multicast_alloc_query()
/linux-6.15/drivers/net/bonding/
H A Dbond_main.c3153 RT_SCOPE_LINK); in bond_arp_send_all()