xref: /nrf52832-nimble/rt-thread/components/net/sal_socket/include/socket/netinet/in.h (revision 104654410c56c573564690304ae786df310c91fc)
1 /*
2  * Copyright (c) 2006-2018, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2015-02-17     Bernard      First version
9  */
10 
11 #ifndef IN_H__
12 #define IN_H__
13 
14 #include <sys/socket.h>
15 
16 #ifndef IN6_IS_ADDR_MULTICAST
17 #define IN6_IS_ADDR_MULTICAST(a) (((uint8_t *) (a))[0] == 0xff)
18 #endif
19 
20 #endif
21