PC/TCP Packet Driver is an API created in 1986 by FTP Software for network cards under x86-DOSes like FreeDOS, DR-DOS, MS-DOS, etc. It uses the x86 interrupt number (INT) between 0x60 .. 0x80. The exact number is detected at run-time. But it's usually 0x60.
An application scans through the handlers for vectors 0x60 through 0x80 until it finds one with the text string "PKT DRVR" in the 12 bytes immediately following the entry point.[clarification needed - techspeak, relevance?]
The driver can handle Ethernet, Token ring, RS-232, Arcnet, X.25. [1]
Functions
Function name | AH number | Notes |
---|---|---|
driver_info | 1 | |
access_type | 2 | |
release_type | 3 | |
send_pkt | 4 | |
terminate | 5 | |
get_address | 6 | |
reset_interface | 7 | |
get_parameters | 10 | high-performance packet driver |
as_send_pkt | 11 | |
set_rcv_mode | 20 | extended packet driver |
get_rcv_mode | 21 | |
set_multicast_list | 22 | |
get_multicast_list | 23 | |
get_statistics | 24 | |
set_address | 25 |
See also
References
- ^ "PC/TCP Packet Driver Specification". 090430 crynwr.com