mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibC: Add in6_addr and sockaddr_in6 structs
This commit is contained in:
parent
eeb9042b8e
commit
ec93d6ffdc
Notes:
sideshowbarker
2024-07-19 03:53:20 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/ec93d6ffdcc
1 changed files with 12 additions and 0 deletions
|
@ -54,4 +54,16 @@ struct sockaddr_in {
|
|||
char sin_zero[8];
|
||||
};
|
||||
|
||||
struct in6_addr {
|
||||
uint8_t s6_addr[16];
|
||||
};
|
||||
|
||||
struct sockaddr_in6 {
|
||||
uint16_t sin6_family; // AF_INET6.
|
||||
uint16_t sin6_port; // Port number.
|
||||
uint32_t sin6_flowinfo; // IPv6 traffic class and flow information.
|
||||
struct in6_addr sin6_addr; // IPv6 address.
|
||||
uint32_t sin6_scope_id; // Set of interfaces for a scop
|
||||
};
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Reference in a new issue