Re: [lwip-users] lwIP TCP/IP as the default TCP/IP stack on Linux

2019-11-09 Thread Joan Lledó via lwip-users
> Could anybody, please, tell us how to get rid of the *default TCP/IP* > stack from *Linux* kernel so that only *lwIP* will be left to handle all > IP networking traffic ? > I'm not an expert on Linux architecture, but I'd say you should create a new module for the kernel, which embeds all

[lwip-users] Can't compile unix unit tests using Cmake

2018-08-26 Thread Joan Lledó
Hi, I tried to compile the unix unit tests in debian stable and ubuntu 18.04 and in both cases I found that liblwipcore.a and liblwipallapps.a are built correctly but trying to link lwip_unittests fails with hundreds of "undefined reference" messages like these: [100%] Linking C executable

Re: [lwip-users] Not able to ping on IPV6 address in lwIP 2.0.2

2017-09-01 Thread Joan Lledó
Hi, note that for pinging link local addresses you must spacify an interface (-I option in GNU/Linux) For global addresses, I had the same problem and it was because Ethernet multicast was not enabled in my interface. Take a look at [1]. as it may be your problem too.

[lwip-users] Sockets API: use OS's sys/socket.h instead of lwip/sockets.h

2017-05-19 Thread Joan Lledó
Hello, I'm having a problem in my project of porting LwIP to the Hurd. Since the stack and the user program run in diferent processes, they are using different versions of the usual socket macros like MSG_PEEK, SOCK_STREAM, etc. For instance, when calling recv() with the MSG_PEEK flag, the user

Re: [lwip-users] lwip_getsockopt_impl() return type

2017-02-17 Thread Joan Lledó
do better than just using > u8_t here, in terms of portability). > > However, I'd really be interested where your problem comes from. We only > assign known error numbers to sock->err, so are you using E* defines that > don't fit into an u8_t? > > Simon > > > Joan L

[lwip-users] lwip_getsockopt_impl() return type

2017-02-16 Thread Joan Lledó
Hello, lwip_getsockopt_impl() in api/sockets.c returns u8_t, which is enough for most errno implementations, but some implementations need all 32 bits. Please, take a look at this thread: https://lists.debian.org/debian-hurd/2002/01/msg00022.html I've changed return type to u32_t and have also