Home
last modified time | relevance | path

Searched refs:ifa_scope (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/ipv4/
H A Ddevinet.c374 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()
499 ifa->ifa_scope <= ifa1->ifa_scope) in __inet_insert_ifa()
507 if (ifa1->ifa_scope != ifa->ifa_scope) { in __inet_insert_ifa()
581 ifa->ifa_scope = RT_SCOPE_HOST; in inet_set_ifa()
874 ifa->ifa_scope = ifm->ifa_scope; in rtm_to_ifaddr()
1167 ifa->ifa_scope in devinet_ioctl()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H 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()
584 ifa->ifa_scope = RT_SCOPE_HOST; in inet_set_ifa()
888 ifa->ifa_scope = ifm->ifa_scope; in rtm_to_ifaddr()
1191 ifa->ifa_scope in devinet_ioctl()
[all...]
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dif_addr.h12 __u8 ifa_scope; /* Address scope */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dif_addr.h27 __u8 ifa_scope; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dif_addr.h27 __u8 ifa_scope; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dif_addr.h14 __u8 ifa_scope; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dif_addr.h12 __u8 ifa_scope; /* Address scope */ member
/kernel/linux/linux-5.10/net/phonet/
H A Dpn_netlink.c109 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
/kernel/linux/linux-5.10/include/linux/
H A Dinetdevice.h147 unsigned char ifa_scope; member
/kernel/linux/linux-6.6/include/linux/
H A Dinetdevice.h151 unsigned char ifa_scope; member
/kernel/linux/linux-6.6/net/phonet/
H A Dpn_netlink.c109 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
/kernel/linux/linux-6.6/net/mctp/
H A Ddevice.c77 hdr->ifa_scope = 0; in mctp_fill_addrinfo()
/kernel/linux/linux-5.10/net/ipv6/
H A Daddrconf.c3159 if (ifa->ifa_scope == RT_SCOPE_LINK) in sit_add_v4_addrs()
3161 if (ifa->ifa_scope >= RT_SCOPE_HOST) { in sit_add_v4_addrs()
4935 ifm->ifa_scope = scope; in put_ifaddrmsg()
4952 static inline int rt_scope(int ifa_scope) in rt_scope() argument
4954 if (ifa_scope & IFA_HOST) in rt_scope()
4956 else if (ifa_scope & IFA_LINK) in rt_scope()
4958 else if (ifa_scope & IFA_SITE) in rt_scope()
5203 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_valid_dump_ifaddr_req()
5363 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_rtm_valid_getaddr_req()
/kernel/linux/linux-6.6/net/ipv6/
H A Daddrconf.c3211 if (ifa->ifa_scope == RT_SCOPE_LINK) in add_v4_addrs()
3213 if (ifa->ifa_scope >= RT_SCOPE_HOST) { in add_v4_addrs()
5012 ifm->ifa_scope = scope; in put_ifaddrmsg()
5029 static inline int rt_scope(int ifa_scope) in rt_scope() argument
5031 if (ifa_scope & IFA_HOST) in rt_scope()
5033 else if (ifa_scope & IFA_LINK) in rt_scope()
5035 else if (ifa_scope & IFA_SITE) in rt_scope()
5288 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_valid_dump_ifaddr_req()
5447 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_rtm_valid_getaddr_req()

Completed in 26 milliseconds