61b94c6bc4
This patch implements vxlan with extension of group based policy support. Change-Id: I70405bf7332c02867286da8958d9652837edd3c2 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
13 lines
577 B
Diff
13 lines
577 B
Diff
diff --git a/scapy/layers/vxlan.py b/scapy/layers/vxlan.py
|
|
--- a/scapy/layers/vxlan.py
|
|
+++ b/scapy/layers/vxlan.py
|
|
@@ -65,6 +65,7 @@
|
|
return self.sprintf("VXLAN (vni=%VXLAN.vni%)")
|
|
|
|
bind_layers(UDP, VXLAN, dport=4789) # RFC standard port
|
|
+bind_layers(UDP, VXLAN, dport=4790) # RFC standard vxlan-gpe port
|
|
bind_layers(UDP, VXLAN, dport=6633) # New IANA assigned port for use with NSH
|
|
bind_layers(UDP, VXLAN, dport=8472) # Linux implementation port
|
|
+bind_layers(UDP, VXLAN, dport=48879) # RFC standard vxlan-gbp port
|
|
bind_layers(VXLAN, Ether, {'flags': 0x8})
|