Srivats P
cb9b648c71
Resolve only valid gateways
...
Not doing so would lead to errors showing up with host devices
2020-06-08 18:42:38 +05:30
Srivats P
f705f7f606
Fix build break
2020-03-23 20:37:47 +05:30
Srivats P
bfc5477807
Store mac in big-endian order in DeviceKey
...
This was a bug. The intention was to store it in big endian, so that the
sort order for devices would be VLANs+Mac.
Fixes #289
2020-03-23 18:48:36 +05:30
Srivats P
176fc7dd15
Redo fix for incorrect vlan parsing of rx emuldev frames
...
The previous fix in 6977278654
was incorrect and incomplete since it
won't handle the case when emulated devices have PRIO and/or CFI/DEI
set.
This is the correct fix where Prio and CFI/DEI are no longer part of the
device key.
2020-01-26 19:01:37 +05:30
Srivats P
1c2e833c4a
Don't trigger ARP/NDP if already resolved
2019-03-11 18:25:07 +05:30
Srivats P
73043f6fe6
HostDev: Added Linux host device code
2018-09-02 19:45:08 +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
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
a16eefbff4
Treat warnings as errors and fix existing warnings
2018-04-20 20:50:51 +05:30
Srivats P
523258442c
Precalculate mask and subnet for use during emulation rx/tx
2016-09-17 14:34:44 +05:30
Srivats P
f86ce2603d
Bugfix: use default gateway for off subnet destinations in all cases - fixes #196
2016-09-17 12:16:53 +05:30
Srivats P
fdceca71e8
Resolve for mcast dstIp should return mcast dmac
...
Fixes #192
2016-08-15 21:20:19 +05:30
Srivats P
72bab2737f
Device Emulation (contd.): 'Resolve Neighbors' will now resend ARP/NDP requests for unresolved entries
2016-03-17 20:12:13 +05:30
Srivats P
7561b09c1e
Device Emulation (contd.): Implemented display of NDP Cache Device Detail; also fixed missing clear of NDP cache on server
2016-03-14 21:16:46 +05:30
Srivats P
f6c852495d
Device Emulation (contd.): resolveNeighbors() now resolves the device gateway also in addition to looking at transmit packet content to figure out which IPs to resolve
2016-01-28 20:01:19 +05:30
Srivats P
07dd945f50
Device Emulation (contd.): Lookup NDP Cache for IPv6 neighbor mac
2016-01-13 21:15:47 +05:30
Srivats P
21197146e2
Device Emulation (contd.): Create/Update NDP entry when NS with source TLV received; check for NDP entry when sending IPv6 packet
2016-01-12 21:02:19 +05:30
Srivats P
3afcb72b8d
Device Emulation (contd.): Implemented IPv6 ping (echo) reply
2016-01-12 19:03:52 +05:30
Srivats P
04147076c4
Device Emulation (contd.): Implemented responding IPv6 NS with NA
2016-01-08 20:01:42 +05:30
Srivats P
eff603304e
Device Emulation (contd.): Receive, parse IPv6 Neigh Advt and update NDP Table
2016-01-06 18:10:28 +05:30
Srivats P
d9be523827
Device Emulation (contd.) - Implemented sending of IPv6 Neighbor Solicitation packets for IPv6 resolution
2016-01-01 20:17:54 +05:30
Srivats P
0b573d572e
Device Emulation (contd.) - added intelligence for single or dual ip stack; fixed pktBuf memory leak
2016-01-01 11:59:31 +05:30
Srivats P
aaf6dbcbf2
Device Emulation (contd.) - Implemented IPv6 device creation and deletion
2015-12-31 20:17:56 +05:30
Srivats P
ea44e55e78
Feature (contd.): Device Emulation - Test case and code to support sending ping echo reply in response to received ping echo request
2015-12-23 21:18:25 +05:30
Srivats P
03f427ce91
Feature (contd.): Device Emulation - Test case and code to support non default vlan TPID
2015-12-20 19:33:02 +05:30
Srivats P
dc28dfefd6
Feature (contd.): Device Emulation - sort the device list returned by getDeviceList() RPC
2015-11-29 21:18:31 +05:30
Srivats P
3a5396c865
Feature (contd.): Device Emulation - Got rid of a bunch of FIXMEs and all trailing whitespace (in the code added for this feature)
2015-11-14 17:06:43 +05:30
Srivats P
7daf75c95a
Feature (contd.): Device Emulation - added getDeviceList() RPC
2015-11-11 13:05:15 +05:30
Srivats P
492a207ede
Feature (contd.): Device Emulation - reorganized/renamed some emulation RPCs and messages
2015-11-11 10:52:29 +05:30
Srivats P
280d4bedaa
Feature (contd.): Device Emulation - Mac protocol can now 'resolve' src/dst mac corresponding to the packet from the Device Emulation infra
2015-11-10 19:40:32 +05:30
Srivats P
9302e5f17c
Feature (contd.): Device Emulation - added resolveNeighbors() and related RPC code and implementation to send out ARP Requests and build the ARP Table on each device
2015-11-04 18:50:08 +05:30
Srivats P
0c98e30a93
Feature (contd.): Device Emulation - added test cases for multiple ip4 devices with and without VLANs; fixed bugs discovered via these cases
2015-10-03 13:18:44 +05:30
Srivats P
246bc95c74
Feature (contd.): Device Emulation - user now configures a device group instead of a single device for easier creation of multiple devices; refactored and redistributed functionality between DeviceManager and Device; external functionality wise same as last commit; added initial code for vlans but not tested
2015-09-20 17:49:15 +05:30
Srivats P
ab433dc22b
Feature: Device Emulation - first cut working code
2015-09-14 18:19:52 +05:30