add lwip support.#583
Conversation
|
|
||
| option(sctp_build_fuzzer "Compile in clang fuzzing mode" 0) | ||
|
|
||
| option(sctp_use_lwip "build with lwip" ON) |
There was a problem hiding this comment.
Please don't include LWIP by default.
There was a problem hiding this comment.
Sure, I will disable it when it is merged into it officially. Right now, it is one very rough version to show the idea.
|
OK, I see what the changes are about. I think getting support for this in will be a multi step approach. But I need to contemplate a bit how to do that first. |
I am not sure about it supports windows, since I usually run it on embedded devices. Let me search it in order to see it runs on windows or not. come back to you later. |
|
It looks like lwip can not run on windows. Probably getting one embedded devices is an easier way. |
|
@weinrank @ycyang1229 do you plan to revisit and get this merged? |
This is one rough version of lwip support, and it does not support ipv6. lwIP does not support sctp raw socket, so it only can support the feature of udp socket. The macro of ip header and udp header are added for the different naming between linux-based platform and lwip, but I noticed the similar data structure are also added for windows-based platform. Not sure which way is more suitable, so I added the macro first. thanks.
#580