1. Add dlink.h for D-Link specific function
 2. Remove some un-used code