Commit Graph

312 Commits

Author SHA1 Message Date
Giorgio Buffa
05cf3bdc5f A "packet set" can span multiple PacketSequences - the outermost loop during transmission should increment in units of PacketSet rather than PacketSequence
Fixes issue 116
2013-11-22 19:05:34 +05:30
Srivats P.
68c95ba8d9 Merging 2013-02-25 22:26:38 +05:30
Srivats P.
87e24af3b1 Ports in the PortStatsWindow should be named by their IDs instead of their indices. This becomes evident when multiple drones (portgroups) are connected and the one with a lower id (and hence index) is deleted 2013-02-25 22:20:50 +05:30
Shlomo Shachar
53437d5216 Fix bug in LinuxPort::StatsMonitor::netlinkStats() causing some ports not to be updated on system with many ports. Problem occurs as the netlink msg size is calculated once and then received multiple times. The following commit makes sure the netlink msg size is recalcaulted before each recv.
Fixes issue 94
2013-01-01 15:23:06 +02:00
Srivats P.
1d5ae64281 Version bump to 0.5.1 2012-07-30 18:53:42 +05:30
Srivats P.
f7d8cc2684 Fixed rx/tx rate stats on BSP/OSX 2012-07-22 13:26:52 +05:30
Srivats P.
19424d980c Added missing include for unistd.h since gcc 4.7 refuses to compile without it 2012-06-04 21:46:57 +05:30
Srivats P.
3931245463 Fixed BSD/OSX compilation issue 2012-04-15 20:32:13 +05:30
Srivats P.
64a82f9b2c Fixed linux compilation issue 2012-04-15 13:30:36 +05:30
Srivats P.
14721478a4 Corrected stats calculation to take care of counter roll over
Fixes issue 67
2012-04-14 23:35:01 +05:30
Srivats P.
9cac3cd918 Linux now uses stats using netlink - if that isn't available for some reason, we fallback to the /proc stats. If netlink stats is used, link state info is available. 2012-03-10 13:29:41 +05:30
Srivats P.
31c7f08e7c Fixed Win32 QPC timestamp diff that caused extraordinarily large inter-packet timing 2012-03-09 22:15:06 +05:30
Srivats P.
87ee8244fc Fix for segfault when a port failed to open due to any reason
Fixes issue 64
2012-03-07 19:25:09 +05:30
Srivats P.
0d253cdb09 Interface stats and link state for Mac OSX 2012-02-16 21:48:27 +05:30
Srivats P.
c51e28b203 Updated copyright years in the About dialog 2012-02-15 07:43:51 +05:30
Srivats P.
5f99e9456c BSD specific interface stats and error stats, including link state
Update issue 28
2012-02-12 12:55:26 +05:30
Srivats P.
88cb294567 Added support for rx error stats on Linux.
Updates issue 28
2012-02-08 22:14:20 +05:30
Srivats P.
8ef427b0fd Fixed incorrect TCP checksum when it is overrided
Fixes issue 58
2011-12-22 19:29:19 +05:30
Srivats P.
eedc6f62ff Fixed incorrect very long delay in "interleaved streams" mode 2011-10-29 07:40:18 +05:30
Srivats P.
49e3acf327 Bumped version to 0.5 2011-10-24 07:22:22 +05:30
Srivats P.
c9a7523ef9 Fixed crash on drone exit (on Windows) - now we do cleanup 2011-10-23 22:35:43 +05:30
Srivats P.
763219e153 Integrated newer version (0.6.1) of the QHexEdit Widget from http://qhexedit2.googlecode.com. This newer version supports copy-paste and undo-redo. 2011-10-23 17:39:15 +05:30
Srivats P.
baf709b24d Fixed valgrind reported mem leaks 2011-10-23 13:08:24 +05:30
Srivats P.
7f0ffd66e0 removed warnings 2011-10-23 11:38:13 +05:30
Srivats P.
e188655e67 For Linux added specific code to put interfaces in PROMISC mode, since we no longer use PCAP to do stats (which was indirectly setting PROMISC). Also added signal handlers to do cleanup for SIGTERM and SIGINT. Some code indentation fixes also.
Fixes issue 52
2011-10-22 14:55:05 +05:30
Srivats P.
264b446410 Replaced ULONG_LONG_MAX with the more portable (and standard) ULLONG_MAX 2011-10-21 22:11:38 +05:30
Srivats P.
e5d2ccaa0f Fixed windows problem where tx packets are looped back as rx packets also. Also fixed an issue with transmit at slow rate (< 0.5pps)
Fixes issue 46
2011-10-20 07:13:33 +05:30
Srivats P.
626ca8ad0e Code changes to improve transmit performance in Windows. Windows top-speed performance is now at par with Linux in my tests, however for fixed (high) rate transmit, accuracy is not good - need to find ways to improve that.
Fixes issue 33
Fixes issue 39
2011-10-16 08:04:09 +05:30
Srivats P.
e9ea3d7934 Added a minimum size of packets to be looped to improve performance. Also a bug fix that led to incorrect timing between packets 2011-10-12 20:20:36 +05:30
Srivats P.
210bdf11a9 Implemented new method protocolFrameVariableCount() and associated code for all the protocols that require it. With this commit, the set of changes required to reduce the time taken to prebuild the packets for transmit is done.
Fixes issue 35
Fixes issue 49
2011-10-09 17:57:02 +05:30
Srivats P.
0223f39994 refactored sendQueue code 2011-10-08 15:55:57 +05:30
Srivats P.
204e6efc2a Refactored send queue data structure and associated processing 2011-10-01 12:28:28 +05:30
Srivats P.
18e7b9b49c Snapshot before refactoring the send queue data structure 2011-09-26 20:47:27 +05:30
Srivats P.
ca7a264b36 Implemented Interleaved streams transmit mode. Changed port rate averaging algo.
Fixes issue 12
2011-08-31 18:16:42 +05:30
Srivats P.
ca4a6cb103 Implemented aggregate port rates, averaged across all active streams configured on the port.
Fixes issue 41
2011-08-14 14:03:57 +05:30
Srivats P.
b3bc9e36a7 Inter-packet and Inter-burst gaps are now calculated in nanosecond rather than milliseconds. However, the actual delay is still in milliseconds for all OS as of now.
Fixes issue 30
2011-07-18 19:22:32 +05:30
Srivats P.
670920afa6 Enable inter-packet gap to be more than one second
Fixes issue 42
2011-07-09 20:40:42 +05:30
Srivats P.
d2c4bf0834 Fixed packet rate accuracy when inter-packet (or inter-burst) gap had resolution less than a millisecond. 2011-07-07 21:43:12 +05:30
Srivats P.
aae32eb510 Fixed burst mode timing problem by taking into account overhead 2011-06-26 10:33:06 +05:30
Srivats P.
955be71082 Changes to improve pps performance for Linux. Changed implementation of stats collection for Linux - pps/Bps stats are now supported
Fixes Issue 26
2011-06-19 16:26:35 +05:30
Srivats P.
0ffd49a428 Bumped version to 0.4.1 2011-05-08 17:58:28 +05:30
Srivats P.
0b049120f6 Trivial Branch Merge 2011-05-08 17:22:08 +05:30
Srivats P.
8d55f68c61 Added explicit option to generate the "generic service code" since by default protobuf 2.4.0 and later don't generate them. Also since protobuf 2.3.0 is the first version that understands this option, the minimum protobuf version required for Ostinato now becomes 2.3.0 2011-05-08 16:56:15 +05:30
Srivats P.
1adf52033c On some linux distros, the native "save" dialog can't distinguish the Ostinato and PCAP filters - so we don't use native dialog for *nix platforms 2011-05-08 13:04:14 +05:30
Srivats P.
9bd5bcb736 Bumped version to 0.4 2011-04-17 10:57:39 +05:30
Srivats P.
e0efac0f59 Removed the test code building from top level project file. Test code needs to be built manually 2011-04-17 10:51:08 +05:30
Srivats P.
d05821da66 StreamConfigDialog: renamed Goto Stream X as Goto First till the Goto Stream X is implemented 2011-04-14 22:46:27 +05:30
Srivats P.
073f961d0b Bumped Copyright to include 2011 in About Dialog 2011-04-14 22:40:44 +05:30
Srivats P.
12aea59867 At exit Ostinato main window geometry and layout is saved and restored next time you open Ostinato 2011-04-14 22:38:39 +05:30
Srivats P.
ac3bd72a8d PCAP/PDML import: merge with main tree 2011-04-13 21:44:12 +05:30