[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Newbie trying to use lwip on Fedora
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] Newbie trying to use lwip on Fedora |
Date: |
Fri, 13 Apr 2007 08:50:37 +0100 |
On Thu, 2007-04-12 at 18:37 -0600, David Vos wrote:
> I am new to lwip. I really like the concept and it looks interesting.
>
> I am trying to write a pure userland TCP transparent proxy. In fact,
> the packets won't even be arriving off the wire, and I cannot use the
> host OS's stack. I will have a program feeding the packets in and out
> of lwip.
>
> I am running in userland on a Fedora Core 5 2.6.18-1.2257.fc5smp system.
>
> I downloaded lwip-1.2, and I was a little surprised that there is no
> Makefile or anything. I wrote a small C program that includes the
> "lwip/tcp.h" file. I get errors about being unable to find
> "arch/cc.h" or "lwipopts.h".
>
> How should I approach getting lwip to run in userland fedora? How
> much time would you guess it will take?
You will also need the contrib module that contains a number of ports
(including things like Makefiles) for different operating systems. One
of the examples there is a unix library target that should be directly
linkable against your application, and allow you to access the lwIP
APIs.
Kieran