F-Stack / f-stack

F-Stack is an user space network development kit with high performance based on DPDK, FreeBSD TCP/IP stack and coroutine API.
http://www.f-stack.org
Other
3.81k stars 890 forks source link

how to add kern/uipc_usrreq.c to fstack #412

Open zjlinkpro opened 5 years ago

zjlinkpro commented 5 years ago

Hi, I want to add socketpair function to fstack, but the Makefile in fstack/lib folder can't support kern/uipc_usrreq.c. Can you help me, thanks.

jfb8856606 commented 5 years ago

You can try add uipc_usrreq.c into KERN_SRCS of Makefile, and solve compilation problems, may be you need add more glue code.

zjlinkpro commented 5 years ago

You can try add uipc_usrreq.c into KERN_SRCS of Makefile, and solve compilation problems, may be you need add more glue code.

Oh, I see. Thank you very much.