]> xenbits.xensource.com Git - unikraft/libs/musl.git/commit
gethostbyname: Option to use lwIPs `gethostbyname()` RELEASE-0.16.2
authorSimon Kuenzer <simon@unikraft.io>
Tue, 6 Feb 2024 11:54:56 +0000 (12:54 +0100)
committerRazvan Deaconescu <razvan.deaconescu@upb.ro>
Fri, 9 Feb 2024 20:32:59 +0000 (22:32 +0200)
commit082ca89fad935172e0e5f83313993c7752395f32
tree1082b0fb5d0e70348f8115531edbada68e09281c
parent75752f8685509daad00052d203204ba5b4aa45f8
gethostbyname: Option to use lwIPs `gethostbyname()`

This commit introduces redirecting `gethostbyname()` (and family) calls
to lwIP's implementation. This is only enabled if musl is configured to
forward DNS related requests to lwIP.

Signed-off-by: Simon Kuenzer <simon@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Mihnea Firoiu <mihneafiroiu0@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #74
Makefile.uk.musl.network
lwip/gethostbyname.c [new file with mode: 0644]