Commit Graph

901 Commits

Author SHA1 Message Date
Srivats P
c1f94ac5d4 Show both icon & text for the Status cell tooltip 2018-12-04 21:51:04 +05:30
Srivats P
f550cb0605 Adorn portList linkState icon with transmit/capture indicators
The new 'exclusive' indicator may need more work in the future
2018-12-03 21:14:05 +05:30
Srivats P
7409a98b6a Replace QFlags.setFlag() with &= for Qt 5.6 compatibility 2018-11-29 21:20:06 +05:30
Srivats P
496e044bdd Replace Port Stats Link/Tx/Capture state text with icons
* All 3 icons are combined into a single row instead of 3 separate rows
* Tooltip to clarify meaning of icons
* Qt Model-View displays icon left-aligned, so use a custom delegate to
  center-align it
* Add a icon for "Transmit On"
* Edit icons for "Start/Stop Capture"
2018-11-29 20:44:03 +05:30
Srivats P
d8bae11144 HostDev: Fix MacOS build break 2018-10-31 21:19:01 +05:30
Srivats P
7696f7d8f9 HostDev: Add BSD interface info 2018-10-31 19:59:08 +05:30
Srivats P
48721cece4 Import IP options into ip4.options instead of a new HexDump protocol
ip4.options was not supported earlier, so we used to import into a new
hexdump protocol. Now that IPv4 options field is supported, use that
instead
2018-10-04 18:33:38 +05:30
Srivats P
6cac41ab40 Set numPackets for imported streams to 1
Earlier the default value for num_packets was 1 and the imported streams
therefore also had the same. However, when the default value got changed
to 10, the num_packets for imported streams should have been explicitly
set to 1 - this was missed out and has been fixed now
2018-10-04 18:07:50 +05:30
Srivats P
495b99beda Use streamIndex in PseudoIpCksum calculation
This bug was introduced while fixing #271
2018-09-17 17:26:51 +05:30
Srivats P
5eea62f4f4 Fix build break by renaming xlocale.h to avoid name clash 2018-09-15 11:40:11 +05:30
Srivats P
c673141f33 Bugfix: Remove group separator when converting string to number
Fixes #240
2018-09-14 20:24:30 +05:30
Srivats P
9c319f97e5 Bugfix: Don't pad HexDump unless it's the last protocol 2018-09-14 18:29:23 +05:30
Srivats P
488a2ea730 Bugfix: Fix incorrect cksums
Presence of IPv6 Extension Headers was causing incorrect TCP/UDP/ICMP
cksums. Verified that with these changes, cksums are correct for all
combinations of L3 and L4 headers with/without options/extHdrs

