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系统中,将交换机看作字符设备和网络设备的结合体,在内核中注册了设备驱动程序模块,在用户空间以用户进程的方式通过编程接口对设备驱动程序进行管理和设置。