Commit Graph

1427 Commits

Author SHA1 Message Date
Bob Lantz 9f587fc8e6 Use glibc backtrace functions instead of our own
Our own functions don't seem to work with the latest gcc,
so it seems to make sense to use the glibc versions which
should be equivalent and maintained.
2016-01-11 16:31:56 -08:00
Bob Lantz c84f33f09d Removed redundant -I in -I$(INC_GLIB) 2011-06-29 16:40:07 -07:00
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
Yiannis Yiakoumis fe01e64cf2 doc: fix help message for default pidfile
The default pidfile is /var/run/ofdatapath.pid
2010-06-28 16:38:31 -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
Brandon Heller 204366af96 regress: Fix package variable typo 2010-05-20 03:06:48 -07:00
Srini Seetharaman 9c6ec98d76 lib: use bitwise AND when checking for ARP
Need to use a bitwise rather than boolean AND operator when checking for
ARP. (Change && to &)
2010-05-19 15:12:28 -07:00
Jean Tourrilhes 68ad5e836f regress: inconsistent behavior in NW ToS bits
Spec does not clearly specify what to do with the 2 LSBs in the NW TOS
byte. Handled differently between reference and Open vSwitch.
2010-05-03 17:32:48 -07:00
Jean Tourrilhes 6ad931ab4f regress: Update OVS scripts for OVS 0.9.2+ command line syntax 2010-05-03 16:49:38 -07:00
Jean Tourrilhes 5843bdce91 regress: avoid hang in emergency flow cache test
Fixed HP and OVS scripts parsing of command line options to
avoid hanging forever in "test_emergency_table"
2010-05-03 16:49:01 -07:00
Jean Tourrilhes 4154ed4eb5 regress: Tweaked HP timing parameters 2010-05-03 16:47:47 -07:00
Jean Tourrilhes aee032f258 regress: Comment fix
Update the comment in test to reflect what the test is actually doing
2010-05-03 16:46:16 -07:00
Jean Tourrilhes 8d92d4e8b8 regress: added flow mod latency test
Note: Test not run as part of regression suite
2010-05-03 16:45:10 -07:00
Jean Tourrilhes 35363449f5 regress: Improve --testPath to accept more shorthands 2010-05-03 16:44:00 -07:00
Glen Gibb 858ad2f017 regress: don't run slicing tests for NetFPGA 2010-05-03 16:23:18 -07:00
Tatsuya Yabe 88a2ba3c5a Bugfix: NetFPGA: Correct wildcard mask bits 2010-05-03 15:54:39 -07:00
Tatsuya Yabe af5a3755b7 NetFPGA: remove binary file from repository 2010-05-03 15:54:39 -07:00
Tatsuya Yabe 2bb17b75c1 regress: adjust flow_expiry test's strictness 2010-05-03 15:54:38 -07:00
Tatsuya Yabe c1c8cbe9a6 Bugfix: NetFPGA: Use more appropriate file names 2010-05-03 15:54:38 -07:00
Tatsuya Yabe 1b37f09336 Bugfix: NetFPGA: Change to efficiently handle NetFPGA-device 2010-05-03 15:54:38 -07:00
Tatsuya Yabe aa9401c8e6 Bugfix: NetFPGA: Update pkt_count and elapsed time for 'permanent' flows 2010-05-03 15:54:38 -07:00
Tatsuya Yabe 310fd021cd Bugfix: NetFPGA: delete verbose messages shown on console 2010-05-03 15:54:38 -07:00
Tatsuya Yabe 13f5030d70 Bugfix: NetFPGA: add function declaration 2010-05-03 15:54:38 -07:00
Tatsuya Yabe 7ef42803c4 Modify documents to mention hardware table implementation 2010-05-03 15:54:38 -07:00
Tatsuya Yabe 2e38251708 Adapt NetFPGA implementation to the userspace hardware platform 2010-05-03 15:54:37 -07:00
Tatsuya Yabe 6778bd8cdf Add a hardware implementation template
Set of modifications and additions to establish a platform
for implementing a hardware table in userspace. Modules in
skeleton directory is used as a template for creating
hardware dependent libraries.
2010-05-03 15:54:37 -07:00
Brandon Heller b70d37144f regress: Add install_deps support for Debian Lenny
Perl convert-binary-c is not in Lenny repos yet, so install from
source.
2010-04-30 15:38:44 -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
Glen Gibb 42a908d69f regress: set default controller in failover
Set the controllers to the default values if no controllers are
specified. (Previous code would only set the controller to the defaults
if there was a problem parsing the command line options.)
2010-03-10 18:19:48 -08:00
Glen Gibb 2d71bf3848 regress: no_emerg cmd line option
Added the ability to disable emergency flow table tests
2010-03-10 18:19:36 -08:00
Glen Gibb c0aa21014a regress: Test to measure flow mod latency
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 17:36:43 -08:00
Glen Gibb 27e6742eaa regress: flow expiry with multiple packets
An optimization done by some switches is to push an exact-match entry into
the flow tables when a wildcard flow has a match.

Enhance the test_delete_send_flow_exp test to test a flow with multiple
packets to verify that the statistics for a wildcard flow include any
special hidden exact-match flows.

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 17:36:42 -08:00
Glen Gibb 46f85a45ed regress: Document new cmd line args
Added documentation for:
 - testPath
 - listener
 - no_vlan
 - no_slicing
 - no_barrier
2010-03-10 17:36:42 -08:00
Glen Gibb 5654fd2ea4 doc: update change logs to reflect regress changes 2010-03-10 17:36:42 -08:00
Glen Gibb f0e9c6f92d regress: Provide support for testing Open vSwitch
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 17:36:34 -08:00
Glen Gibb 319065259b regress: Updates to HP-specific code
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 17:35:25 -08:00
Glen Gibb 25ceca2b66 regress: test setting of src/dst MAC + src/dst IP
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:17 -08:00
Glen Gibb bc3d3a58f2 regress: run fwd broadcast exact port on all ports
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:17 -08:00
Glen Gibb d915e2b6e1 regress: support vlan port names with a period (.)
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:17 -08:00
Glen Gibb 12f93c9261 regress: formatting clean-ups
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:17 -08:00
Glen Gibb 99743eb3d2 regress: ToS code clean-up
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:17 -08:00
Glen Gibb 1fb5b36d3e regress: eliminate duplicate variable declarations
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:16 -08:00
Glen Gibb efb47d75c0 regress: --no_vlan to disable VLAN testing
VLAN not tested if --no_vlan option is specified. Allows tests to run
against switches that don't support VLAN tags in OpenFlow.

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:16 -08:00
Glen Gibb af01ea5408 regress: --no_barrier to disable barrier tests
Barrier tests can be disabled via the --no_barrier command line arg

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:43:10 -08:00
Glen Gibb 84bd3acc54 regress: --no_slicing cmd line arg
Add the ability to disable all slicing tests via --no_slicing flag

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:27:41 -08:00
Glen Gibb b585b4c1aa regress: add delays after switch config
Some OpenFlow switches need time to process switch config messages.
Sleep with user-specifiable delay.

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:27:41 -08:00
Glen Gibb 9bcf899001 regress: improve handling of --controller cmd line arg
Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:27:41 -08:00
Glen Gibb ad4e98a1bd regress: --listener cmd line arg to specify dp connect str
Previouly set the string to connect to the datapath via platform (user
or user_veth). Option allows more complex connect strings to be specified.

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
2010-03-10 16:27:41 -08:00