blob: f0785be8501015cb18b927febadb6f8f7e4ea86b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef __EVENTS_H
#define __EVENTS_H
#include <stdint.h>
#define EV_PPP_STARTING 1
#define EV_PPP_STARTED 2
#define EV_PPP_FINISHING 3
#define EV_PPP_FINISHED 4
#define EV_PPP_AUTHORIZED 5
#define EV_CTRL_STARTING 6
#define EV_CTRL_STARTED 7
#define EV_CTRL_FINISHED 8
#define EV_IP_CHANGED 100
#define EV_SHAPE_CHANGED 101
#define EV_MPPE_KEYS 102
#define EV_RADIUS_ACCESS_ACCEPT 200
#define EV_RADIUS_COA 201
struct ppp_t;
struct rad_packet_t;
struct ev_radius_t
{
struct ppp_t *ppp;
struct rad_packet_t *request;
struct rad_packet_t *reply;
int res;
};
struct ev_mppe_keys_t
{
struct ppp_t *ppp;
uint8_t *recv_key;
uint8_t *send_key;
int policy;
int type;
};
#endif
|