Home | History | Annotate | Download | only in DNS

Lines Matching refs:family

39 private int family;
49 checkMaskLength(String field, int family, int val) {
50 int max = Address.addressLength(family) * 8;
73 this.family = Address.familyOf(address);
74 this.sourceNetmask = checkMaskLength("source netmask", this.family,
76 this.scopeNetmask = checkMaskLength("scope netmask", this.family,
98 * Returns the family of the network address. This will be either IPv4 (1)
103 return family;
126 family = in.readU16();
127 if (family != Address.IPv4 && family != Address.IPv6)
128 throw new WireParseException("unknown address family");
130 if (sourceNetmask > Address.addressLength(family) * 8)
133 if (scopeNetmask > Address.addressLength(family) * 8)
142 byte [] fulladdr = new byte[Address.addressLength(family)];
158 out.writeU16(family);