Main Page Data Structures File List Data Fields Globals Related Pages

# clib/PKTDRV.C File Reference

`#include <DOS.H>`
`#include "pktdrv.h"`

Go to the source code of this file.

## Functions
unsigned char | PktDriver_Installed (void)
unsigned char | Get_Driver_Info (Driver_Info *drv_info)
unsigned char | Get_Eth_Address (unsigned char *buffer, unsigned int len)
unsigned char | Send_Packet (unsigned char *buffer, unsigned int len)
unsigned int | Set_Access_Type (Driver_Info *drv_info, fpFktPtr Receiver, int *pkt_type, int *handle)
unsigned int | Release_Type (unsigned int handle)
unsigned int | Set_Multicast (unsigned char *mac_addr, int set)
unsigned int | Set_WildcardAccess_Type (Driver_Info *drv_info, fpFktPtr Receiver, int *pkt_type, int *handle)
unsigned int | Get_Receive_Mode (unsigned char *error)
unsigned int | Set_Receive_Mode (unsigned int mode, unsigned char *error)

## Function Documentation

unsigned char Get_Driver_Info | ( | Driver_Info * | drv_info | ) |

| Definition at line 74 of file PKTDRV.C. References tag_driver_info::_class, tag_driver_info::basic, DRIVER_INFO, tag_driver_info::number, PKTVECT, tag_driver_info::type, and tag_driver_info::version.

unsigned char Get_Eth_Address | ( | unsigned char * | buffer,
|  | unsigned int | len
| ) |

| Definition at line 98 of file PKTDRV.C. References GET_ADDRESS, and PKTVECT.

unsigned int Get_Receive_Mode | ( | unsigned char * | error | ) |

| Definition at line 277 of file PKTDRV.C. References GET_RCVMODE, and PKTVECT.

unsigned char PktDriver_Installed | ( | void |  | ) |

| Definition at line 53 of file PKTDRV.C.

unsigned int Release_Type | ( | unsigned int | handle | ) |

| Definition at line 180 of file PKTDRV.C. References PKTVECT, and RELEASE_TYPE.

unsigned char Send_Packet | ( | unsigned char * | buffer,
|  | unsigned int | len
| ) |

| Definition at line 121 of file PKTDRV.C. References PKTVECT, and SEND_PKT.

unsigned int Set_Access_Type | ( | Driver_Info * | drv_info,
|  | fpFktPtr | Receiver,
|  | int * | pkt_type,
|  | int * | handle
| ) |

| Definition at line 146 of file PKTDRV.C. References tag_driver_info::_class, ACCESS_TYPE, fpFktPtr, tag_driver_info::number, PKTVECT, and tag_driver_info::type.

unsigned int Set_Multicast | ( | unsigned char * | mac_addr,
|  | int | set
| ) |

| Definition at line 201 of file PKTDRV.C. References DEL_MULTICAST, PKTVECT, and SET_MULTICAST.

unsigned int Set_Receive_Mode | ( | unsigned int | mode,
|  | unsigned char * | error
| ) |

| Definition at line 298 of file PKTDRV.C. References PKTVECT, and SET_RCVMODE.

unsigned int Set_WildcardAccess_Type | ( | Driver_Info * | drv_info,
|  | fpFktPtr | Receiver,
|  | int * | pkt_type,
|  | int * | handle
| ) |

| Definition at line 241 of file PKTDRV.C. References tag_driver_info::_class, fpFktPtr, INSTALL_WILDCARD, tag_driver_info::number, PKTVECT, and tag_driver_info::type.