summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/arpa
AgeCommit message (Collapse)Author
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-21LibC: Add a definition for `INET6_ADDRSTRLEN`Brian Gianforcaro
Although serenity doesn't implement IPv6 yet, applications will often declare buffers to be of size `INET6_ADDRSTRLEN` so it's guaranteed to work in both IPv4 / IPv6 environments. This is needed specifically for a port of Flexible IO Tester https://fio.readthedocs.io This is standardized here: https://pubs.opengroup.org/onlinepubs/009695399/basedefs/netinet/in.h.html
2021-04-12LibC: Validate the len argument for inet_ntop()Gunnar Beutner
2021-04-11LibC: Include additional headers in <arpa/inet.h>Gunnar Beutner
According to the Single UNIX Specification, Version 2 the <arpa/inet.h> header may optionally include <netinet/in.h> and <inttypes.h>. This helps with porting software like c-ray that expects this to be the case.
2021-02-18LibC: Use "static inline" for inline functions in arpa/inet.h (#5392)jonno85uk
This makes it work when compiling as C.
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling