Re: [lwip-users] Sending raw IP packets

2021-03-13 Thread Jon
Hi Simon, thanks for the help. Yes this is exactly what I am trying to do. I apologize for all the confusion. When I was looking through the lwip documentation, I initially found the IP modules -- more specifically the "ip_output" and "ip_input" functions. http://www.nongnu.org/lwip/2_0_x/group__

Re: [lwip-users] Sending raw IP packets

2021-03-08 Thread goldsi...@gmx.de
Am 08.03.2021 um 21:43 schrieb Jon: > Thanks Simon for the input. After reading your response, I feel I > might be using lwip for its unintended purpose which might result in > an exhausting uphill battle :) > > As mentioned in my previous email, I was hoping to implement a local > VPN on Android

Re: [lwip-users] Sending raw IP packets

2021-03-08 Thread Jon
Thanks Simon for the input. After reading your response, I feel I might be using lwip for its unintended purpose which might result in an exhausting uphill battle :) As mentioned in my previous email, I was hoping to implement a local VPN on Android using lwip. The way the APIs work on Android i

Re: [lwip-users] Sending raw IP packets

2021-03-08 Thread goldsi...@gmx.de
Am 07.03.2021 um 12:50 schrieb JonathonS: > Hello, I am attempting to implement an Android VPN service which > provides me raw IP packets on the TUN interface.  What I'd like to do is > simply send the whole IP packet (including IP header) to its > destination.  I know I can parse the IP packet to

[lwip-users] Sending raw IP packets

2021-03-07 Thread JonathonS
Hello, I am attempting to implement an Android VPN service which provides me raw IP packets on the TUN interface. What I'd like to do is simply send the whole IP packet (including IP header) to its destination. I know I can parse the IP packet to pull out only the TCP/UDP transport layer data and