blob: 064bf245e0b00082bd1c15dc591a1fce84bbfdee (
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
|
#ifndef PPP_AUTH_H
#define PPP_AUTH_H
#include "list.h"
struct ppp_layer_t;
struct lcp_opt_hdr_t;
struct lcp_opt32_t;
struct auth_driver_t
{
struct list_head entry;
int type;
int (*get_conf_req)(struct auth_driver_t*, struct ppp_t*, struct lcp_opt32_t*);
int (*recv_conf_req)(struct auth_driver_t*, struct ppp_t*, struct lcp_opt32_t*);
int (*begin)(struct auth_driver_t*, struct ppp_t*);
int (*terminate)(struct auth_driver_t*, struct ppp_t*);
};
int auth_get_conf_req(struct ppp_layer_t *l, struct lcp_opt32_t *);
int auth_recv_conf_req(struct ppp_layer_t *l, struct lcp_opt_hdr_t *);
int auth_recv_conf_rej(struct ppp_layer_t *l, struct lcp_opt_hdr_t *);
int auth_recv_conf_nak(struct ppp_layer_t *l, struct lcp_opt_hdr_t *);
#endif
|