def __repr__(self):
    return 'ICMPDatagram({},{},({},{}))'.format(self.type, self.code, self.checksum, self.data)
def __repr__(self):
    return 'ICMPDatagram({},{},({},{}))'.format(self.type, self.code, self.checksum, self.data)