2 * Copyright (c) 2013 Cisco Systems, 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
8 package org.opendaylight.protocol.concepts;
11 * IPv4 Address prefix.
13 public class IPv4Prefix extends AbstractPrefix<IPv4Address> {
15 private static final long serialVersionUID = 2206353300109616995L;
18 * Construct an IPv4 prefix given a base IPv4 address and prefix
21 * @param address Base address
22 * @param length Prefix length, as to be between 0-32.
24 public IPv4Prefix(final IPv4Address address, final int length) {
25 super(address, length);
29 public IPv4 getAddressFamily() {