Hi, I add simple APIs for management the security association database (SADB) to the lwip to support IPsec.
how i can add this api to the existing libc_plugin , if not,are there any clear step to add new libc_sadb plugin for example .
best.
Hello Mohammad,
On Wed, Aug 12, 2015 at 01:28:30AM -0800, Mohammad Hamad wrote:
I add simple APIs for management the security association database (SADB) to the lwip to support IPsec.
how i can add this api to the existing libc_plugin , if not,are there any clear step to add new libc_sadb plugin for example .
I'm not sure that I understand you correctly but if you already added an API to lwip why do you want to wrap it in a libc plugin? Couldn't your application just include the appropriate header file and call the API functions directly?
Regards
hi Christian,
i guess i need to explain more about the whole picture, i am trying to run only one tcp/ip stack , by creating RPC server which wrap all the lwip sockets API, and in the same time i am using the modefided libc_lwip as client for this server and i link my application to it. my modified libc_lwip has the connection instance and call the RPC call of the server. all of the function in libc_lwip are relented to the file descriptor but my new api dont use that so i guess i need to wrap them in different plugin.
best,
2015-08-12 3:44 GMT-08:00 Christian Helmuth < christian.helmuth@...1...>:
Hello Mohammad,
On Wed, Aug 12, 2015 at 01:28:30AM -0800, Mohammad Hamad wrote:
I add simple APIs for management the security association database (SADB) to the lwip to support IPsec.
how i can add this api to the existing libc_plugin , if not,are there any clear step to add new libc_sadb plugin for example .
I'm not sure that I understand you correctly but if you already added an API to lwip why do you want to wrap it in a libc plugin? Couldn't your application just include the appropriate header file and call the API functions directly?
Regards
Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://genode.org/ https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main