mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +00:00
More work on IPv4 sockets and /bin/ping.
It's now actually possible to ping other hosts on the network! :^) I've switched the "run" script over to starting QEMU with user networking since that works better for my testing needs right now.
This commit is contained in:
parent
ce7c302933
commit
cf250e1245
7 changed files with 125 additions and 38 deletions
|
@ -6,6 +6,7 @@
|
|||
__BEGIN_DECLS
|
||||
|
||||
const char* inet_ntop(int af, const void* src, char* dst, socklen_t);
|
||||
int inet_pton(int af, const char* src, void* dst);
|
||||
|
||||
static inline uint16_t htons(uint16_t hs)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue