net_dummy
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Net Dummy
# Net Dummy Linux Kernel module

This is a simple tcp echo server implemented inside the TCP/IP Linux stack.
This driver takes controll of the complete sub network (any ip address from the network responds).

## Testing

There's currently no script for testing this module, but a simple python script is being created for such purposes.
It should be able to perform basic tasks for the testing of the device driver.

## Loading

In order to load the module execute `modprobe ./dummy.ko` or `insmod ./dummy.ko`.

* To check for log messages use `tail /var/log/syslog`
* To start a new interface use `ifconfig dummy0 192.168.0.1 up`
* In order to unload the module use `rmmod net_dummy`

## Tricks

Keep in mind that a *different network* (from you local network) should be used to avoid any conflicts.

## Reference

http://lxr.free-electrons.com/source/drivers/net/dummy.c

## Issues

There are currently compiling issues with the newest version of the kernel (2.6.31+)

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。