Lines Matching refs:flags

45  * <li>Address flags: A bitmask of {@code OsConstants.IFA_F_*} values representing properties
65 * Address flags. A bitmask of IFA_F_* values.
67 private int flags;
114 private void init(InetAddress address, int prefixLength, int flags, int scope) {
125 this.flags = flags;
131 * the specified flags and scope. Flags and scope are not checked for validity.
134 * @param flags A bitmask of {@code IFA_F_*} values representing properties of the address.
139 public LinkAddress(InetAddress address, int prefixLength, int flags, int scope) {
140 init(address, prefixLength, flags, scope);
145 * The flags are set to zero and the scope is determined from the address.
157 * The flags are set to zero and the scope is determined from the address.
168 * "2001:db8::1/64". The flags are set to zero and the scope is determined from the address.
179 * "2001:db8::1/64", with the specified flags and scope.
181 * @param flags The address flags.
185 public LinkAddress(String address, int flags, int scope) {
188 init(ipAndMask.first, ipAndMask.second, flags, scope);
193 * The string representation does not contain the flags and scope, just the address and prefix
203 * their address, prefix length, flags and scope are equal. Thus, for example, two addresses
218 this.flags == linkAddress.flags &&
227 return address.hashCode() + 11 * prefixLength + 19 * flags + 43 * scope;
269 * Returns the flags of this {@code LinkAddress}.
272 return flags;
291 * flags are cleared regardless).
295 (flags & (IFA_F_DADFAILED | IFA_F_DEPRECATED)) == 0L &&
296 ((flags & IFA_F_TENTATIVE) == 0L || (flags & IFA_F_OPTIMISTIC) != 0L));
309 public void writeToParcel(Parcel dest, int flags) {
312 dest.writeInt(this.flags);
331 int flags = in.readInt();
333 return new LinkAddress(address, prefixLength, flags, scope);