aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/mingw/libsrc/ws2tcpip/in6_is_addr_multicast.c
blob: 5878de8a9e2060b48c440820c587a8c2d1135347 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#undef  __CRT__NO_INLINE
#define __CRT__NO_INLINE
#include <winsock2.h>
#include <ws2tcpip.h>

int IN6_IS_ADDR_MULTICAST(const struct in6_addr *a)
{
	return (a->s6_bytes[0] == 0xff);
}