Bulk-add copyright headers to java files
[controller.git] / opendaylight / md-sal / compatibility / sal-compatibility / src / main / java / org / opendaylight / controller / sal / compatibility / ProtocolConstants.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.sal.compatibility;
9
10 public class ProtocolConstants {
11     // source: http://en.wikipedia.org/wiki/Ethertype
12     public static final short ETHERNET_ARP = (short) 0x0806;
13
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;
18
19     private ProtocolConstants() {
20
21     }
22 }