]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commit
Add LWIP-compatible interface
authorEduard Vintilă <eduard.vintila47@gmail.com>
Wed, 7 Dec 2022 12:07:41 +0000 (14:07 +0200)
committerUnikraft <monkey@unikraft.io>
Mon, 8 May 2023 10:10:14 +0000 (10:10 +0000)
commitfdf0defe75ef7d343957c8d1abb90423dd44f9ef
tree02f6eab91590f0340fb65eccb997f85140ed5932
parent1ba6625245f785288615b3d770270900c6d57489
Add LWIP-compatible interface

This commit brings back source files which were previously defined in
`lib-lwip`, but deleted as part of the Musl compatibility effort in
order to avoid redefinition. The functions need to be implemented by
the libc, so we reintroduce them in the `lib-newlib` repo to retain
compatibility with lwip.

Signed-off-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Teodor Tiron <teotiron@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #28
20 files changed:
Makefile.uk
h_errno.c [new file with mode: 0644]
include/limits.h
include/sys/poll.h
include/time.h
lwip-compatible/getnameinfo.c [new file with mode: 0644]
lwip-compatible/host.c [new file with mode: 0644]
lwip-compatible/inet.c [new file with mode: 0644]
lwip-compatible/proto.c [new file with mode: 0644]
lwip-compatible/serv.c [new file with mode: 0644]
musl-imported/include/net/if.h [new file with mode: 0644]
musl-imported/include/netinet/in.h [new file with mode: 0644]
musl-imported/include/newlib-internal/shareddefs.h [new file with mode: 0644]
musl-imported/include/sys/socket.h [new file with mode: 0644]
musl-imported/src/network/htonl.c [new file with mode: 0644]
musl-imported/src/network/htons.c [new file with mode: 0644]
musl-imported/src/network/ntohl.c [new file with mode: 0644]
musl-imported/src/network/ntohs.c [new file with mode: 0644]
patches/0014-Fix-type-macro.patch [new file with mode: 0644]
patches/0015-Add-time.h.patch [new file with mode: 0644]