Home
last modified time | relevance | path

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

/linux/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()
1042 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()
589 cfg->fc_scope = RT_SCOPE_LINK; in rtentry_to_fib_config()
1099 cfg.fc_scope = RT_SCOPE_LINK; in fib_magic()
H A Ddevinet.c1327 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 Droute.c1559 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 Dicmp.c710 RT_SCOPE_LINK); in __icmp_send()
H A Dnexthop.c1584 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 Dfib_trie.c2765 case RT_SCOPE_LINK: return "link"; in rtn_scope()
H A Dudp.c1194 if (scope == RT_SCOPE_LINK) in udp_sendmsg()
/linux/net/phonet/
H A Dpn_netlink.c109 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
/linux/include/net/
H A Droute.h41 return RT_SCOPE_LINK; in ip_sock_rt_scope()
H A Dip.h254 return RT_SCOPE_LINK; in ip_sendmsg_scope()
/linux/include/uapi/linux/
H A Drtnetlink.h324 RT_SCOPE_LINK=253, enumerator
/linux/net/atm/
H A Dclip.c466 rt = ip_route_output(&init_net, ip, 0, 0, 0, RT_SCOPE_LINK); in clip_setentry()
/linux/net/mctp/
H A Droute.c1384 hdr->rtm_scope = RT_SCOPE_LINK; /* TODO: scope in mctp_route? */ in mctp_fill_rtinfo()
/linux/drivers/net/
H A Dvrf.c570 RT_SCOPE_LINK); in vrf_process_v4_outbound()
/linux/tools/testing/selftests/net/
H A Dipsec.c444 req.rt.rtm_scope = RT_SCOPE_LINK; in ip4_route_set()
/linux/net/ipv6/
H A Daddrconf.c3258 if (ifa->ifa_scope == RT_SCOPE_LINK) in add_v4_addrs()
5094 return RT_SCOPE_LINK; in rt_scope()
/linux/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/drivers/net/bonding/
H A Dbond_main.c3018 RT_SCOPE_LINK); in bond_arp_send_all()