Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv4/
Ddevinet.c356 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()
468 ifa->ifa_scope <= ifa1->ifa_scope) in __inet_insert_ifa()
476 if (ifa1->ifa_scope != ifa->ifa_scope) { in __inet_insert_ifa()
547 ifa->ifa_scope = RT_SCOPE_HOST; in inet_set_ifa()
825 ifa->ifa_scope = ifm->ifa_scope; in rtm_to_ifaddr()
1116 ifa->ifa_scope = 0; in devinet_ioctl()
1238 if (ifa->ifa_scope != RT_SCOPE_LINK && in in_dev_select_addr()
1239 ifa->ifa_scope <= scope) in in_dev_select_addr()
1259 if (ifa->ifa_scope > scope) in inet_select_addr()
1318 ifa->ifa_scope <= scope) { in confirm_addr_indev()
[all …]
/Linux-v4.19/include/uapi/linux/
Dif_addr.h12 __u8 ifa_scope; /* Address scope */ member
/Linux-v4.19/net/decnet/
Ddn_dev.c404 ifa->ifa_scope = RT_SCOPE_HOST; in dn_dev_set_ifa()
660 ifa->ifa_scope = ifm->ifa_scope; in dn_nl_newaddr()
699 ifm->ifa_scope = ifa->ifa_scope; in dn_nl_fill_ifaddr()
1180 ifa->ifa_scope = RT_SCOPE_UNIVERSE; in dn_dev_up()
Ddn_route.c925 if (ifa->ifa_scope > scope) in dnet_select_source()
/Linux-v4.19/include/net/
Ddn_dev.h14 __u8 ifa_scope; member
/Linux-v4.19/net/phonet/
Dpn_netlink.c122 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
/Linux-v4.19/include/linux/
Dinetdevice.h145 unsigned char ifa_scope; member
/Linux-v4.19/net/ipv6/
Daddrconf.c3080 if (ifa->ifa_scope == RT_SCOPE_LINK) in sit_add_v4_addrs()
3082 if (ifa->ifa_scope >= RT_SCOPE_HOST) { in sit_add_v4_addrs()
4755 ifm->ifa_scope = scope; in put_ifaddrmsg()
4772 static inline int rt_scope(int ifa_scope) in rt_scope() argument
4774 if (ifa_scope & IFA_HOST) in rt_scope()
4776 else if (ifa_scope & IFA_LINK) in rt_scope()
4778 else if (ifa_scope & IFA_SITE) in rt_scope()