summaryrefslogtreecommitdiff
path: root/components/net/sal_socket/include/socket/netinet/in.h
blob: 57c417d7b65df99649c5953bd0a6aa20533e01dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2006-2018, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2015-02-17     Bernard      First version
 */

#ifndef IN_H__
#define IN_H__

#include <sys/socket.h>

#ifndef IN6_IS_ADDR_MULTICAST
#define IN6_IS_ADDR_MULTICAST(a) (((uint8_t *) (a))[0] == 0xff)
#endif

#endif