This application note describes a method for developing block-oriented I/O device drivers
for applications that use the DSP/BIOS real-time kernel and includes examples that run
with Code Composer Studio v2.1 on the Texas Instruments TMS320C5402 and
TMS320C6711 DSP Starter Kits (DSKs). The device driver model presented here has
now been superceded with an updated version that supports not only block oriented
devices, but also devices such as UARTs, PCI and USB buses and Multimedia cards.
Documentation on the updated driver model as well as example drivers and source code
can be found in the Device Driver Developer s Kit product now available for download
from the TI Developer s Village.
利用“原始套接字”(Raw Socket),我們可訪問位于基層的傳輸協(xié)議。本章專門講解如
何運用這種原始套接字,來模擬I P的一些實用工具,比如Tr a c e r o u t e和P i n g程序等等。使用原
始套接字,亦可對I P頭信息進行實際的操作。本章只關心I P協(xié)議;至于如何針對其他協(xié)議使
用原始套接字,我們不打算提及。而且,大多數(shù)協(xié)議(除AT M以外)根本就不支持原始套接
字。所有原始套接字都是使用S O C K _ R AW這個套接字類型來創(chuàng)建的,而且目前只有Wi n s o c k
2提供了對它的支持。因此,無論Microsoft Windows CE 還是老版本的Windows 95 (無
Winsock 2升級)均不能利用原始套接字的能力。