Home
last modified time | relevance | path

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

/openbmc/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.c372 struct in_ifaddr *ifa, *ifa1; in __inet_del_ifa() local
379 ifa1 = rtnl_dereference(*ifap); in __inet_del_ifa()
388 if (!(ifa1->ifa_flags & IFA_F_SECONDARY)) { in __inet_del_ifa()
389 struct in_ifaddr __rcu **ifap1 = &ifa1->ifa_next; in __inet_del_ifa()
393 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()
397 ifa1->ifa_mask != ifa->ifa_mask || in __inet_del_ifa()
398 !inet_ifa_match(ifa1->ifa_address, ifa)) { in __inet_del_ifa()
425 if (ifa1->ifa_mask == ifa->ifa_mask && in __inet_del_ifa()
426 inet_ifa_match(ifa1->ifa_address, ifa)) in __inet_del_ifa()
427 fib_del_ifaddr(ifa, ifa1); in __inet_del_ifa()
[all …]