Home
last modified time | relevance | path

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

/net/ipv4/
Dfib_frontend.c1188 struct in_ifaddr *ifa1; in fib_del_ifaddr() local
1233 in_dev_for_each_ifa_rcu(ifa1, in_dev) { in fib_del_ifaddr()
1234 if (ifa1 == ifa) { in fib_del_ifaddr()
1240 if (iprim && ifa1->ifa_mask == iprim->ifa_mask && in fib_del_ifaddr()
1241 inet_ifa_match(ifa1->ifa_address, iprim)) in fib_del_ifaddr()
1245 if (ifa1->ifa_flags & IFA_F_SECONDARY) { in fib_del_ifaddr()
1247 if (ifa1->ifa_mask == prim->ifa_mask && in fib_del_ifaddr()
1248 inet_ifa_match(ifa1->ifa_address, prim)) in fib_del_ifaddr()
1260 ifa1->ifa_mask != prim1->ifa_mask || in fib_del_ifaddr()
1261 !inet_ifa_match(ifa1->ifa_address, prim1)) in fib_del_ifaddr()
[all …]
Ddevinet.c353 struct in_ifaddr *ifa, *ifa1; in __inet_del_ifa() local
360 ifa1 = rtnl_dereference(*ifap); in __inet_del_ifa()
369 if (!(ifa1->ifa_flags & IFA_F_SECONDARY)) { in __inet_del_ifa()
370 struct in_ifaddr __rcu **ifap1 = &ifa1->ifa_next; in __inet_del_ifa()
374 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()
378 ifa1->ifa_mask != ifa->ifa_mask || in __inet_del_ifa()
379 !inet_ifa_match(ifa1->ifa_address, ifa)) { in __inet_del_ifa()
406 if (ifa1->ifa_mask == ifa->ifa_mask && in __inet_del_ifa()
407 inet_ifa_match(ifa1->ifa_address, ifa)) in __inet_del_ifa()
408 fib_del_ifaddr(ifa, ifa1); in __inet_del_ifa()
[all …]