update sock.py script: adapt to Python2/3, use Scapy lib instead of removed dpkt...
authorYaroslav Brustinov <[email protected]>
Wed, 15 Feb 2017 09:19:59 +0000 (11:19 +0200)
committerYaroslav Brustinov <[email protected]>
Wed, 15 Feb 2017 09:19:59 +0000 (11:19 +0200)
commitb4e85e57cf825684acd24ff1bd54f3512f4aad6f
treef430365e7d512674a3539ffd3bbadee1f7dc0cf6
parentaf80e6693e416abbc63a5b15e838a04479c53227
update sock.py script: adapt to Python2/3, use Scapy lib instead of removed dpkt, works with IPv4/6, TCP/UDP, in case of TCP checks for out of order and retransmissions.

Change-Id: Iab0b7473d915950c834397e365457ecb6f6a8a24
Signed-off-by: Yaroslav Brustinov <[email protected]>
scripts/automation/trex_control_plane/unit_tests/outer_packages.py [new file with mode: 0644]
scripts/automation/trex_control_plane/unit_tests/sock.py