Nick Bastin
b24bf8d09f
Use pkg-config to find glib-2.0 include directories
...
Users still need to replace WIRESHARK_SRC_DIR to build against
newer wiresharks, but everything else should now work properly.
2011-06-23 20:53:06 -07:00
Nick Bastin
c25abc4fab
Cleanup to support better sanity checking in modern wiresharks.
2011-06-11 12:48:56 -07:00
Glen Gibb
1982369e8e
wireshark: correct dissect table stats replies
...
Table stats replies were not dissected correctly. Problem was introduced
when the number of wildcard fields was increased by one -- the list of
wildcards wasn't updated correctly for the table stats reply.
2010-07-08 13:41:24 -07:00
Dan Talayco
91ed09bcb2
Trac 97: Fixed seg fault on decode
...
The packet type is signed and was not bounds-checked for
being negative.
2010-06-03 10:13:46 -07:00
Rob Sherwood
fc8a51634d
wireshark: bad offset in port_status
...
the padding is 7 bytes, but was set to 3 in wireshark; fixed
2010-04-30 15:29:53 -07:00
Rob Sherwood
f173926a03
bugfix: wireshark improperly parsing features_repl
...
It thought there were 13 OF actions, but there
are really 12 b/c vendor type doesn't count.
Sanity checked by grg
2010-02-01 16:23:09 -08:00
Rob Sherwood
1134c0408f
made wireshark plugin complile w/o warnings
...
- removed 4 "ununsed variables"
- removed OFPAT_VENDOR flag from switch features bits
2009-12-31 15:21:47 -08:00
Glen Gibb
9521a635c0
ip-in-arp: add capability bit for feature
...
Added capability bit to indicate if the switch supports matching IP
fields in ARP packets.
2009-12-17 16:44:44 -08:00
Glen Gibb
a3d56cc316
wireshark: Report queue stats capability
2009-12-17 16:44:44 -08:00
Glen Gibb
b113ab3fe8
Clearify openflow.h comment
...
Updated comment for OFPET_PORT_MOD_FAILED that replaces "OFPT_PORT_MOD"
with a textual description of this message.
2009-12-15 11:17:04 -08:00
Glen Gibb
4d5a8686db
version: bump version number to 1.0.0
...
Bump version to 1.0.0 in various files
2009-12-15 11:08:47 -08:00
Glen Gibb
edb3be9e0f
wireshark: dissect new errors
...
Dissect new errors introduced in commit by Justin Pettit: 951f4ca9
2009-12-14 17:56:38 -08:00
Dan Talayco
1182f9e2f0
dpctl: Added queue commands to dpctl man page
2009-12-14 16:36:38 -08:00
Mikio Hara
75edc57072
IPv4 DSCP match: Add IPv4 ToS/DSCP description capability to dpctl
2009-12-14 12:39:47 -08:00
Rob Sherwood
ed2d28c865
added dpctl support for setting ofp_desc_stat->dp_desc
...
* udatapath : tested and works
* kernel datapath : implemented, but build is broken :-(
* addressed Glen's code review at :
https://mailman.stanford.edu/pipermail/openflow-dev/2009-December/000620.html
2009-12-11 18:16:39 -08:00
Brandon Heller
bb697af959
Spec: remove multi_phy_tx spec text and capability bit
...
This flag was added on March 3, 2008 to comply with a specific vendor's
hardware limitations. This vendor is out of business, and with the
assumption of a software datapath backup, it is unlikely that a switch
would be unable to support sending to a physical port and the controller
simultaneously.
This commmit removes the corresponding spec text and replaces the
capability bit with a reserved one.
Thanks to Justin Pettit for the history.
2009-12-11 18:14:38 -08:00
Glen Gibb
47a0ed66bc
Merge branch 'devel/yiannisy/slicing'
...
Conflicts:
include/openflow/openflow.h
regress/lib/Perl5/OF/OFUtil.pm
regress/projects/black_box/regress/tests.txt
udatapath/datapath.c
utilities/wireshark_dissectors/openflow/packet-openflow.c
2009-12-11 18:11:16 -08:00
Mikio Hara
f72223e66a
Specify port number when requsting port stats
...
Enable the port stats for a particular port to be requested by
specifying a port number. Can request all port stats by specifying
OFPP_NONE for the port number.
2009-12-11 15:43:37 -08:00
Glen Gibb
c1ad5c0a9c
Wireshark disector changes for flow cookies
...
Added flow cookie processing for:
- flow mod
- flow removed
- flow stats
2009-12-11 15:43:36 -08:00
Justin Pettit
1936cc1c68
Implement flow cookies in user datapath.
2009-12-11 15:43:36 -08:00
Mikio Hara
1c9b2f7b2d
IPv4 DSCP match: Add IPv4 DSCP field match feature
...
Note: Now regression test sets *and* tests the IPv4 DSCP bits. Test
script was renamed from test_set_nw_tos to test_set_n_match_nw_tos.
2009-12-11 15:43:36 -08:00
Glen Gibb
a3a79e21e8
ARP matching support in Wireshark plugin
...
Added the ability to disect matches for ARP packets in Wireshark.
(Previously only the Ethertype was matched, not the ARP opcode or the IP
src/dest.)
2009-12-11 15:43:36 -08:00
Rob Sherwood
20634da473
added dp_desc field to ofp_stats_desc
...
added a human readable string to ofp_stats_desc to describe
the datapath, e.g., "switch4 in closet 3b of Gates"
* updated openflow.h
* updated udatapath: defaults to "$HOSTNAME pid=$$"
* updated kernel datapath: defaults to "$HOSTNAME idx=$i"
* updated wireshark plugin
* added regression test for ofp_desc_stats
* addressed KK's review comments from:
https://mailman.stanford.edu/pipermail/openflow-dev/2009-December/000545.html
2009-12-11 15:43:35 -08:00
David Erickson
bc94ac2e58
Improve flow duration precision
...
Improve precision of flow duration (time a flow has
been installed in a switch) from seconds to nanoseconds
to improve throughput measurement accuracy when using
flow stats messages. This implementation splits the
existing duration fields into duration_sec and
duration_nsec for both flow expiration and flow stats
messages. Passes included unit tests on Ubuntu 8.04.
2009-12-11 15:43:35 -08:00
Yiannis Yiakoumis
25fbffd3aa
Update wireshark dissector with slicing messages.
2009-12-04 14:44:48 -08:00
Yiannis Yiakoumis
201a5b7ab7
Update dpctl and ofp-print for slicing mechanism
...
Changes both for standard openflow messages and queue configuration.
Code by Dan Talayco.
2009-12-04 14:44:48 -08:00
Glen Gibb
13e6a2e26b
Wireshark fix for flow_stats_request (out_port)
...
The wireshark dissector had not been updated to reflect the out_port
field in the flow_stats_request message. Added the out_port field.
2009-11-20 18:19:17 -08:00
Glen Gibb
9f15ba2113
Remove remote command execution support
2009-10-15 14:14:47 -07:00
Mikio Hara
247b607d6c
Readjust wireshark dissector for 64-bit protocol sturct alignment
2009-07-16 13:52:07 -07:00
Mikio Hara
ad94e12a04
Change meaning miss_send_len of set config and max_len field of output
...
action
If "max_send_len" (or the "max_len" field for the controller output
action) is zero, then send a packet-in with zero bytes of the packet
data.
2009-07-15 09:47:15 -07:00
Mikio Hara
cafe218f52
Bug fix: Remove deprecated API proto_tree_add_item_hidden use in
...
OpenFlow wireshark dissector
2009-07-15 09:41:30 -07:00
Mikio Hara
9656de8a28
Vlan pcp match: Reorder VLAN priority field in ofp_match structure to
...
order their appearance on the wire
2009-07-15 09:38:55 -07:00
Mikio Hara
36a60a74fc
Emergency flow cache: Suppress flow removed notification for flows in
...
emergency flow table, add logic to emergency flow to reject entries
with timer
2009-07-11 21:02:04 -07:00
Mikio Hara
46c78aa8aa
Change wire protocol version to 0x98 and package version to 0.9.0-rc1
2009-07-02 06:28:15 -07:00
Mikio Hara
01593f3c49
Namespace change: Rename flow expiration to flow removed
2009-07-01 19:58:06 -07:00
Mikio Hara
0f3d726853
Protocol stats: Revise to support new protocol messages and error codes
2009-07-01 13:27:21 -07:00
Mikio Hara
680f63b514
Rewrite IP ToS/DSCP: Add IP ToS/DSCP field rewrite feature
2009-07-01 11:28:51 -07:00
Mikio Hara
292ffb1f39
Barrier command: Add new protocol messages: barrier request and reply
...
When a switch receives a barrier message it must first complete all
commands sent before the barrier message before executing any commands
after it. When all commands before the Barrier message have completed,
it must send a barrier reply message back to the controller.
2009-06-29 11:21:40 -07:00
Yiannis Yiakoumis
a47208dc76
Flow mod behavior: Add a new flag to flow mods and flow conflict
...
detection handler for table maintanance
Add a CHECK_OVERLAP flag to flow mods which requires the switch to do
the (potentially more costly) check that there doesn't already exist a
conflicting flow with the same priority. If there is one, the mod
fails and an error code is returned.
Flow expiry: Record OFPFF_SEND_FLOW_EXP flag in user data path
2009-06-29 10:00:55 -07:00
tyabe
12760f91f2
Vlan pcp match: Add vlan_pcp for parse in dpctl.c
2009-06-29 07:29:21 -07:00
tyabe
7b35e83172
Vlan pcp match: Wireshark dissector support
2009-06-29 07:29:10 -07:00
Glen Gibb
463abf9568
Flow expiry: Added OFPER_DELETE to known expire reasons
2009-06-29 07:08:17 -07:00
Glen Gibb
77a367ecd4
Flow expiry: Dissector now uses per-flow expiry
2009-06-29 07:06:07 -07:00
Glen
d1a10670fd
Flow expiry: Dissect idle timeout in ofp_flow_expire message
2009-06-29 06:58:28 -07:00
Mikio Hara
58ee7f213f
Emergency flow cache: Add emergency flow cache framework
...
Emergency flow cache use completely separate flow table from working
and its table ID for stats is 0xfe.
2009-06-29 06:57:37 -07:00
David Underhill
1cceec4c65
Small bug fixes (thanks Tatsuya for finding these)
2009-06-29 05:33:37 -07:00
Mikio Hara
43f19193fb
Remove experimental SNAT (source NAT) support
2009-06-29 05:33:18 -07:00
David Underhill
1e97f7b86c
Bug fix: ofp_port_stats_port_no should be interpreted as a string
...
dissect_port is used to populate this field and it decodes to a string
not an int.
2009-06-29 05:32:01 -07:00
David Underhill
e0285b8bd8
ofp_port_stats is typeless
2009-06-29 05:31:42 -07:00
David Underhill
e6921e6b2f
Remove excess spacing at EOL
2009-06-29 05:31:32 -07:00