RT-Thread_v4.1.1
This commit is contained in:
20
components/net/sal/include/socket/netinet/in.h
Normal file
20
components/net/sal/include/socket/netinet/in.h
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2021, 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
|
16
components/net/sal/include/socket/netinet/tcp.h
Normal file
16
components/net/sal/include/socket/netinet/tcp.h
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2015-02-17 Bernard First version
|
||||
*/
|
||||
|
||||
#ifndef TCP_H__
|
||||
#define TCP_H__
|
||||
|
||||
#include <sys/socket.h>
|
||||
|
||||
#endif
|
16
components/net/sal/include/socket/netinet/udp.h
Normal file
16
components/net/sal/include/socket/netinet/udp.h
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2015-02-17 Bernard First version
|
||||
*/
|
||||
|
||||
#ifndef UDP_H__
|
||||
#define UDP_H__
|
||||
|
||||
#include <sys/socket.h>
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user