This is the core of Ethetnet Powerlink rewritten in C++.