1 /* 2 * netlink/route/link/ppp.h PPP Interface 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation version 2.1 7 * of the License. 8 * 9 * Copyright (c) 2016 Jonas Johansson <jonasj76@gmail.com> 10 */ 11 12 #ifndef NETLINK_LINK_PPP_H_ 13 #define NETLINK_LINK_PPP_H_ 14 15 #include <netlink/netlink.h> 16 #include <netlink/route/link.h> 17 18 #ifdef __cplusplus 19 extern "C" { 20 #endif 21 22 extern struct rtnl_link *rtnl_link_ppp_alloc(void); 23 extern int rtnl_link_ppp_set_fd(struct rtnl_link *, int32_t); 24 extern int rtnl_link_ppp_get_fd(struct rtnl_link *, int32_t *); 25 26 #ifdef __cplusplus 27 } 28 #endif 29 30 #endif 31