PC/TCP Packet Driver

This is an old revision of this page, as edited by OlEnglish (talk | contribs) at 10:23, 12 July 2010 (c/e, tag for clarification). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 scan 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
driver_info 1
access_type 2
release_type 3
send_pkt 4
terminate 5
get_address 6
reset_interface 7
+get_parameters 10
+as_send_pkt 11
*set_rcv_mode 20
*get_rcv_mode 21
*set_multicast_list 22
*get_multicast_list 23
*get_statistics 24
*set_address 25
+ indicates a high-performance packet driver function
* indicates an extended packet driver function

See also

References

  1. ^ "PC/TCP Packet Driver Specification". 090430 crynwr.com