diff options
Diffstat (limited to 'target/linux/realtek/files/include/net/rtl/rtl865x_ppp.h')
-rw-r--r-- | target/linux/realtek/files/include/net/rtl/rtl865x_ppp.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/realtek/files/include/net/rtl/rtl865x_ppp.h b/target/linux/realtek/files/include/net/rtl/rtl865x_ppp.h new file mode 100644 index 000000000..e66b56175 --- /dev/null +++ b/target/linux/realtek/files/include/net/rtl/rtl865x_ppp.h @@ -0,0 +1,30 @@ +/* +* Copyright c Realtek Semiconductor Corporation, 2008 +* All rights reserved. +* +* Program : ppoe table driver +* Abstract : +* Author : hyking (hyking_liu@realsil.com.cn) +*/ +#ifndef RTL865X_PPP_H +#define RTL865X_PPP_H + +#if !defined(REDUCE_MEMORY_SIZE_FOR_16M) +#define REDUCE_MEMORY_SIZE_FOR_16M +#endif + +#if defined(REDUCE_MEMORY_SIZE_FOR_16M) +#define PPP_NUMBER 2 +#else +#define PPP_NUMBER 8 +#endif +#define SESSION_TYPE_PPPOE 0x00 +#define SESSION_TYPE_PPTP 0x01 +#define SESSION_TYPE_L2TP 0x02 + +int32 rtl865x_delPpp(uint32 sessionId); +int32 rtl865x_delPppbyIfName(char *name); +int32 rtl865x_addPpp(uint8 *ifname, ether_addr_t *mac, uint32 sessionId, int32 type); + +#endif + |