1 /*
2  * Copyright (c) 2006-2021, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2018-08-25     ChenYong     First version
9  */
10 
11 #ifndef __AF_INET_H__
12 #define __AF_INET_H__
13 
14 #include <rtthread.h>
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 #ifdef SAL_USING_LWIP
21 
22 /* Set lwIP network interface device protocol family information  */
23 int sal_lwip_netdev_set_pf_info(struct netdev *netdev);
24 
25 #endif /* SAL_USING_LWIP */
26 
27 #ifdef SAL_USING_AT
28 
29 /* Set AT network interface device protocol family information */
30 int sal_at_netdev_set_pf_info(struct netdev *netdev);
31 
32 #endif /* SAL_USING_AT */
33 
34 #ifdef __cplusplus
35 }
36 #endif
37 
38 #endif /* __AF_INET_H__ */
39