ipv6: in.h extended

This commit is contained in:
Daniil Vinogradov 2024-02-21 00:01:24 +01:00
parent 919e3d3938
commit 03461c9304

View File

@ -684,6 +684,14 @@ struct sockaddr_in6 {
uint32_t sin6_scope_id; /* Scope ID */ uint32_t sin6_scope_id; /* Scope ID */
}; };
/*
* Argument structure for IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP.
*/
struct ipv6_mreq {
struct in6_addr ipv6mr_multiaddr;
unsigned int ipv6mr_interface;
};
extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_any;
extern const struct in6_addr in6addr_loopback; extern const struct in6_addr in6addr_loopback;