summaryrefslogtreecommitdiff
path: root/jni/src/pppoe_status.h (plain)
blob: 876261400a0f9088c272d3c07ab31b6a66b3b234
1#ifndef PPPOE_STATUS_H
2#define PPPOE_STATUS_H
3
4#define PPP_STATUS_CONNECTED 0x10
5#define PPP_STATUS_DISCONNECTED 0x20
6#define PPP_STATUS_CONNECTING 0x40
7
8#include "../../../ppp/pppd/pathnames.h"
9#define PPPOE_PIDFILE _ROOT_PATH "/etc/ppp/pppoe.pid"
10#define PPPOE_WRAPPER_CLIENT_PATH _ROOT_PATH "/etc/ppp/pppoe"
11#define PPPOE_WRAPPER_SERVER_PATH "/dev/socket/pppoe_wrapper"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17int get_pppoe_status( const char *ether_if_name);
18
19
20#ifdef __cplusplus
21}
22#endif
23
24#endif
25
26