Searched refs:ifa_flags (Results 1 – 5 of 5) sorted by relevance
331 if (!(ifa1->ifa_flags & IFA_F_SECONDARY)) { in __inet_del_ifa()335 if (!(ifa->ifa_flags & IFA_F_SECONDARY) && in __inet_del_ifa()339 if (!(ifa->ifa_flags & IFA_F_SECONDARY) || in __inet_del_ifa()400 promote->ifa_flags &= ~IFA_F_SECONDARY; in __inet_del_ifa()439 ifa->ifa_flags &= ~IFA_F_SECONDARY; in __inet_insert_ifa()444 if (!(ifa1->ifa_flags & IFA_F_SECONDARY) && in __inet_insert_ifa()457 ifa->ifa_flags |= IFA_F_SECONDARY; in __inet_insert_ifa()461 if (!(ifa->ifa_flags & IFA_F_SECONDARY)) { in __inet_insert_ifa()604 if (ifa->ifa_flags & IFA_F_PERMANENT) in check_lifetime()623 if (!(ifa->ifa_flags & IFA_F_DEPRECATED)) in check_lifetime()[all …]
744 if (ifa->ifa_flags & IFA_F_SECONDARY) { in fib_add_ifaddr()761 if (!ipv4_is_zeronet(prefix) && !(ifa->ifa_flags & IFA_F_SECONDARY) && in fib_add_ifaddr()798 if (ifa->ifa_flags & IFA_F_SECONDARY) { in fib_del_ifaddr()834 if (ifa1->ifa_flags & IFA_F_SECONDARY) { in fib_del_ifaddr()
651 ifa->ifa_flags = ifm->ifa_flags; in dn_nl_newaddr()688 ifm->ifa_flags = ifa->ifa_flags | IFA_F_PERMANENT; in dn_nl_fill_ifaddr()1043 if (!(ifa->ifa_flags & IFA_F_SECONDARY)) in dn_dev_timer_func()1169 ifa->ifa_flags = 0; in dn_dev_up()
2494 unsigned int plen, __u8 ifa_flags, __u32 prefered_lft, in inet6_addr_add() argument2532 ifa_flags |= IFA_F_PERMANENT; in inet6_addr_add()2538 ifa_flags |= IFA_F_DEPRECATED; in inet6_addr_add()2542 ifp = ipv6_add_addr(idev, pfx, plen, scope, ifa_flags); in inet6_addr_add()3764 static int inet6_addr_modify(struct inet6_ifaddr *ifp, u8 ifa_flags, in inet6_addr_modify() argument3782 ifa_flags |= IFA_F_PERMANENT; in inet6_addr_modify()3788 ifa_flags |= IFA_F_DEPRECATED; in inet6_addr_modify()3793 …(ifp->flags & ~(IFA_F_DEPRECATED | IFA_F_PERMANENT | IFA_F_NODAD | IFA_F_HOMEADDRESS)) | ifa_flags; in inet6_addr_modify()3819 u8 ifa_flags; in inet6_rtm_newaddr() local3847 ifa_flags = ifm->ifa_flags & (IFA_F_NODAD | IFA_F_HOMEADDRESS); in inet6_rtm_newaddr()[all …]
119 ifm->ifa_flags = IFA_F_PERMANENT; in fill_addr()