Changes between Version 8 and Version 9 of Internal/OpenFlow/miscOF
- Timestamp:
- Jun 14, 2013, 7:27:58 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/miscOF
v8 v9 42 42 Its main page is here: http://www.openflowswitch.org/wk/index.php/Liboftrace [[BR]] 43 43 You can get the source from a git repo: with `git clone git://github.com/capveg/oftrace.git` [[BR]] 44 To build, you need `autoconf` and `libtool`. then it's the usual "./boot.sh;./configure ;make;make install". [[BR]]44 To build, you need `autoconf` and `libtool`. then it's the usual "./boot.sh;./configure --with-openflow-src-dir=./^1^;make;make install". [[BR]] 45 45 46 46 Both `ofstats` and `ofdump` follows the syntax: … … 58 58 59 59 The former is needed for the payload to be de-serialized properly, as class Ethernet calls getInstance() on the class being used as payload. The latter, or else it won't be parsed and casted properly. In addition point 2. implies that your class needs to implement IPacket. The best way to do this is by extending the provided abstract !BasePacket class. 60 61 [[BR]] 62 [[BR]] 63 ^1. given that you have include/openflow/openflow.h within the oftrace root directory^