Fixes #271
2018-09-13 12:32:36 +05:30
Srivats P
4924d7fe60 Bugfix: Encode hexdump and IPv4 options correctly
Using QString().fromStdString() caused conversion to Unicode via utf8
instead of using the plain binary data
2018-09-13 12:29:13 +05:30
Srivats P
db446966f7 HostDev: Fix symbol clash between net/if.h and libnl use of linux/if.h 2018-09-08 13:18:46 +05:30
Srivats P
a1155b0022 HostDev: Fix IPv6 gw search code 2018-09-08 17:08:53 +05:30
Srivats P
c5c071ee56 HostDev: Fix linux scope in qmake .pro 2018-09-02 21:06:08 +05:30
Srivats P
291a84c63b HostDev: Update travis to install libnl3 2018-09-02 20:04:33 +05:30
Srivats P
73043f6fe6 HostDev: Added Linux host device code 2018-09-02 19:45:08 +05:30
Srivats P
a1962c7887 LogsWindow: Fix build break 2018-08-24 09:12:40 +05:30
Srivats P
509d777500 LogsWindow: Improve UX
* Timestamp at millisec resolution
* Log level selection - Info by default
* Auto scroll control - enable(default)/disable
* Support copy (selected) logs to clipboard
* Support clear logs
* Annotate dock window title, if not on top (aka visible)
2018-08-23 23:23:07 +05:30
Srivats P
489099ca83 LogsWindow: Add missing log.h 2018-08-20 20:57:23 +05:30
Srivats P
bb80be30a6 LogsWindow: Add RPC info/warn/error logs 2018-08-20 20:40:58 +05:30
Srivats P
d0def8a0ec LogsWindow: Add basic UI and infra 2018-08-17 18:55:58 +05:30
Srivats P
f58c4e309c HostDev: Add IPv6 support for Windows hosts 2018-08-15 10:51:04 +05:30
Srivats P
e2a11bfa4e Show prefixLength for IPv6 devices 2018-08-15 10:50:10 +05:30
Srivats P
ffa0fdaa74 HostDev: Use unused constants 2018-07-31 22:24:31 +05:30
Srivats P
86ab58ae8c HostDev: Remove unused constants 2018-07-31 22:04:10 +05:30
Srivats P
34323bb187 Merge branch 'master' of D:/srivatsp/projects/ostinato/master into hostdev 2018-07-31 20:27:40 +05:30
Srivats P
fce1df8dab HostDev: Print both code and string for errors (win32) 2018-07-31 18:11:29 +05:30
Srivats P
1b74c55fee HostDev: Squelch unused warning 2018-07-27 18:54:21 +05:30
Srivats P
205663e59e Enable c++11 for drone server 2018-07-27 17:25:43 +05:30
Srivats P
fc31e52f61 HostDev: #ifdef Windows code 2018-07-26 21:20:58 +05:30
Srivats P
bc972e4476 HostDev: Added infra and windows IPv4 implementation 2018-07-26 20:53:33 +05:30
Srivats P
0d5e836d3f HostDev: Refactored Device into base Device and EmulDevice 2018-07-19 18:54:01 +05:30
Srivats P
9a4e7e7550 Silence warnings 2018-05-22 21:48:21 +05:30
Srivats P
9a148bec0a
Merge pull request #263 from ehlers/osx-warnings
QT5 Compilation issues on OS X
2018-05-22 21:20:04 +05:30
Bernhard Ehlers
1d8bb9f4df Fix warnings about DumpView::dataChanged and struct StatsTuple 2018-05-21 21:31:44 +02:00
Bernhard Ehlers
f5f04e6cb9 Change socketDescriptor to type qintptr 2018-05-21 21:30:01 +02:00
Srivats P
016694f1fe Use %ll instead of PRI since Windows dev env has been upgraded 2018-05-20 13:33:38 +05:30
Srivats P
6915b5095f Fix brew update 2018-05-20 12:55:15 +05:30
Srivats P
25d4365356 Add brew update to travis/OSX 2018-05-20 12:45:36 +05:30
Srivats P
dd8a267a09 Build in debug config 2018-05-20 11:29:51 +05:30
Srivats P
4fbf4446e3 Merge branch 'master' into ci-dev 2018-05-20 11:29:04 +05:30
Srivats P
17281249c6 Merge branch 'master' of D:/srivatsp/projects/ostinato/master 2018-05-18 22:24:05 +05:30
Srivats P
8adb3d79aa Add custom TOS/DSCP config widget for IPv4/IPv6
Fixes #45
2018-05-18 22:19:54 +05:30
Srivats P
de89299b88 Update .gitignore for Qt5 2018-05-18 22:19:20 +05:30
Srivats P
5059f02bf6
Merge pull request #259 from a17r/master
Fix build with Qt 5.11 (missing QButtonGroup)
2018-05-16 20:15:57 +05:30
Andreas Sturmlechner
53308971e6
Fix build with Qt 5.11 (missing QButtonGroup) 2018-05-12 01:16:10 +02:00
Srivats P
e1194a1db3 Check for active stream count when building interleaved packet list 2018-05-10 21:34:51 +05:30