diff options
author | Kozlov Dmitry <dima@server> | 2010-12-29 17:20:29 +0300 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-12-29 17:20:29 +0300 |
commit | 782fe82063670697d47a81e6ad97acb65b5c18ee (patch) | |
tree | f832d0342d401e80d73c82c17e1e5c98250459b3 /accel-pptpd/ctrl/pppoe/pppoe.h | |
parent | 7206898657c84b6131103d127751e030513a1abc (diff) | |
download | accel-ppp-782fe82063670697d47a81e6ad97acb65b5c18ee.tar.gz accel-ppp-782fe82063670697d47a81e6ad97acb65b5c18ee.zip |
pppoe: TR-101 support (untested)
Diffstat (limited to 'accel-pptpd/ctrl/pppoe/pppoe.h')
-rw-r--r-- | accel-pptpd/ctrl/pppoe/pppoe.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/accel-pptpd/ctrl/pppoe/pppoe.h b/accel-pptpd/ctrl/pppoe/pppoe.h index 323715d8..b0e665d7 100644 --- a/accel-pptpd/ctrl/pppoe/pppoe.h +++ b/accel-pptpd/ctrl/pppoe/pppoe.h @@ -41,6 +41,8 @@ #define MAX_PPPOE_PAYLOAD (ETH_DATA_LEN - PPPOE_OVERHEAD) #define MAX_PPPOE_MTU (MAX_PPPOE_PAYLOAD - 2) +#define VENDOR_ADSL_FORUM 0xde9 + #define MAX_SID 65534 #define SECRET_LENGTH 16 #define COOKIE_LENGTH 24 @@ -102,5 +104,9 @@ void dpado_check_next(int conn_cnt); void dpado_check_prev(int conn_cnt); int dpado_parse(const char *str); +struct rad_packet_t; +int tr101_send_access_request(struct pppoe_tag *tr101, struct rad_packet_t *pack); +int tr101_send_accounting_request(struct pppoe_tag *tr101, struct rad_packet_t *pack); + #endif |