mOS API description
Data Fields
tcp_buf_info Struct Reference

MOS tcp buf info structure. More...

#include <mos_api.h>

Data Fields

uint32_t tcpbi_init_seq
 The initial TCP sequence number of TCP ring buffer. More...
 
uint32_t tcpbi_last_byte_read
 TCP sequence number of the 'last byte of payload that has already been read by the end application' (applies in the case of embedded monitor setup) More...
 
uint32_t tcpbi_next_byte_expected
 TCP sequence number of the 'last byte of the payload that is currently buffered and needs to be read by the end application' (applies in the case of embedded monitor setup). More...
 
uint32_t tcpbi_last_byte_received
 TCP sequence number of the 'last byte of the payload that is currently stored' in the TCP ring buffer. More...
 

Detailed Description

MOS tcp buf info structure.

Used by the monitor application to retreive tcp_stream-related info. Usually called via getsockopt() function

Field Documentation

uint32_t tcp_buf_info::tcpbi_init_seq

The initial TCP sequence number of TCP ring buffer.

uint32_t tcp_buf_info::tcpbi_last_byte_read

TCP sequence number of the 'last byte of payload that has already been read by the end application' (applies in the case of embedded monitor setup)

uint32_t tcp_buf_info::tcpbi_last_byte_received

TCP sequence number of the 'last byte of the payload that is currently stored' in the TCP ring buffer.

This value may be greater than tcpbi_next_byte_expected if packets arrive out of order.

uint32_t tcp_buf_info::tcpbi_next_byte_expected

TCP sequence number of the 'last byte of the payload that is currently buffered and needs to be read by the end application' (applies in the case of embedded monitor setup).

In case of standalone monitors, tcpbi_last_byte_read = tcpbi_next_byte_expected


The documentation for this struct was generated from the following file: