4 years ago.

Redirecting internet traffic through the LPC1768

Hi everyone,

I'm working on a project where I would like to redirect my internet traffic through the LPC1768 device. I managed to have to have the device expose itself as Ethernet device (using CBC-ECM) and on my computer on OS X, it shows up as an Ethernet device.

To manage this, I'm using the following library to enable Ethernet over USB: Moreover, I included the USBDevice library, the PicoTCP library and the pico driver for the LPC1768 (named lpc1768-picotcp-eth).

What I would like to do now, is capturing traffic with the pico library to analyze the incoming and outgoing packets. I'm a bit stuck here because I don't know how to proceed with this. I have the USBCDC_ECM class running and in that class, I see methods for sending and receiving data from the computer. But I want pico to analyze the data. Is there any way to pass on these packets to pico (and vice versa)?

Thank you in advance for any help.

Comment on this question
Be the first to answer this question.

To post an answer, please log in.