Commit Graph

788 Commits

Author SHA1 Message Date
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
Srivats P.
44fdf844b6 PDML/PCAP Import: Fixed gcc4 warnings 2011-04-13 21:20:07 +05:30
Srivats P.
84544559f2 PCAP/PDML import: final cleanup; renamed pdml_p.* to pdmlprotocols.* 2011-04-13 20:57:10 +05:30
Srivats P.
486fe5dcac PCAP/PDML Import: Reworked the test code to use the Ostinato QSettings 2011-04-12 20:14:57 +05:30
Srivats P.
0274fd4479 PCAP/PDML import: reverting some temporary code changes 2011-04-11 21:56:21 +05:30
Srivats P.
5db314722d PCAP/PDML import: class PdmlProtocol - removed protoName member; made constructor protected 2011-04-10 21:03:47 +05:30
Srivats P.
e6b2274c9c Implemented detection of MLD PDML support 2011-04-10 14:41:05 +05:30
Srivats P.
9771c50592 Fixed gcc4 errors and warnings 2011-04-09 20:22:35 +05:30
Srivats P.
194aac9b7d Reorganized PDML code into multiple files 2011-04-09 17:13:49 +05:30
Srivats P.
7532a1d576 Fixed crash in drone when inter packet/burst gap > 1 sec. 2011-04-08 23:39:20 +05:30
Srivats P.
f132e3118c Implemented MLD PDML Protocol - also ICMPv6 PDML protocol which detects and hands over control to either the ICMP PDML Protocol or MLD PDML Protocol 2011-04-08 20:44:32 +05:30
Srivats P.
41738b3e08 Modified test code so that duplicate diff is not done 2011-04-05 19:09:59 +05:30
Srivats P.
bda2d48adb Implemented IGMP PDML protocol 2011-04-04 21:46:35 +05:30
Srivats P.
b230ff8082 Implemented ICMPv4/ICMPv6 PDML Protocol 2011-04-04 14:26:46 +05:30
Srivats P.
cbcd9872d4 Reworked PDML Text Protocol 2011-04-03 20:49:57 +05:30
Srivats P.
610ee312a0 snapshot before rewriting PDML TextProto 2011-04-03 14:13:57 +05:30
Srivats P.
ead67d80aa Finished implementing PDML Text Protocol - verified for HTTP 2011-04-02 00:14:43 +05:30
Srivats P.
e47319feda Implemented UDP (and UDPLite) PDML Protocol 2011-03-31 21:04:05 +05:30
Srivats P.
a7d28d8a8d Implemented ARP PDML Protocol. Removed hardcoded field numbers from IPv4 2011-03-31 20:36:47 +05:30
Srivats P.
0347b939b7 Implemented SVlan (IEEE 802.1ad) PDML Protocol 2011-03-29 21:17:37 +05:30
Srivats P.
137b49594a Fixed Vlan PDML Protocol 2011-03-28 22:23:33 +05:30
Srivats P.
28cd717895 Implemented PDML LLC Protocol (including SNAP). Also implemented PDML VLAN Protocol - but this is not working so is disabled for the moment 2011-03-27 22:45:04 +05:30
Srivats P.
b8e451574a another round of code cleanup 2011-03-27 18:19:31 +05:30
Srivats P.
873daa9604 Implemented PDML Export 2011-03-26 21:36:57 +05:30
Srivats P.
3fab6b207a First round of cleanup of the PDML import code 2011-03-24 21:58:39 +05:30