[dts] [PATCH 1/2] framework packet: support more default packet type

Yong Liu yong.liu at intel.com
Thu Jan 28 08:55:19 CET 2016


Signed-off-by: Marvin Liu <yong.liu at intel.com>

diff --git a/framework/packet.py b/framework/packet.py
index 0fa4df9..7f7e9d2 100755
--- a/framework/packet.py
+++ b/framework/packet.py
@@ -326,6 +326,11 @@ class Packet(object):
         'TCP': {'layers': ['ether', 'ipv4', 'tcp', 'raw'], 'cfgload': True},
         'UDP': {'layers': ['ether', 'ipv4', 'udp', 'raw'], 'cfgload': True},
         'VLAN_UDP': {'layers': ['ether', 'dot1q', 'ipv4', 'udp', 'raw'], 'cfgload': True},
+        'VLAN_TCP': {'layers': ['ether', 'dot1q', 'ipv4', 'tcp', 'raw'], 'cfgload': True},
+        'VLAN_SCTP': {'layers': ['ether', 'dot1q', 'ipv4', 'sctp', 'raw'], 'cfgload': True},
+        'VLAN_IPv6_UDP': {'layers': ['ether', 'dot1q', 'ipv6', 'udp', 'raw'], 'cfgload': True},
+        'VLAN_IPv6_TCP': {'layers': ['ether', 'dot1q', 'ipv6', 'tcp', 'raw'], 'cfgload': True},
+        'VLAN_IPv6_SCTP': {'layers': ['ether', 'dot1q', 'ipv6', 'sctp', 'raw'], 'cfgload': True},
         'SCTP': {'layers': ['ether', 'ipv4', 'sctp', 'raw'], 'cfgload': True},
         'IPv6_TCP': {'layers': ['ether', 'ipv6', 'tcp', 'raw'], 'cfgload': True},
         'IPv6_UDP': {'layers': ['ether', 'ipv6', 'udp', 'raw'], 'cfgload': True},
-- 
1.8.4.2



More information about the dts mailing list