Srivats P
ba06b88329
sign: Reorder Tx/Rx columns in StreamStats Window
2016-12-09 18:12:06 +05:30
Srivats P
9cd26567cd
sign: Fix filter in test script for GUID > 255
2016-12-08 21:26:09 +05:30
Srivats P
72521f782e
sign: Clear ARP/NDP cache & ping before tx in test script
...
This helps setting ARP/NDP such that they do not expire during tx for
unidirectional flows
2016-12-08 20:59:51 +05:30
Srivats P
58a16a253e
sign: Filter out ICMP packets with sign in test script
...
A limitation of the current design where the sign protocol appears at
the end of frame is that such a data packet could potentially trigger a
ICMP error containing this packet as payload and for small size packets
this ICMP packet itself will appear as a 'sign' packet - so filter out
ICMP from the captured packets when verifying against stream stats
2016-12-08 20:54:38 +05:30
Srivats P
8f97a69220
sign: Refactor StreamStatsTracking methods
...
Start/StopStreamStatsTracking() methods made private helper functions
specific to PcapPort. AbstractPort::setStreamStatsTracking() virtual
function should be implemented by subclasses as required
2016-12-07 18:19:09 +05:30
Srivats P
35c56b9181
sign: Calculate stream stats only if configured
...
Stream Stats Rx and Tx both are calculated only if 'Track Stream Stats'
is configured on the port
2016-12-06 21:41:47 +05:30
Srivats P
028843c55a
sign: Refactor AbstractPort::setStreamSatsTracking
...
Move start/stop stream stats tracking inside setStreamStatsTracking. In
future, maybe convert setStreamStatsTracking to virtual function?
2016-12-06 18:30:26 +05:30
Srivats P
387e6700cd
sign: Add Sign to Stream Protocol Selection Widget
...
Added a Special Group (for sign), a Trailer Group and reorganized the
layout of the widget to fit these new groups. Added supporting code for
the Sign Protocol and the Trailer group
2016-12-03 14:00:47 +05:30
Srivats P
de6a139cd7
Set L5 Proto as Other, if L4 Proto is Other
...
This should have been done when L5 was introduced but got missed out I
guess.
2016-12-02 18:49:25 +05:30
Srivats P
de503d8d96
sign: Fix crash when doing TX on a streamless port
...
Ensure packetListSize_ is non zero to avoid division by zero. Also reset
packetListSize_ to 0 in the constructor - call clearPacketList() to do
this
2016-11-29 18:20:00 +05:30
Srivats P
eed4f8eb1d
sign: Clear Port+Stream Stats on Clear(All) click
...
Although the RPC API provides separate APIs for clearing Port and Stream
Stats, typical use case would be to clear both together
2016-11-28 20:19:17 +05:30
Srivats P
b622cc8e72
sign: add #define and #include for PRIu64
2016-11-27 13:35:59 +05:30
Srivats P
65f0a7168c
sign: Replace Stream Stats icon with a better one
2016-11-27 13:16:10 +05:30
Srivats P
8fa9ac2295
sign: Restore Defaults - Stream Stats docks as tabs
2016-11-27 13:07:06 +05:30
Srivats P
3d7a459b5f
sign: Open StreamStats as a Tabbed widget
...
PortStats and StreamStats Windows are presented as a tabbed widget.
Multiple StreamStats windows are titled to include an id to hint at the
sequence in which they were opened
2016-11-27 12:39:37 +05:30
Srivats P
4f8ee757b3
sign: print Tx stream stats related vars for debug
2016-11-27 12:35:33 +05:30
Srivats P
70cc101b64
sign: Stream Stats Window display enhancements
...
Use right align and thousands' separator for numbers; reduce table row
height to match port stats window
2016-11-27 11:56:18 +05:30
Srivats P
a6274e559e
sign: Delete streamStats docks before saving state
...
Although streamStats docks are set to delete on close, this doesn't
happen immediately, so save layout state still sees them which leads
to a crash next time when application is started, state is restored and
docks are moved - so instead of close, delete them directly
2016-11-27 11:45:15 +05:30
Srivats P
60be43006f
sign: StreamStatsModel is now a nice table
2016-11-26 13:37:36 +05:30
Srivats P
fda7807797
sign: GUI code for fetch/display of stream stats
2016-11-24 21:44:38 +05:30
Srivats P
bf161811b4
sign: Add Stream Stats button to GUI port config
2016-11-21 18:39:55 +05:30
Srivats P
b1e960b858
sign: refactored the stream stats test; new problem discovered if the data stream is appended to an ICMP error packet sent by the DUT we will count the ICMP packet as a signed packet as well
2016-11-20 22:03:30 +05:30
Srivats P
7366e5d2e6
sign: fix yet another build break
2016-11-18 21:29:45 +05:30
Srivats P
b4beda7c30
sign: NOCAPTURE_LOCAL is not reqd since we don't tx on this handle
2016-11-18 21:12:56 +05:30
Srivats P
e7ed15fc89
sign: fix loopback problem (tx pkts rcvd by rxstats thread) on non-Windows platforms
2016-11-18 20:57:50 +05:30
Srivats P
c45bbdaa10
sign: fix non-Windows build break
2016-11-18 20:51:30 +05:30
Srivats P
e9bdfa04ea
sign: implemented rx stream stats - loopback problem to be fixed
2016-11-17 21:44:34 +05:30
Srivats P
defdc218bd
sign: fix the tx stream stats calculation and update associated test case
2016-11-15 22:23:55 +05:30
Srivats P
f8575ef101
sign: post tx stream stats collection; testing pending
2016-11-13 19:11:24 +05:30
Srivats P
afcb4126b5
sign: port stream tx stats are updated when TxThread finishes; actual Tx stream stats collection by TxThread is still pending
2016-11-11 21:22:07 +05:30
Srivats P
cffada4c07
sign: server rpc implementation of stream stats; actual collection of stream stats pending
2016-11-10 18:18:27 +05:30
Srivats P
783db4e832
sign: add stream GUID to sign protocol
2016-11-07 20:09:17 +05:30
Srivats P
bf92ea09df
sign: TDD test script for stream stats
2016-11-06 21:28:31 +05:30
Srivats P
0833e5d27c
sign: add stream stats related messages and RPCs
2016-11-06 11:40:53 +05:30
Srivats P
e0bf173b39
sign: remove sign stats and remnants of signed streams
2016-11-05 19:53:01 +05:30
Srivats P
1986845bae
sign: remove streamsType and associated code
2016-11-05 19:41:02 +05:30
Srivats P
2f9769d0ed
sign: rename byteswap.h to avoid name clash with the standard one on Linux
2016-11-05 11:33:47 +05:30
Srivats P
46449a02a3
sign: fix PayloadCksum for odd boundary between protocols
2016-11-01 16:30:13 +05:30
Srivats P
50fec9fa5a
sign: fix and move swapXX into a .h file for reuse
2016-11-01 16:28:48 +05:30
Srivats P
b9fd68f71d
sign: fix payload/hexdump to not assume they are the last
2016-11-01 13:18:55 +05:30
Srivats P
3ed956eebc
sign: added sign protocol
2016-10-31 21:38:19 +05:30
Srivats P
15b88a480b
Fix User-Agent header
2016-10-29 12:26:42 +05:30
Srivats P
2185bf2855
sign: Disable Port TxMode/StreamsType config in GUI based on port state
2016-10-28 18:27:24 +05:30
Srivats P
c2f36c5cb3
IPv4 now supports options - configured as a hex string for now; fixes #120
2016-10-27 23:51:55 +05:30
Srivats P
1f4a825042
sign: fix incorrect code added by mistake in a79bbb1f
2016-10-27 21:48:18 +05:30
Srivats P
9de3f96b20
sign: Do not allow port TxMode/StreamsType to be changed while tx is on
2016-10-27 21:44:08 +05:30
Srivats P
a79bbb1fcd
sign: signed tx stats infra; actual tx signing pending
2016-10-23 17:24:23 +05:30
Srivats P
31c2cd2dcb
sign: refactored tx stats into a new PcapTxStats class
2016-10-19 18:52:35 +05:30
Srivats P
b45720b566
Ostinato starts with session file if provided on command line
2016-10-13 22:06:11 +05:30
Srivats P
708aed9135
Added ostinato cmdline option -s to suppress starting local drone
2016-10-13 18:50:33 +05:30