import socket,struct,time,math,random DUT=("192.168.68.200",31772) HOST_IP=[192,168,68,1] HOST_MAC=bytes.fromhex("300ed559bb36") def env(f,ty,sub,total): f[0:4]=b"ENet"; struct.pack_into("