netware_net_macaddr

Returns the MAC address of the specified LAN card.

Library:LibC
Classification:Novell
Service:NetWare Platform

Syntax

  #include <monitor.h>
   
  int netware_net_macaddr (
     int       board,
     uint8_t   macAddr[6] );
  

Parameters

board

(IN) Specifies the LAN card.

macAddr

(OUT) Returns the MAC address of the specified LAN card.

Return Values

If successful, returns 0; otherwise, returns a nonzero error code:

Decimal

Hex

Constant

Description

66

0x42

ENOSYS

The function cannot be exported (error from NetWare ExportPublicSymbol).

77

0x4D

ESRCH

The specified card does not exist.

Remarks

This function is supported on NetWare 6.5, NetWare 6.0 SP4, and NetWare 5.1 SP6 or later.

See Also