/* rtk_fastbridge.h: define fast bridge parameters*/ #ifndef _BRGSHORTCUT_H_ #define _BRGSHORTCUT_H_ #include <linux/module.h> #define BRG_ENTRY_AGING_TIME_NORMAL 200 #define BRG_ENTRY_AGING_TIME_HEAVY 100000 #if defined(CONFIG_RTL_ADV_FAST_PATH) #define SW_QOS_ENABLE (1<<16) #endif enum {DIR_LAN, DIR_WAN}; #if 0 int brgScProcess(struct sk_buff *skb, struct net_device *srcDev, int dir); void brgScLearnDestItf(struct sk_buff *skb, struct net_device *dstDev); int brgScFind(struct net_device *dst, unsigned char *mac, unsigned long *tick); int brgScDelete(unsigned char *mac); void brgScEntryDelete(unsigned short *s_mac,unsigned short *d_mac,int dir); #endif #if defined(CONFIG_IMQ) || defined(CONFIG_IMQ_MODULE)||defined(CONFIG_RTK_ETHUP) extern int qos_enable; #endif #endif