Routing between GPRS and Ehternet

Does anyone have a sample code that will receive ip packets from Ethernet and route it to the GPRS?

I do…

Hi, I also need to do this! I am using a Microchip enc28j60 ethernet controller but cannot seem to get anything working.

Does someone perhaps have an example that could get me kickstarted?