www.beck-ipc.com

@CHIP-RTOS C Library - TCP/IP API


Get_SNMP_Data

Get internal TCP/IP SNMP variables.

int Get_SNMP_Data ( unsigned char which,
                    void far * *snmp_mib_ptr );

Parameters

which

Specifies which data to access.
    1:   Get pointer to IfMib data structure
    2:   Get pointer to IpMib data structure
    3:   Get pointer to IcmpMib data structure
    4:   Get pointer to TcpMib data structure
    5:   Get pointer to UdpMib data structure
    6:   Get pointer to atEntry data structure

snmp_mib_ptr

Output Parameter:   Pointer to a far pointer in user memory which will be set with a pointer to requested object time within the @CHIP-RTOS memory space.

Return Value

non-zero : BIOS without internal SNMP mib variables
0: Location refereced by snmp_mib_ptr contains a pointer to the structure

Comments

This API provides access to the internal TCP/IP variables which will be required if the user is to implement a SNMP (Simple Network Management Protocol) agent.

SC1x3/SC2x Comments

This API currently only supports IPv4 protocol.

SC1x Comments

These structures are only available in @CHIP-RTOS versions which contain the SNMP option.   A SNMP agent is not part of the @CHIP-RTOS.

The SNMP variables are not a part of our current official 6 SC1x @CHIP-RTOS versions.   You must order directly an SC1x @CHIP-RTOS version which includes this feature.

See Also

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

    SC12SC13SC11SC1x3SC2x
    V1.10V1.00V1.00V0.90V1.00

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


End of document