sync with OpenBSD -current

This commit is contained in:
purplerain 2024-01-28 04:29:33 +00:00
parent 8365991714
commit 20629a8b0d
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
27 changed files with 3030 additions and 694 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: in6.h,v 1.111 2023/11/28 13:23:20 bluhm Exp $ */
/* $OpenBSD: in6.h,v 1.112 2024/01/27 21:13:46 bluhm Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
@ -459,6 +459,12 @@ sin6tosa(struct sockaddr_in6 *sin6)
return ((struct sockaddr *)(sin6));
}
static inline const struct sockaddr *
sin6tosa_const(const struct sockaddr_in6 *sin6)
{
return ((const struct sockaddr *)(sin6));
}
static inline struct in6_ifaddr *
ifatoia6(struct ifaddr *ifa)
{