Writing Device Drivers

GLD Return Values

In addition to the return values described above, and subject to the restrictions above, some of the GLD entry point functions can return these values:

GLD_BADARG

If the function detected an unsuitable argument, for example, a bad multicast address, a bad MAC address, or a bad packet or packet length

GLD_FAILURE

On hardware failure

GLD_SUCCESS

On success