[dts] [PATCH V1] add payload for send eth packet

Liu, Yong yong.liu at intel.com
Fri Dec 4 01:51:30 CET 2015


Hi shide, can you supply the information that which version scapy not 
support raw packet?
We can add it into dts document.

On 12/03/2015 06:34 PM, Shijie Dong wrote:
> scapy can't support send packet only inlcude eth herd  in ubutu 15.10
>
> Signed-off-by: Shijie Dong <shijiex.dong at intel.com>
> ---
>   tests/TestSuite_dynamic_config.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_dynamic_config.py b/tests/TestSuite_dynamic_config.py
> index d1ad49c..ba740b1 100644
> --- a/tests/TestSuite_dynamic_config.py
> +++ b/tests/TestSuite_dynamic_config.py
> @@ -111,7 +111,7 @@ class TestDynamicConfig(TestCase):
>   
>           self.tester.scapy_foreground()
>           self.tester.scapy_append(
> -            'sendp([Ether(dst="%s", src="52:00:00:00:00:00")], iface="%s")' % (destMac, itf))
> +            'sendp([Ether(dst="%s", src="52:00:00:00:00:00")/Raw(load="X"*26)], iface="%s")' % (destMac, itf))
>   
>           self.tester.scapy_execute()
>   



More information about the dts mailing list