Dienstag, 22. Juni 2010

linux kernel, net_device

linux kernel, net_device

quoted from Professional linux kernel architecture , by Wolfgang Mauerer , page 755

1. In the kernel,each network device is represented by a instance of the net_device structure.

2. register_netdev() : this function performs some initialization tasks and registers the device within the generic device mechanism.

3. This creates a sysfs entry /sys/class/net, which links to the device's directory.

eg ls -l /sys/class/net

鄭家富決定退出民主黨
(商台)2010年6月23日 星期三 12:35

民主黨立法會議員鄭家富,已通知黨主席何俊仁,決定在政改方案表決時投反對票,並會退出民主黨。 另一名民主黨議員 黃成智說,鄭家富是勤力與認真工作的人,對他離開民主黨感到可惜,但會尊重鄭家富的選擇,希望市民明白議員亦有自己的立場。黃成智又相信,自己與 鄭家富在地區工作仍有合作空間。


Understanding Linux Network Internals
By Christian Benvenuti

http://book.chinaunix.net/special/ebook/oreilly/Understanding_Linux_Network_Internals/0596002556/toc.html


Linux Device Drivers, 3rd Edition
By Jonathan Corbet, Greg Kroah-Hartman, Alessandro Rubini
http://www.makelinux.net/ldd3/


Keine Kommentare: