Home
last modified time | relevance | path

Searched refs:ifa_scope (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Ddevinet.c375 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()
500 ifa->ifa_scope <= ifa1->ifa_scope) in __inet_insert_ifa()
508 if (ifa1->ifa_scope != ifa->ifa_scope) { in __inet_insert_ifa()
582 ifa->ifa_scope = RT_SCOPE_HOST; in inet_set_ifa()
875 ifa->ifa_scope = ifm->ifa_scope; in rtm_to_ifaddr()
1168 ifa->ifa_scope = 0; in devinet_ioctl()
1295 if (ifa->ifa_scope != RT_SCOPE_LINK && in in_dev_select_addr()
1296 ifa->ifa_scope <= scope) in in_dev_select_addr()
1323 if (min(ifa->ifa_scope, localnet_scope) > scope) in inet_select_addr()
1385 unsigned char min_scope = min(ifa->ifa_scope, localnet_scope); in confirm_addr_indev()
[all …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dif_addr.h14 __u8 ifa_scope; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dif_addr.h27 __u8 ifa_scope; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dif_addr.h12 __u8 ifa_scope; /* Address scope */ member
/kernel/linux/linux-5.10/net/decnet/
Ddn_dev.c403 ifa->ifa_scope = RT_SCOPE_HOST; in dn_dev_set_ifa()
657 ifa->ifa_scope = ifm->ifa_scope; in dn_nl_newaddr()
696 ifm->ifa_scope = ifa->ifa_scope; in dn_nl_fill_ifaddr()
1177 ifa->ifa_scope = RT_SCOPE_UNIVERSE; in dn_dev_up()
Ddn_route.c921 if (ifa->ifa_scope > scope) in dnet_select_source()
/kernel/linux/linux-5.10/include/net/
Ddn_dev.h14 __u8 ifa_scope; member
/kernel/linux/linux-5.10/net/phonet/
Dpn_netlink.c109 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
/kernel/linux/linux-5.10/include/linux/
Dinetdevice.h147 unsigned char ifa_scope; member
/kernel/linux/linux-5.10/net/ipv6/
Daddrconf.c3148 if (ifa->ifa_scope == RT_SCOPE_LINK) in sit_add_v4_addrs()
3150 if (ifa->ifa_scope >= RT_SCOPE_HOST) { in sit_add_v4_addrs()
4924 ifm->ifa_scope = scope; in put_ifaddrmsg()
4941 static inline int rt_scope(int ifa_scope) in rt_scope() argument
4943 if (ifa_scope & IFA_HOST) in rt_scope()
4945 else if (ifa_scope & IFA_LINK) in rt_scope()
4947 else if (ifa_scope & IFA_SITE) in rt_scope()
5192 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_valid_dump_ifaddr_req()
5352 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_rtm_valid_getaddr_req()