コード例 #1
0
ファイル: api-ralink.c プロジェクト: hebjt/asuswrt-merlin
int get_mt7621_wan_unit_bytecount(int unit, unsigned long *tx, unsigned long *rx)
#endif
{
#if defined(RTCONFIG_RALINK_MT7620)
	return __mt7620_wan_bytecount(unit, tx, rx);
#elif defined(RTCONFIG_RALINK_MT7621)
	return __mt7621_wan_bytecount(unit, tx, rx);
#endif
}
コード例 #2
0
/* Read TX/RX byte count information from switch's register. */
int get_mt7620_wan_unit_bytecount(int unit, unsigned long *tx, unsigned long *rx)
{
	return __mt7620_wan_bytecount(unit, tx, rx);
}