Home
last modified time | relevance | path

Searched refs:ifa1 (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/net/ipv4/
Dfib_frontend.c1187 struct in_ifaddr *ifa1; in fib_del_ifaddr() local
1232 in_dev_for_each_ifa_rcu(ifa1, in_dev) { in fib_del_ifaddr()
1233 if (ifa1 == ifa) { in fib_del_ifaddr()
1239 if (iprim && ifa1->ifa_mask == iprim->ifa_mask && in fib_del_ifaddr()
1240 inet_ifa_match(ifa1->ifa_address, iprim)) in fib_del_ifaddr()
1244 if (ifa1->ifa_flags & IFA_F_SECONDARY) { in fib_del_ifaddr()
1246 if (ifa1->ifa_mask == prim->ifa_mask && in fib_del_ifaddr()
1247 inet_ifa_match(ifa1->ifa_address, prim)) in fib_del_ifaddr()
1259 ifa1->ifa_mask != prim1->ifa_mask || in fib_del_ifaddr()
1260 !inet_ifa_match(ifa1->ifa_address, prim1)) in fib_del_ifaddr()
[all …]
Ddevinet.c357 struct in_ifaddr *ifa, *ifa1; in __inet_del_ifa() local
364 ifa1 = rtnl_dereference(*ifap); in __inet_del_ifa()
373 if (!(ifa1->ifa_flags & IFA_F_SECONDARY)) { in __inet_del_ifa()
374 struct in_ifaddr __rcu **ifap1 = &ifa1->ifa_next; in __inet_del_ifa()
378 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()
382 ifa1->ifa_mask != ifa->ifa_mask || in __inet_del_ifa()
383 !inet_ifa_match(ifa1->ifa_address, ifa)) { in __inet_del_ifa()
410 if (ifa1->ifa_mask == ifa->ifa_mask && in __inet_del_ifa()
411 inet_ifa_match(ifa1->ifa_address, ifa)) in __inet_del_ifa()
412 fib_del_ifaddr(ifa, ifa1); in __inet_del_ifa()
[all …]