2 * Copyright (c) 2014 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.controller.sal.compatibility;
10 public class ProtocolConstants {
11 // source: http://en.wikipedia.org/wiki/Ethertype
12 public static final short ETHERNET_ARP = (short) 0x0806;
14 // source: http://en.wikipedia.org/wiki/List_of_IP_protocol_numbers
15 public static final byte TCP = (byte) 0x06;
16 public static final byte UDP = (byte) 0x11;
17 public static final byte CRUDP = (byte) 0x7F;
19 private ProtocolConstants() {