Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnf_nat_redirect.c94 unsigned int ifa_scope = ifa_addr_type & IPV6_ADDR_SCOPE_MASK; in nf_nat_redirect_ipv6_usable() local
96 if (!(scope & ifa_scope)) in nf_nat_redirect_ipv6_usable()
/linux/include/uapi/linux/
H A Dif_addr.h12 __u8 ifa_scope; /* Address scope */ member
/linux/tools/include/uapi/linux/
H A Dif_addr.h12 __u8 ifa_scope; /* Address scope */ member
/linux/net/phonet/
H A Dpn_netlink.c116 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
/linux/net/mctp/
H A Ddevice.c77 hdr->ifa_scope = 0; in mctp_fill_addrinfo()
/linux/net/ipv6/
H A Daddrconf.c3255 if (ifa->ifa_scope == RT_SCOPE_LINK) in add_v4_addrs()
3257 if (ifa->ifa_scope >= RT_SCOPE_HOST) { in add_v4_addrs()
5101 ifm->ifa_scope = scope; in put_ifaddrmsg()
5118 static inline int rt_scope(int ifa_scope) in rt_scope() argument
5120 if (ifa_scope & IFA_HOST) in rt_scope()
5122 else if (ifa_scope & IFA_LINK) in rt_scope()
5124 else if (ifa_scope & IFA_SITE) in rt_scope()
5366 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_valid_dump_ifaddr_req()
5508 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_rtm_valid_getaddr_req()
/linux/net/ipv4/
H A Dicmp.c660 if (ifa->ifa_scope != RT_SCOPE_UNIVERSE || in icmp_ext_iio_addr4_find()
H A Digmp.c1467 ifm->ifa_scope = RT_SCOPE_UNIVERSE; in inet_fill_ifmcaddr()