Willem wrote:
> CDP wrote:
> ) I asked the lwip folks and I had posted my question in the lwip
> ) user forum , only one guy answered me that I sould use LD_PRELOAD
> ) environment variable of Linux to do this ...
> )
> ) I am herewith giving the reply , he had given me , please see below
> )
> ) First, build the library. Second set LD_PRELOAD to the path of the
> ) library. Third, run tftp. That's it.
> )
> ) The above is the reply he had given me
>
> Have you actually tried doing what this guy said ?
> If you set LD_PRELOAD to point to a library, that will be loaded
> and any functions in there replace the 'standard' functions.
I tried it , by setting the LD_PRELOAD environement variable to
the path of the shared library of lwip I have with me , which I already
compiled on my linux system. By setting it I started my tftp
application , but I did not observe any change... its like ,its using
the normal tcp/ip stack from linux , but not lwip. If the standard
functions are replaced with this , I should observe some change
...right? But I did nt ..How can I set it actually whether the standard
functions are replaced..?What about the idea of kernel modifications
and recompiling ..Do you guys have any idea in my problem..?
>
> I would also assume that the lwip source has detailed instructions
> how to use it in your applications.
The guys in lwip forum , do more with a kind protocol related
things, and if post something related to linux kernel ..or something of
my problem,I guess they can not reply, because I tried it
already.Regarding the documentation lwip , I had a glance at it already
and I did not find useful information..
>
>
> SaSW, Willem
> --
> Disclaimer: I am in no way responsible for any of the statements
> made in the above text. For all I know I might be
> drugged or something..
> No I'm not paranoid. You all think I'm paranoid, don't you !
> #EOT
|