By registering the HDLC device to the uClinux kernel as an Ethernet device and carrying out protocol conversion between Ethernet and HDLC in the device driver, high efficient data forwarding between Ethernet and HDLC interface is achieved. 采取将HDLC接口向内核注册为Ethernet设备,并在驱动中完成Ethernet与HDLC协议间转换的设计方案,实现了数据在Ethernet和HDLC接口间的高效转发。
The switch is regarded as a combination of character device and network device in embedded Linux. A modular of device driver is registered in kernel, and the user processes in user space can manage and configure it by calling the interface. 在嵌入式Linux系统中,将交换机看作字符设备和网络设备的结合体,在内核中注册了设备驱动程序模块,在用户空间以用户进程的方式通过编程接口对设备驱动程序进行管理和设置。