2 * Copyright (c) 2014 Contextream, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.lispflowmapping.type.lisp.address;
11 import java.net.InetAddress;
13 import org.opendaylight.lispflowmapping.type.AddressFamilyNumberEnum;
15 public class LispIpv6Address extends LispIPAddress {
17 public LispIpv6Address(InetAddress address) {
18 super(address, AddressFamilyNumberEnum.IP6);
21 public LispIpv6Address(byte[] address) {
22 super(address, AddressFamilyNumberEnum.IP6);
25 public LispIpv6Address(String name) {
26 super(name, AddressFamilyNumberEnum.IP6);
29 public int getMaxMask() {
34 public LispIpv6Address clone() {
35 LispIpv6Address clonedAddress = new LispIpv6Address(address.getHostAddress());