def _create_packet(self, source, dest): """ Creates a packet instance with the specified source and destination devices. """ packet = Packet() packet.source(source) packet.dest(dest) packet.size(Packet._DATA_SIZE) return packet