EtherCard_bis: a library for adding a second Enc28J60

I hope I have finished the work:
The EtherCard library contains a lot of static elements, and I am not fluent with C++.
So, I draft a rough solution by dupplicating ALL files appending “_bis” to names.
Then I renamed each conflicting item (always appending “_bis”).
I attach my sandbox, with dummes examples.

about harware: AntiGuide:ArduinoEnc28J60StereoMegaTwoWired

Now, I will use it, my first application will be “man in the middle” to watch ethenet traffic between two “black-box”:
(I also added a function sendEthernet, to read soon in another post.)

PO. (59.1 KB)