www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - TCP/IP API


Get_SNMP_DataEx

Get internal TCPIP SNMP variables (Extended).

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

Parameters

which

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
7 Get array of pointers to IfMib entries of all current open TCPIP device interfaces (Local Loopback, Ethernet, PPP server, PPP client). max must contain the max. number of pointers at this array.
8 Get pointer to unsigned long sysuptime variable (10Hz counter).

Return Value

non-zero : RTOS version without internal SNMP mib variables
0: Location refereced by snmp_mib_ptr contains a pointer to the structure
If parameter which == 7 the user provided array (addressed by snmp_mib_ptr) contains the pointers to the IfMib entries of the current installed device interfaces. max holds the number of all available entries.

Comments

Note:   These structures are only available at @CHIP-RTOS versions, which contain the SNMP option.   A SNMP agent is not part of the @CHIP-RTOS.    But if a user is able to implement an agent based on the TCPIP API, they need access to the internal TCPIP SNMP variables.   The SNMP variables are not a part of our current official 6 @CHIP-RTOS versions. You must order direct a @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.


Developer Notes

The access to struct tag_atEntry is currently not supported.


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


End of document