Lines Matching refs:family
61 // The protocol family of the socket
62 private final ProtocolFamily family;
114 this.family = Net.isIPv6Available() ?
116 this.fd = Net.socket(family, false);
125 public DatagramChannelImpl(SelectorProvider sp, ProtocolFamily family)
129 if ((family != StandardProtocolFamily.INET) &&
130 (family != StandardProtocolFamily.INET6))
132 if (family == null)
133 throw new NullPointerException("'family' is null");
135 throw new UnsupportedOperationException("Protocol family not supported");
137 if (family == StandardProtocolFamily.INET6) {
142 this.family = family;
143 this.fd = Net.socket(family, false);
152 this.family = Net.isIPv6Available() ?
199 if (family == StandardProtocolFamily.INET) {
200 Net.setSocketOption(fd, family, name, value);
209 Net.setSocketOption(fd, family, name, value);
217 if (family == StandardProtocolFamily.INET6) {
259 if (family == StandardProtocolFamily.INET) {
260 return (T) Net.getSocketOption(fd, family, name);
269 return (T) Net.getSocketOption(fd, family, name);
273 if (family == StandardProtocolFamily.INET) {
535 boolean preferIPv6 = (family != StandardProtocolFamily.INET);
689 if (family == StandardProtocolFamily.INET) {
698 if (family == StandardProtocolFamily.INET) {
708 Net.bind(family, fd, isa.getAddress(), isa.getPort());
744 int n = Net.connect(family,
777 boolean isIPv6 = (family == StandardProtocolFamily.INET6);