Searched refs:RT_SCOPE_LINK (Results 1 – 20 of 20) sorted by relevance
/linux/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() 1042 rt = ip_route_output(net, ip, 0, 0, 0, RT_SCOPE_LINK); in arp_req_dev()
|
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 | devinet.c | 1327 if (ifa->ifa_scope != RT_SCOPE_LINK && in in_dev_select_addr() 1350 localnet_scope = RT_SCOPE_LINK; in inet_select_addr() 1414 localnet_scope = RT_SCOPE_LINK; in confirm_addr_indev()
|
H A D | route.c | 1559 if (nhc->nhc_gw_family && nhc->nhc_scope == RT_SCOPE_LINK) { in rt_set_nexthop() 2562 nhc->nhc_scope == RT_SCOPE_LINK))) { in __mkroute_output() 2711 RT_SCOPE_LINK); in ip_route_output_key_hash_rcu() 2761 RT_SCOPE_LINK); in ip_route_output_key_hash_rcu()
|
H A D | icmp.c | 710 RT_SCOPE_LINK); in __icmp_send()
|
H A D | nexthop.c | 1584 if (nhi->fib_nhc.nhc_flags & RTNH_F_ONLINK && scope >= RT_SCOPE_LINK) { in nexthop_check_scope() 2863 nhi->fib_nhc.nhc_scope = RT_SCOPE_LINK; in nexthop_create()
|
H A D | fib_trie.c | 2765 case RT_SCOPE_LINK: return "link"; in rtn_scope()
|
H A D | udp.c | 1194 if (scope == RT_SCOPE_LINK) in udp_sendmsg()
|
/linux/net/phonet/ |
H A D | pn_netlink.c | 109 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
|
/linux/include/net/ |
H A D | route.h | 41 return RT_SCOPE_LINK; in ip_sock_rt_scope()
|
H A D | ip.h | 254 return RT_SCOPE_LINK; in ip_sendmsg_scope()
|
/linux/include/uapi/linux/ |
H A D | rtnetlink.h | 324 RT_SCOPE_LINK=253, enumerator
|
/linux/net/atm/ |
H A D | clip.c | 466 rt = ip_route_output(&init_net, ip, 0, 0, 0, RT_SCOPE_LINK); in clip_setentry()
|
/linux/net/mctp/ |
H A D | route.c | 1384 hdr->rtm_scope = RT_SCOPE_LINK; /* TODO: scope in mctp_route? */ in mctp_fill_rtinfo()
|
/linux/drivers/net/ |
H A D | vrf.c | 570 RT_SCOPE_LINK); in vrf_process_v4_outbound()
|
/linux/tools/testing/selftests/net/ |
H A D | ipsec.c | 444 req.rt.rtm_scope = RT_SCOPE_LINK; in ip4_route_set()
|
/linux/net/ipv6/ |
H A D | addrconf.c | 3258 if (ifa->ifa_scope == RT_SCOPE_LINK) in add_v4_addrs() 5094 return RT_SCOPE_LINK; in rt_scope()
|
/linux/net/bridge/ |
H A D | br_multicast.c | 999 inet_select_addr(brmctx->br->dev, 0, RT_SCOPE_LINK) : 0; in br_ip4_multicast_alloc_query()
|
/linux/drivers/net/bonding/ |
H A D | bond_main.c | 3018 RT_SCOPE_LINK); in bond_arp_send_all()
|