Merge "Bug 2347: DOMConcurrentDataCommitCoordinator uses wrong phase name"
[controller.git] / third-party / openflowj / src / main / java / org / openflow / protocol / OFPort.java
1 package org.openflow.protocol;
2
3 public enum OFPort {
4     OFPP_MAX                ((short)0xff00),
5     OFPP_IN_PORT            ((short)0xfff8),
6     OFPP_TABLE              ((short)0xfff9),
7     OFPP_NORMAL             ((short)0xfffa),
8     OFPP_FLOOD              ((short)0xfffb),
9     OFPP_ALL                ((short)0xfffc),
10     OFPP_CONTROLLER         ((short)0xfffd),
11     OFPP_LOCAL              ((short)0xfffe),
12     OFPP_NONE               ((short)0xffff);
13
14     protected short value;
15
16     private OFPort(short value) {
17         this.value = value;
18     }
19
20     /**
21      * @return the value
22      */
23     public short getValue() {
24         return value;
25     }
26 }