serenity/Userland/Libraries/LibC
Sergey Bugaev d8967e4dff LookupServer+LibC: Pass IP addresses in binary
Now that we no longer depend on the textual IPC format, we can pass IP addresses
in the format most code actually has and needs it: in binary. The only places we
actually have to deal with textual address representation is:

* When reading /etc/hosts, we have to parse textual addresses & convert them to
  binary;
* When doing reverse lookups, we have to form a pseudo-hostname of the form
  x.x.x.x.in-addr.arpa.

So we do the conversion in those two cases.

This also increases uniformity between how we handle A (IPv4 address) and other
resource record types. Namely, we now store the raw binary data as received from
a DNS server.
2021-02-06 17:52:47 +01:00
..
arpa
bits
net
netinet
sys Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
alloca.h
assert.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
assert.h
byteswap.h
CMakeLists.txt Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
crt0.cpp
crt0_shared.cpp
crti.S
crtn.S
ctype.cpp
ctype.h
cxxabi.cpp LibC: Protect the atexit() handler list when not writing to it 2021-01-30 10:41:36 +01:00
dirent.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
dirent.h
dlfcn.cpp LibELF: Split the DynamicLoader's loading mechanism into two steps 2021-01-31 11:46:00 +01:00
dlfcn.h
endian.h
errno.h
errno_numbers.h Kernel+LibC: Turn errno codes into a strongly typed enum 2021-01-20 23:20:02 +01:00
fcntl.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
fcntl.h
fd_set.h LibC: Bump FD_SETSIZE to 1024 2021-01-16 11:26:53 +01:00
float.h
getopt.cpp
getopt.h LibC: Expose various option variables for later usage 2021-02-01 17:13:23 +01:00
grp.cpp
grp.h
iconv.h
inttypes.h
ioctl.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
libcinit.cpp
libgen.cpp
libgen.h
limits.h LibC: Add TTY_NAME_MAX (32) 2021-01-18 22:28:56 +01:00
locale.cpp
locale.h
malloc.cpp LibC: Don't honor LIBC_* malloc debugging flags in AT_SECURE context 2021-01-31 14:37:21 +01:00
mallocdefs.h
memory.h
mman.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
mman.h Kernel+LibC: Add MAP_RANDOMIZED flag for sys$mmap() 2021-01-28 16:23:38 +01:00
mntent.cpp LibC: Change a couple of ASSERT_NOT_REACHED() to TODO() 2021-01-17 08:43:46 +01:00
mntent.h
netdb.cpp LookupServer+LibC: Pass IP addresses in binary 2021-02-06 17:52:47 +01:00
netdb.h
paths.h
poll.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
poll.h
pwd.cpp
pwd.h
qsort.cpp
regex.h
scanf.cpp
sched.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
sched.h
serenity.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
serenity.h Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
serenity.h.rej Kernel: Some futex improvements 2021-01-17 20:30:31 +01:00
setjmp.h
setjmp.S
signal.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
signal.h
signal_numbers.h
spawn.cpp
spawn.h
ssp.cpp
stat.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
stdarg.h
stdbool.h
stddef.h
stdint.h
stdio.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
stdio.h
stdlib.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
stdlib.h LibC: Don't honor LIBC_* malloc debugging flags in AT_SECURE context 2021-01-31 14:37:21 +01:00
string.cpp
string.h
strings.cpp
strings.h
syslog.cpp
syslog.h
termcap.cpp LibC: Convert remaining String::format() to formatted()/number() 2021-01-30 09:29:51 +01:00
termcap.h
termios.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
termios.h
time.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
time.h
times.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
ulimit.cpp LibC: Change a couple of ASSERT_NOT_REACHED() to TODO() 2021-01-17 08:43:46 +01:00
ulimit.h
unistd.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
unistd.h Kernel+LibC: Add _SC_TTY_NAME_MAX 2021-01-18 22:28:56 +01:00
utime.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
utime.h
utmp.h
utsname.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
wchar.cpp LibC: Add wcstol() and wcstoll() stubs 2021-01-18 22:28:56 +01:00
wchar.h LibC: Add wcstol() and wcstoll() stubs 2021-01-18 22:28:56 +01:00