www.beck-ipc.com

@CHIP-RTOS C Library - TCP/IP API


Get_TCPIP_Statistics

Access the internal network packet counters.

void Get_TCPIP_Statistics ( Packet_Count far * *pkt_cnt_ptr );

Parameters

pkt_cnt_ptr

Output Parameter:  Pointer to location in user memory which will receive a pointer to a Packet_Count data structure residing in @CHIP-RTOS memory space (read-only!).   This referenced @CHIP-RTOS data structure contains further pointers to the counters for each protocol.

Return Value

-- none --

Comments

The counters referenced by Packet_Count data structure members count_all_packets and cnt_all_sended_packets count only Ethernet packets.

Other counters referenced also count the packets from and to other devices: e.g. local loop back packets and PPP packets.

The user is free to read and/or reset any of these referenced counters.

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.00V1.00V1.00V0.90V1.00

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


End of document