Searched refs:ifa_flags (Results 1 – 8 of 8) sorted by relevance
332 if (!(ifa1->ifa_flags & IFA_F_SECONDARY)) { in __inet_del_ifa()336 if (!(ifa->ifa_flags & IFA_F_SECONDARY) && in __inet_del_ifa()340 if (!(ifa->ifa_flags & IFA_F_SECONDARY) || in __inet_del_ifa()401 promote->ifa_flags &= ~IFA_F_SECONDARY; in __inet_del_ifa()436 ifa->ifa_flags &= ~IFA_F_SECONDARY; in __inet_insert_ifa()441 if (!(ifa1->ifa_flags & IFA_F_SECONDARY) && in __inet_insert_ifa()454 ifa->ifa_flags |= IFA_F_SECONDARY; in __inet_insert_ifa()458 if (!(ifa->ifa_flags & IFA_F_SECONDARY)) { in __inet_insert_ifa()624 ifa->ifa_flags = ifm->ifa_flags; in rtm_to_ifaddr()1265 ifm->ifa_flags = ifa->ifa_flags|IFA_F_PERMANENT; in inet_fill_ifaddr()
694 if (ifa->ifa_flags & IFA_F_SECONDARY) { in fib_add_ifaddr()711 if (!ipv4_is_zeronet(prefix) && !(ifa->ifa_flags & IFA_F_SECONDARY) && in fib_add_ifaddr()748 if (ifa->ifa_flags & IFA_F_SECONDARY) { in fib_del_ifaddr()784 if (ifa1->ifa_flags & IFA_F_SECONDARY) { in fib_del_ifaddr()
10 __u8 ifa_flags; /* Flags */ member
157 unsigned char ifa_flags; member200 for (ifa = (in_dev)->ifa_list; ifa && !(ifa->ifa_flags&IFA_F_SECONDARY); ifa = ifa->ifa_next)
656 ifa->ifa_flags = ifm->ifa_flags; in dn_nl_newaddr()693 ifm->ifa_flags = ifa->ifa_flags | IFA_F_PERMANENT; in dn_nl_fill_ifaddr()1048 if (!(ifa->ifa_flags & IFA_F_SECONDARY)) in dn_dev_timer_func()1174 ifa->ifa_flags = 0; in dn_dev_up()
12 __u8 ifa_flags; member
2188 unsigned int plen, __u8 ifa_flags, __u32 prefered_lft, in inet6_addr_add() argument2226 ifa_flags |= IFA_F_PERMANENT; in inet6_addr_add()2232 ifa_flags |= IFA_F_DEPRECATED; in inet6_addr_add()2236 ifp = ipv6_add_addr(idev, pfx, plen, scope, ifa_flags); in inet6_addr_add()3456 static int inet6_addr_modify(struct inet6_ifaddr *ifp, u8 ifa_flags, in inet6_addr_modify() argument3474 ifa_flags |= IFA_F_PERMANENT; in inet6_addr_modify()3480 ifa_flags |= IFA_F_DEPRECATED; in inet6_addr_modify()3485 …(ifp->flags & ~(IFA_F_DEPRECATED | IFA_F_PERMANENT | IFA_F_NODAD | IFA_F_HOMEADDRESS)) | ifa_flags; in inet6_addr_modify()3511 u8 ifa_flags; in inet6_rtm_newaddr() local3539 ifa_flags = ifm->ifa_flags & (IFA_F_NODAD | IFA_F_HOMEADDRESS); in inet6_rtm_newaddr()[all …]
116 ifm->ifa_flags = IFA_F_PERMANENT; in fill_addr()