Commit Graph

255 Commits

Author SHA1 Message Date
Srivats P.
384fd6e172 Feature (contd.): Variable Fields - fixed errors and warnings reported by gcc4 in the code added for this feature 2015-06-01 19:05:43 +05:30
Srivats P.
a8069bbb39 Feature (contd.): Variable Fields - bumped up file format revision number because of this new feature 2015-05-31 21:38:07 +05:30
Srivats P.
022fac534c Feature (contd.): Variable Fields - fixed 2nd protocol of combo protocols not being listed and offset/mask not being calculated correctly for them via the GUI 2015-05-31 20:47:25 +05:30
Srivats P.
6bb64a3b26 Feature (contd.): Variable Fields - renamed variable_fields as singular; this makes it consistent with other repeated variables in protocol.proto and in any case the C++/Python generated code "sounds" better with a repeated field named in its singular form, rather than plural 2015-05-31 20:14:32 +05:30
Srivats P.
641a4f3c89 Feature (contd.): Variable Fields - defined a template function varyCounter to avoid duplicating code for different counter sizes 2015-05-31 19:46:16 +05:30
Srivats P.
77f5b124e7 Feature (contd.): Variable Fields - fixed the code to use 'step' while varying fields which was missed out earlier. Updated the test suite and made sure all test cases pass 2015-05-31 18:02:06 +05:30
Srivats P.
60c47c34a1 Feature (contd.): Variable Fields - AbstractProtocol now caches fieldFrameBitOffset unless the subclass says not to 2015-05-27 22:41:31 +05:30
Srivats P.
4f2abcb789 Feature (contd.): Variable Fields - AbstractProtocol now caches the frameVariableCount (of variableFields) 2015-05-27 21:28:40 +05:30
Srivats P.
7a1f791a37 Feature (contd.): Variable Fields - removed protocol subclass implementations of isProtocolFrameValueVariable() since the updated implementation in the base abstract class is now sufficient. Updated subclass implementations of protocolFrameValueVariableCount() to query the base class and use the return value in its calculation 2015-05-27 20:36:49 +05:30
Srivats P.
df24cf8b15 Feature: Variable Fields - any field of any protocol can now be varied by specifying it as a generic 8/16/32 bit field at a specified offset (relative to the protocol frame value) with a certain mask and a (initial) value alongwith count and step; this is working code - but incomplete. Bunch of FIXME/TODOs and testing pending 2015-05-26 21:43:37 +05:30
Srivats P.
7dc7a840f1 Merging heads 2015-05-02 11:46:05 +05:30
Srivats P.
25ef8dd1e4 Infra: Added code to disable notifications for python-ostinato scripts since python-ostinato does not expect and hence does not know how to deal with notifications
Updates issue 144
2015-05-01 21:41:04 +05:30
Srivats P.
ad6baea4af Infra: On a port modify, all clients are sent notifications of the same - they can request for port config again to get latest config
Updates issue 144
2015-04-24 20:53:00 +05:30
Srivats P.
a9da643fb2 Feature: Reserve Ports for cooperative use of shared drone. If a port is reserved the GUI will display the username of the owner but others can still view and control the port; in other words, we just potentially prevent unintentional usage of other people's ports, users still need to play nice with each other!
Fixes issue 144
2015-04-16 22:20:07 +05:30
Srivats P.
0c861201b3 Save streams as Python Script: The generated script now checks for Ctrl-C while waiting for transmit to stop, so that cleanup can be done 2015-04-09 21:44:54 +05:30
Srivats P.
e3e61b7320 Merge 2015-03-01 21:36:54 +05:30
Srivats P.
10d921adfc Export streams as a python script for use with python-ostinato 2015-03-01 21:36:13 +05:30
Srivats P.
c0f6a71123 Fix infinite loop(s) when QT_NO_DEBUG_OUTPUT is defined
Fixes issue 146
2015-02-27 20:29:38 +05:30
Srivats P.
f4f5214b7a If no L4 protocol follows IPv6, set the IPv6 Next-Header field to 0x3B (IPv6-No-Next-Header) instead of leaving it at 0 which is interpreted as IPv6-Hop-By-Hop by the recipient and subsequent failure in parsing the frame 2015-01-13 18:51:21 +05:30
Srivats P.
42f716e693 When reading PDML files, skip all XML tokens at the start of the file till you reach the first element and then check whether it is 'pdml'
Fixes issue 132
2014-11-08 10:17:57 +05:30
Srivats P.
470d390658 fix gcc warnings 2014-07-06 18:36:01 +05:30
Srivats P.
9955d31b77 Added RPC for version compatibility check between client and server; both GUI and DroneProxy call this as the first RPC before proceeding ahead; if client is inompatible, drone additionally closes the connection; drone won't handle any RPCs untiil version check is performed and client is found compatible; fixed DroneProxy bug which did not allow to connect again after disconnect; fixed RPC bug which failed to detect unsupported method id; RPC-server now returns RPC error in case of failure; added a bunch of RPC tests for version compat 2014-07-06 11:19:22 +05:30
Srivats P.
048777c064 IGMPv3/MLDv2 Query widget now displays the Group Address field
Fixes issue 107
2014-06-30 20:25:39 +05:30
Srivats P.
1ea635bcfb Renamed RPCs start/stopTx as start/stopTransmit 2014-06-30 19:49:17 +05:30
Srivats P.
35472a6ac7 CLI: Initial Commit for Python Bindings 2014-06-03 07:14:54 +05:30
Srivats P.
0ebff976d8 Fixed build warnings 2014-05-22 20:24:04 +05:30
Srivats P.
8a74987fa5 NOX: Doxygen-style documentation for PdmlProtocol. Added SamplePdmlProtocol with TODO comments on the same lines as SampleProtocol 2014-05-09 07:21:42 +05:30
Srivats P.
5ee4786008 NOX: moved uintToHexStr() definition from AbstractProtocol to AbstractProtocolConfigForm because it is supposed to be used by config widgets in their load methods. For Mac/Arp protocols which were using it to display mac address as text a new macro uintToMacStr() was added and used 2014-05-02 04:52:00 +05:30
Srivats P.
40837fae40 NOX - Extracted each xxxPdmlProtocol from pdmlprotocols.h/.cpp into its own .h/.cpp. It is now more evident that while implementing a new protocol, one has to implement the xxxConfigFrom and xxxPdmlProtocol as well. 2014-05-01 21:15:41 +05:30
Srivats P.
6193db495d NOX: SampleProtocol - separated protocol and widget as per new framework 2014-04-25 07:52:55 +05:30
Srivats P.
7d3caad43c NOX: UserScript - separated protocol and widget as per new framework 2014-04-25 06:58:38 +05:30
Srivats P.
88ec853d09 NOX: HexDumpProtocol - separated protocol and widget as per new framework 2014-04-22 06:03:40 +05:30
Srivats P.
bacee5dd18 NOX: TextProtocol - Separated protocol and widget as per new framework 2014-04-19 12:36:14 +05:30
Srivats P.
30c70a73e4 NOX: ICMP - Separated protocol and widget as per new framework 2014-04-17 07:10:13 +05:30
Srivats P.
bbe645725a NOX: Udp - separated protocol and widget as per new framework 2014-04-15 05:31:28 +05:30
Srivats P.
481e517fa6 NOX: GMP, IGMP, MLD - Separated protocol and widget as per new framework 2014-04-10 18:24:30 +05:30
Srivats P.
21b606e9ea NOX: TCP - Separated protocol and widget as per new framework 2014-04-08 05:52:27 +05:30
Srivats P.
3ba67e9ee3 NOX: IPv4over6, IPv6over4, IPv6over6 - separated protocol and widget as per new framework 2014-04-05 14:59:12 +05:30
Srivats P.
710b295d74 NOX: IPv4over4 - Separated protocol and widget as per new framework 2014-04-05 05:43:26 +05:30
Srivats P.
d818b90a8f NOX: IPv4 - Separated protocol and widget as per new framework 2014-04-03 07:23:04 +05:30
Srivats P.
e6339e3d09 NOX: Arp - separated protocol and widget as per new framework 2014-03-28 05:52:15 +05:30
Srivats P.
24fbac9c5a NOX: Dot2Snap - Separated protocol and widget as per new framework 2014-03-27 18:21:47 +05:30
Srivats P.
38c17d5e5b NOX: SNAP - Separated protocl and widget as per new framework 2014-03-27 09:56:57 +05:30
Srivats P.
4608edf771 NOX: Dot2Llc - Separated protocol and widget as per new framework 2014-03-27 06:39:08 +05:30
Srivats P.
a8dcc42d4c NOX: LLC - Separated protocol and widget as per new framework 2014-03-25 06:13:23 +05:30
Srivats P.
70937bd4a4 NOX: ComboProtocol - Separated protocol and widget as per framework; VlanStack - separated protocol and widget using the refactored ComboProtocol 2014-03-25 05:32:27 +05:30
Srivats P.
e1cfd39786 NOX: SVLAN - Separated protocol and widget as per new framework 2014-03-20 06:35:40 +05:30
Srivats P.
a97a7d9511 NOX: VLAN - Separated protocol and widget as per new framework + cosmetic layout change in the widget 2014-03-20 06:03:55 +05:30
Srivats P.
e6fa745b81 NOX: 802.3 - Separated protocol and widget as per new framework 2014-03-14 07:03:44 +05:30
Srivats P.
bdc1252b95 NOX: IPv6 - Separated protocol and widget as per new framework 2014-03-14 06:16:46 +05:30
Srivats P.
f39031d663 NOX: Payload - Separated protocol and widget as per new framework 2014-03-13 07:27:29 +05:30
Srivats P.
c0f009c44a NOX: Eth2 - Separated protocol and widget as per new framework 2014-03-13 06:29:56 +05:30
Srivats P.
37ca28ca94 NOX: Mac - Separated protocol and widget as per new framework 2014-03-13 06:08:43 +05:30
Srivats P.
cabd6ad096 NOX: Framework to separate the protocol widgets from the protocol. Changes in client to use the new framework. Changes may not compile 2014-03-11 06:16:41 +05:30
Srivats P.
925697dfcc NOX: Removed GUI stuff from the drone app. Changes may not compile 2014-03-03 20:30:42 +05:30