Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ipv4/
A Ddevinet.c378 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()
503 ifa->ifa_scope <= ifa1->ifa_scope) in __inet_insert_ifa()
511 if (ifa1->ifa_scope != ifa->ifa_scope) { in __inet_insert_ifa()
583 ifa->ifa_scope = RT_SCOPE_HOST; in inet_set_ifa()
875 ifa->ifa_scope = ifm->ifa_scope; in rtm_to_ifaddr()
1171 ifa->ifa_scope = 0; in devinet_ioctl()
1297 if (ifa->ifa_scope != RT_SCOPE_LINK && in in_dev_select_addr()
1298 ifa->ifa_scope <= scope) in in_dev_select_addr()
1325 if (min(ifa->ifa_scope, localnet_scope) > scope) in inet_select_addr()
1569 ifa->ifa_scope = RT_SCOPE_HOST; in inetdev_event()
[all …]
/linux-6.3-rc2/include/uapi/linux/
A Dif_addr.h12 __u8 ifa_scope; /* Address scope */ member
/linux-6.3-rc2/net/phonet/
A Dpn_netlink.c109 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
/linux-6.3-rc2/include/linux/
A Dinetdevice.h151 unsigned char ifa_scope; member
/linux-6.3-rc2/net/mctp/
A Ddevice.c77 hdr->ifa_scope = 0; in mctp_fill_addrinfo()
/linux-6.3-rc2/net/ipv6/
A Daddrconf.c3159 if (ifa->ifa_scope == RT_SCOPE_LINK) in add_v4_addrs()
3161 if (ifa->ifa_scope >= RT_SCOPE_HOST) { in add_v4_addrs()
4955 ifm->ifa_scope = scope; in put_ifaddrmsg()
4972 static inline int rt_scope(int ifa_scope) in rt_scope() argument
4974 if (ifa_scope & IFA_HOST) in rt_scope()
4976 else if (ifa_scope & IFA_LINK) in rt_scope()
4978 else if (ifa_scope & IFA_SITE) in rt_scope()
5231 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_valid_dump_ifaddr_req()
5390 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_rtm_valid_getaddr_req()

Completed in 32 milliseconds