1 /* SPDX-License-Identifier: LGPL-2.1-only */ 2 /* 3 * Copyright (c) 2016 Jonas Johansson <[email protected]> 4 */ 5 6 #ifndef NETLINK_LINK_PPP_H_ 7 #define NETLINK_LINK_PPP_H_ 8 9 #include <netlink/netlink.h> 10 #include <netlink/route/link.h> 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 extern struct rtnl_link *rtnl_link_ppp_alloc(void); 17 extern int rtnl_link_ppp_set_fd(struct rtnl_link *, int32_t); 18 extern int rtnl_link_ppp_get_fd(struct rtnl_link *, int32_t *); 19 20 #ifdef __cplusplus 21 } 22 #endif 23 24 #endif 25