Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A 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 …]
H A Ddevinet.c387 struct in_ifaddr *ifa, *ifa1; in __inet_del_ifa() local
394 ifa1 = rtnl_dereference(*ifap); in __inet_del_ifa()
403 if (!(ifa1->ifa_flags & IFA_F_SECONDARY)) { in __inet_del_ifa()
404 struct in_ifaddr __rcu **ifap1 = &ifa1->ifa_next; in __inet_del_ifa()
408 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()
412 ifa1->ifa_mask != ifa->ifa_mask || in __inet_del_ifa()
413 !inet_ifa_match(ifa1->ifa_address, ifa)) { in __inet_del_ifa()
440 if (ifa1->ifa_mask == ifa->ifa_mask && in __inet_del_ifa()
441 inet_ifa_match(ifa1->ifa_address, ifa)) in __inet_del_ifa()
442 fib_del_ifaddr(ifa, ifa1); in __inet_del_ifa()
[all …]