blob: 41c47802c212602214fd2ab7812f7f725e804dcf [file] [log] [blame]
Andreas Wundsama6fb1a22013-10-22 22:20:36 -07001-- binary
200 19 # type
300 10 # length
480 00 1a 02 # OXM header
500 32 # OXM value
600 00 00 00 00 00 # pad
7-- python
8ofp.action.set_field(field=ofp.oxm.tcp_src(50))
9-- java
10OFOxms oxms = OFFactories.getFactory(OFVersion.OF_13).oxms();
11builder.setField(oxms.tcpSrc(TransportPort.of(50)))