Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
Dfib_frontend.c1100 __be32 mask = ifa->ifa_mask; in fib_add_ifaddr()
1145 __be32 prefix = ifa->ifa_address & ifa->ifa_mask; in fib_modify_prefix_metric()
1177 __be32 brd = ifa->ifa_address | ~ifa->ifa_mask; in fib_del_ifaddr()
1178 __be32 any = ifa->ifa_address & ifa->ifa_mask; in fib_del_ifaddr()
1189 prim = inet_ifa_byprefix(in_dev, any, ifa->ifa_mask); in fib_del_ifaddr()
1227 if (iprim && ifa1->ifa_mask == iprim->ifa_mask && in fib_del_ifaddr()
1234 if (ifa1->ifa_mask == prim->ifa_mask && in fib_del_ifaddr()
1247 ifa1->ifa_mask != prim1->ifa_mask || in fib_del_ifaddr()
1251 ifa1->ifa_mask); in fib_del_ifaddr()
1274 __be32 brd1 = ifa1->ifa_address | ~ifa1->ifa_mask; in fib_del_ifaddr()
[all …]
Ddevinet.c379 ifa1->ifa_mask != ifa->ifa_mask || in __inet_del_ifa()
407 if (ifa1->ifa_mask == ifa->ifa_mask && in __inet_del_ifa()
451 if (ifa1->ifa_mask != ifa->ifa_mask || in __inet_del_ifa()
502 if (ifa1->ifa_mask == ifa->ifa_mask && in __inet_insert_ifa()
613 if (ifa->ifa_mask == mask && inet_ifa_match(prefix, ifa)) in inet_ifa_byprefix()
872 ifa->ifa_mask = inet_make_mask(ifm->ifa_prefixlen); in rtm_to_ifaddr()
921 if (ifa1->ifa_mask == ifa->ifa_mask && in find_matching_ifa()
1131 sin->sin_addr.s_addr = ifa->ifa_mask; in devinet_ioctl()
1175 ifa->ifa_mask = inet_make_mask(ifa->ifa_prefixlen); in devinet_ioctl()
1179 ~ifa->ifa_mask; in devinet_ioctl()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_broadcast.c47 mask = ifa->ifa_mask; in nf_conntrack_broadcast_help()
/kernel/linux/linux-5.10/include/linux/
Dinetdevice.h144 __be32 ifa_mask; member
200 return !((addr^ifa->ifa_address)&ifa->ifa_mask); in inet_ifa_match()
/kernel/linux/linux-5.10/arch/um/drivers/
Dnet_kern.c749 memcpy(netmask_buf, &ifa->ifa_mask, sizeof(netmask_buf)); in uml_inetaddr_event()
834 memcpy(netmask, &in->ifa_mask, sizeof(netmask)); in iter_addresses()
854 *mask_out = in->ifa_mask; in dev_netmask()
/kernel/linux/linux-5.10/net/smc/
Dsmc_clc.c175 prop->prefix_len = inet_mask_len(ifa->ifa_mask); in smc_clc_prfx_set4_rcu()
176 prop->outgoing_subnet = ifa->ifa_address & ifa->ifa_mask; in smc_clc_prfx_set4_rcu()
267 if (prop->prefix_len == inet_mask_len(ifa->ifa_mask) && in smc_clc_prfx_match4_rcu()
/kernel/linux/linux-5.10/drivers/net/wan/
Dhdlc_cisco.c203 mask = ifa->ifa_mask; in cisco_rx()
/kernel/linux/linux-5.10/drivers/s390/net/
Dqeth_l3_main.c2154 addr.u.a4.mask = ifa->ifa_mask; in qeth_l3_ip_event()