www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - Packet Driver API


Set_Multicast

Set ethernet multicast Address

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

Parameters

mac_addr

Pointer to multicast mac address buffer (6 bytes)

set

1==set, 0==delete

Return Value

0 on Success
else error code:
    0x00    NO_ERROR
    0x01    BAD_HANDLE        // invalid handle number
    0x05    BAD_TYPE          // Bad packet type specified
    0x09    NO_SPACE          // operation failed because of insufficient space
    0x0A    TYPE_INUSE        // the type had previously been accessed and not released
    0x0B    BAD_COMMAND       // the command was out of range, or not implemented
    0x0C    CANT_SEND         // the packet couldn't be sent (usually a hardware error)

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    V1.00V1.00n/aV0.90

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document