Andreas Wundsam | a6fb1a2 | 2013-10-22 22:20:36 -0700 | [diff] [blame] | 1 | -- binary |
2 | 00 19 # type | ||||
3 | 00 10 # length | ||||
4 | 80 00 1a 02 # OXM header | ||||
5 | 00 32 # OXM value | ||||
6 | 00 00 00 00 00 00 # pad | ||||
7 | -- python | ||||
8 | ofp.action.set_field(field=ofp.oxm.tcp_src(50)) | ||||
9 | -- java | ||||
10 | OFOxms oxms = OFFactories.getFactory(OFVersion.OF_13).oxms(); | ||||
11 | builder.setField(oxms.tcpSrc(TransportPort.of(50))) |