From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id AB0BFBB17 for ; Wed, 26 Oct 2016 09:01:15 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP; 26 Oct 2016 00:01:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,549,1473145200"; d="scan'208";a="1050299087" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 26 Oct 2016 00:00:47 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id u9Q70iN3015599 for ; Wed, 26 Oct 2016 15:00:44 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u9Q70fnU017862 for ; Wed, 26 Oct 2016 15:00:44 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id u9Q70fSJ017858 for dts@dpdk.org; Wed, 26 Oct 2016 15:00:41 +0800 From: Marvin Liu To: dts@dpdk.org Date: Wed, 26 Oct 2016 15:00:38 +0800 Message-Id: <1477465241-17826-1-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dts] [PATCH 0/3] enable random packet check function X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2016 07:01:16 -0000 Random packet check function will check packet content in UDP/TCP/IPv6 packets. Both content and packets sequence will be checked. In first implementation, packet index saved in L4 source port. But scapy can't correct handle the packet with some kinds of protocals. So workaround this issue by saveing index in source ip address. Marvin Liu (3): framework utils: add function to convert ipaddress framework packet: support ip layer elements strip framework tester: workaround random packet check issue framework/packet.py | 18 ++++++++++++++++++ framework/tester.py | 31 +++++++++++++++++++++++++------ framework/utils.py | 22 ++++++++++++++++++++++ 3 files changed, 65 insertions(+), 6 deletions(-) -- 1.9.3