libnl: /data/src/libnl/include/netlink/route/link/ppp.h Source File

libnl 3.12.0

ppp.h
1/* SPDX-License-Identifier: LGPL-2.1-only */
2/*
3 * Copyright (c) 2016 Jonas Johansson <jonasj76@gmail.com>
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
13extern "C" {
14#endif
15
16extern struct rtnl_link *rtnl_link_ppp_alloc(void);
17extern int rtnl_link_ppp_set_fd(struct rtnl_link *, int32_t);
18extern int rtnl_link_ppp_get_fd(struct rtnl_link *, int32_t *);
19
20#ifdef __cplusplus
21}
22#endif
23
24#endif
rtnl_link_ppp_get_fd
int rtnl_link_ppp_get_fd(struct rtnl_link *, int32_t *)
Get PPP file descriptor.
Definition ppp.c:192
rtnl_link_ppp_set_fd
int rtnl_link_ppp_set_fd(struct rtnl_link *, int32_t)
Set PPP file descriptor.
Definition ppp.c:174
rtnl_link_ppp_alloc
struct rtnl_link * rtnl_link_ppp_alloc(void)
Allocate link object of type PPP.
Definition ppp.c:152
rtnl_link
Link object.
Definition nl-route.h:29