Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv4/
Ddevinet.c346 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()
455 ifa->ifa_scope <= ifa1->ifa_scope) in __inet_insert_ifa()
463 if (ifa1->ifa_scope != ifa->ifa_scope) { in __inet_insert_ifa()
516 ifa->ifa_scope = RT_SCOPE_HOST; in inet_set_ifa()
791 ifa->ifa_scope = ifm->ifa_scope; in rtm_to_ifaddr()
1073 ifa->ifa_scope = 0; in devinet_ioctl()
1205 if (ifa->ifa_scope > scope) in inet_select_addr()
1229 if (ifa->ifa_scope != RT_SCOPE_LINK && in inet_select_addr()
1230 ifa->ifa_scope <= scope) { in inet_select_addr()
1251 ifa->ifa_scope <= scope) { in confirm_addr_indev()
[all …]
/linux-4.1.27/include/uapi/linux/
Dif_addr.h11 __u8 ifa_scope; /* Address scope */ member
/linux-4.1.27/net/decnet/
Ddn_dev.c403 ifa->ifa_scope = RT_SCOPE_HOST; in dn_dev_set_ifa()
655 ifa->ifa_scope = ifm->ifa_scope; in dn_nl_newaddr()
694 ifm->ifa_scope = ifa->ifa_scope; in dn_nl_fill_ifaddr()
1177 ifa->ifa_scope = RT_SCOPE_UNIVERSE; in dn_dev_up()
Ddn_route.c935 if (ifa->ifa_scope > scope) in dnet_select_source()
/linux-4.1.27/include/net/
Ddn_dev.h13 __u8 ifa_scope; member
/linux-4.1.27/include/linux/
Dinetdevice.h138 unsigned char ifa_scope; member
/linux-4.1.27/net/phonet/
Dpn_netlink.c120 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
/linux-4.1.27/net/ipv6/
Daddrconf.c2793 if (ifa->ifa_scope == RT_SCOPE_LINK) in sit_add_v4_addrs()
2795 if (ifa->ifa_scope >= RT_SCOPE_HOST) { in sit_add_v4_addrs()
4178 ifm->ifa_scope = scope; in put_ifaddrmsg()
4195 static inline int rt_scope(int ifa_scope) in rt_scope() argument
4197 if (ifa_scope & IFA_HOST) in rt_scope()
4199 else if (ifa_scope & IFA_LINK) in rt_scope()
4201 else if (ifa_scope & IFA_SITE) in rt_scope()