Commit Graph
289 Commits
Author SHA1 Message Date
David Underhill ad275cd215 fix compile includes path 2008-08-26 22:04:34 -07:00
Glen Gibb e0dfe54851 Updated for version 0x85 2008-08-13 12:26:08 -07:00
Glen Gibb 8d71d51271 Corrected polarity of wildcards field. 2008-07-23 22:59:44 -07:00
root f90bb58969 OpenFlow Table Monitoring (table-mtr) option to dpctl utility 2008-07-17 17:31:48 -07:00
brandonh cedfdebfd0 added check for RH kernel, copied from master, to get past build error 2008-06-29 18:19:15 -07:00
David Underhill 0ac12a6d03 Buffer IDs now shown in description.
-- Except if 0xFFFFFFFF for packet out which means 'None'
  -- This special value now printed as none for buffer id vice '-1' (oops)
2008-07-15 20:58:27 -07:00
David Underhill 1a78970fa3 Improved description line
-- Warning about version dissector not designed to handle now shown in description
     -- Full details still under the header subtree
  -- No version number shown now (can still see it in the header)
  -- Length shown at the end now
  -- Message type shown in parens after the type's name
2008-07-15 20:33:34 -07:00
David Underhill 34abd1d3c6 Protocol now listed as OFP vice OPENFLOW 2008-07-15 20:24:37 -07:00
David Underhill 66d683f11d Better OpenFlow version handling and support for the current 0x84 diff. 2008-07-15 20:17:52 -07:00
David Underhill 1523df7983 Pretty-print all port values with new specialized port value dissector.
-- Checked to see if they match a special ofp_port type
  -- Also stored in the filter of.port for numeric searching since all port
     values are now given to wireshark as strings
2008-07-15 19:57:18 -07:00
David Underhill e2572ca5b9 Bug fix: fixed parsing of actions.
-- Actions were being interpreted as variable-byte fields instead of fixed-length fields
  -- Now parse the padding in action fields as the spec intends
