def encapsulate(self, pkt, vni):
    '\n        Encapsulate the original payload frame by adding GTPU header with its\n        UDP, IP and Ethernet fields\n        '
    return ((((Ether(src=self.pg0.remote_mac, dst=self.pg0.local_mac) / IP(src=self.pg0.remote_ip4, dst=self.pg0.local_ip4)) / UDP(sport=self.dport, dport=self.dport, chksum=0)) / GTP_U_Header(teid=vni, gtp_type=self.gtp_type, length=150)) / pkt)
Encapsulate the original payload frame by adding GTPU header with its
UDP, IP and Ethernet fields
def encapsulate(self, pkt, vni):
    '\n        Encapsulate the original payload frame by adding GTPU header with its\n        UDP, IP and Ethernet fields\n        '
    return ((((Ether(src=self.pg0.remote_mac, dst=self.pg0.local_mac) / IP(src=self.pg0.remote_ip4, dst=self.pg0.local_ip4)) / UDP(sport=self.dport, dport=self.dport, chksum=0)) / GTP_U_Header(teid=vni, gtp_type=self.gtp_type, length=150)) / pkt)