]> The Tcpdump Group git mirrors - tcpdump/commit
add OpenFlow 1.0 decoder (no SSL) 312/head
authorDenis Ovsienko <[email protected]>
Tue, 21 May 2013 16:46:54 +0000 (20:46 +0400)
committerDenis Ovsienko <[email protected]>
Wed, 29 May 2013 09:03:23 +0000 (13:03 +0400)
commitfd35562d7e7153a339fdcdd02408f877e34a49fb
tree55c36152059262aadb3366b179db2c0e11b1bb40
parentceeea959186033c8fbcbed7a3626e5e612b9c133
add OpenFlow 1.0 decoder (no SSL)

The new file openflow-1.0.h is a verbatim copy of the file openflow.h
from the openflow-1.0.0.tar.gz distribution. The new file
print-openflow-1.0.c contains a set of functions for OpenFlow 1.0 (wire
protocol 0x01) decoding. Of these functions only
of10_header_body_print() is exported and used by the minimal OpenFlow
decoder.

It is intended that future (1.1, 1.2, 1.3.0) OpenFlow version decoders
are implemented the same way (in modules of their own), since different
versions of OpenFlow specification reuse the same symbols for different
numeric values. This way, print-openflow-1.1.c would include
openflow-1.1.h and so on.

The new test case "of10_p3295-vv" was produced using a Pica8 P-3295
switch and Trema controller running a purpose-built sample application.
Makefile.in
interface.h
openflow-1.0.h [new file with mode: 0644]
print-openflow-1.0.c [new file with mode: 0644]
print-openflow.c
tests/TESTLIST
tests/of10_p3295-vv.out [new file with mode: 0644]
tests/of10_p3295.pcap [new file with mode: 0644]