2008-07-15 18:47:24 -07:00
brandonh 0be52ccff6 removed test file. sorry for this email 2008-06-29 03:39:57 -07:00
brandonh 6f36f17f0d brandon's tests, please ignore, will remove next 2008-06-29 03:38:50 -07:00
David Underhill ade3d16564 Removed unneeded names arrays (many flags are bitfields which get their owns vars as a result and don't need these). 2008-07-12 02:19:08 -07:00
David Underhill 3fcd9ee1a9 refactored aggregate var decls to aggr 2008-07-12 02:15:21 -07:00
David Underhill 2fbfe610c3 Consolidated padding handling into a single dissetion method. 2008-07-12 02:13:57 -07:00
David Underhill 56dfd8735e Can now handle all stats replies (added flow, aggr) 2008-07-12 02:01:25 -07:00
David Underhill 80b28b532e Completed OFPT_STATS_REQUEST type.
-- Table IDs now strings so we can say 'All Tables' when value is 0xFF
  -- Refactored reply stats to include reply in the name (was missing for flow reply fields)
2008-07-12 01:48:31 -07:00
David Underhill 750e48e57c -- Added support for dissecting remaining fields.
-- Array returns in stats reply for ports and tables now supported (vice just 1)
  -- Removed a few header field decls (not needed)
2008-07-12 01:36:47 -07:00
David Underhill 97b60d89db Setup skeleton for handling stats and added support for Port Status.
-- Bug fix: table stats was being used for the main type OFPT_TABLE (moved to correct spot)
     -- OFPT_TABLE now simply emits a message about how this type is not present in version 0x83
  -- Bug fix: port stats was being used for port status (moved to correct spot)
  -- Added support for port status type
  -- Removed a few unused vars
2008-07-12 01:17:53 -07:00
David Underhill 2a7b64c300 Added partial support for Stats Request and Stats Reply, and full support for Error Message. 2008-07-12 00:54:05 -07:00
David Underhill c28915008f Can now dissect Port Modification and Port Statistics types. 2008-07-12 00:28:28 -07:00
David Underhill 9c3636fc5c Can now dissect table stats. 2008-07-12 00:10:38 -07:00
David Underhill 52c7321c5a Can now dissect Get Config Request, Get Config Reply, and Set Config.
-- Refactored capabilities dissection into its own method.
2008-07-11 23:51:35 -07:00
David Underhill cd43cd2080 Can now dissect Flow Expired type. 2008-07-11 23:33:27 -07:00
David Underhill 8bc59b2b8e Can now dissect Flow Mod, Matches, and Wildcards 2008-07-11 23:22:31 -07:00
David Underhill 92e68ae8b5 Refactored dissecting of action array into a function. 2008-07-11 23:00:15 -07:00
David Underhill 341d31537c Added Packet Out and action dissectors.
-- Packet Outs seem to be sent with two actions, the first being
     OFPAT_OUTPUT, and the second being some invalid type (0xfffb).
  -- Bug fix: buffer_id from packet in was being parsed as 2 bytes vice 4
  -- Refactored handling of ethernet dissection of data into function
2008-07-11 21:42:17 -07:00
David Underhill 7ac8b97895 Added Packet In dissector.
-- Sub-dissects the the data portion with the Ethernet dissector!
  -- cleaned up var decls by putting cases in stmt blocks
2008-07-11 20:16:21 -07:00
David Underhill 8b51233a23 Completed dissection of Feature Reply and ofp_phy_port. 2008-07-11 18:52:41 -07:00
David Underhill b24a9f406e dont show unused var warnings for now 2008-07-11 18:52:34 -07:00
David Underhill 04e7739c73 Merge branch 'experimental' of yuba:/usr/local/git/openflow into experimental 2008-07-11 18:07:13 -07:00
David Underhill 0ea6fb8554 can now do make install from this folder too 2008-07-11 18:07:00 -07:00
Glen Gibb 480b6c9f46 Use install binary to install plugin so that perms are set 2008-07-11 17:52:05 -07:00
Glen Gibb 31091d70ce Better identification of global plugin dir
Looks in a couple of spots to identify the global plugin dir.
Tries to identify versions beneath that if they exist and chooses
the last (newest).
2008-07-11 17:45:20 -07:00
David Underhill d7b62547a7 Added 'Feature Reply' support and cleaned up ett's.
-- Feature Reply still needs support for its ports field
  -- Added sub-headers for each part of the Feature Reply struct (switch_features)
  -- Removed all the ett_* vars for which we'll never create subtrees
2008-07-11 16:57:13 -07:00
David Underhill f9810b0ea6 Seperated default rule from install. Added install rule. 2008-07-11 14:19:33 -07:00
David Underhill e627b0c6ee Setup cases for each packet type.
-- Added warning for unknown version type
-- Refactored existing warning field to note that it is a warning for the of version
2008-07-11 10:26:29 -07:00
David Underhill dccc46a4f9 Added warning if openflow proto differs from what the dissector was written for 2008-07-10 20:52:09 -07:00
David Underhill 8ebfd77f9c Better installation process for dissector.
-- Install to local home dir if not root, globally install if root
  -- use default make (e.g. $(MAKE)) vice explicit make
2008-07-10 20:42:27 -07:00
David Underhill c4060cb0ca Header now completely handled.
-- Now consume bytes as we use them for the header.
  -- Slightly better formatting.
2008-07-10 20:06:38 -07:00
David Underhill 635755f87c Now handles the OpenFlow header.
-- Better title too.
  -- Version now in hex.
2008-07-10 19:50:20 -07:00
David Underhill 87ad595712 Now use wireshark's TCP reassembly support.
-- Added header with the reassembler function
2008-07-10 19:31:04 -07:00
David Underhill b0d0a10dd7 blah shouldn't have been in the repo anyway 2008-07-10 19:17:35 -07:00
David Underhill 4ad8cfb2e0 Compilation problems fixed.
-- Include directories fixed
  -- Added some missing commas in lists
  -- Fixed type for hf
  -- Fixed duplicate decls
2008-07-10 19:16:35 -07:00
David Underhill 0c88ba1e7e Added all the needed vars and values -> name translations for all OF packets.
-- removed emacs byproduct file (oops)
  -- added initial tree dissection for packets
2008-07-10 18:50:13 -07:00
David Underhill 57d4716ce5 added initial wireshark dissector code 2008-07-10 16:43:01 -07:00
David Erickson f4fed74d12 Updated header file includes to include relative pathname.
-All header includes now contain the hwtable_nf2 prefix.
2008-06-26 14:26:50 -07:00
David Erickson 536327b54b Modified the naming scheme for hardware tables.
Because of historical string munging during the kernel build process
if you named your hardware table hwtable-something, when it was built
the filename would look appropriate, but the actual module info would change
the internal name to be hwtable_something, thus after an insmod with the filename
you could not perform an rmmod with the same filename. As a result
the naming scheme has been changed to hwtable_NAME, NAME being the hardware
the table supports.

Further, include files in the hardware table should be prefixed with the folder name, ie
\#include "hwtable_NAME/my_header.h".
2008-06-26 14:26:50 -07:00
Bobby Holley 3b54fddc2c Defined SPEED_2500 in lib/netdev.c if it wasn't defined already (it's not in
the header for 2.4). Not sure if there's a better fix, but this should work
for now.
2008-06-23 20:56:39 -07:00