About SO_* and SOF_* #defines

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

About SO_* and SOF_* #defines

Joan Lledó

While looking at src/api/sockets.c git history, I found the commit

b034451: sockets.c: Don't rely on #defines in socket.h to be in sync with ip.h.

After this commit, the #errors at src/core/init.c:241 aren't needed
anymore, aren't they? It's not possible to have SO_* != SOF_* while
these #errors are still there.

lwip-devel mailing list
[hidden email]