01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Top of list<br />

Index page<br />

UdpMib<br />

Comments<br />

typedef struct tagTcpMib<br />

{<br />

long tcpRtoAlgorithm; // retransmission timeout algorithm<br />

long tcpRtoMin; // minimum retransmission timeout (mS)<br />

long tcpRtoMax; // maximum retransmission timeout (mS)<br />

long tcpMaxConn; // maximum TCP connections possible<br />

unsigned long tcpActiveOpens; // number of SYN-SENT -> CLOSED transitions<br />

unsigned long tcpPassiveOpens; // number of SYN-RCVD -> LISTEN transitions<br />

unsigned long tcpAttemptFails; //(SYN-SENT,SYN-RCVD)->CLOSED or SYN-RCVD->LISTEN<br />

unsigned long tcpEstabResets; // (ESTABLISHED,CLOSE-WAIT) -> CLOSED<br />

unsigned long tcpCurrEstab; // number in ESTABLISHED or CLOSE-WAIT state<br />

unsigned long tcpInSegs; // number of segments received<br />

unsigned long tcpOutSegs; // number of segments sent<br />

unsigned long tcpRetransSegs; // number of retransmitted segments<br />

unsigned long tcpInErrs; // number of received errors<br />

unsigned long tcpOutRsts; // number of transmitted resets<br />

} TcpMib;<br />

typedef struct tagUdpMib<br />

{<br />

unsigned long udpInDatagrams; // UDP datagrams delivered to users<br />

unsigned long udpNoPorts; // UDP datagrams to port with no listener<br />

unsigned long udpInErrors; // UDP datagrams unable to be delivered<br />

unsigned long udpOutDatagrams;// UDP datagrams sent from this entity<br />

} UdpMib;<br />

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

the <strong>@CHIP</strong>-<strong>RTOS</strong>. But if a user is able to implement an agent based on the TCP/IP API, they need access to the internal<br />

TCP/IP SNMP variables.<br />

Related Topics<br />

Top of list<br />

Index page<br />

API function API_SNMP_GET - Get internal TCP/IP SNMP variables<br />

UserEthDhcp_Entry<br />

typedef struct tag_UserDhcpEthEntry<br />

{<br />

unsigned long BootSIpAddress; // BOOT Server (TFTP server), not supported<br />

unsigned long Dns1ServerIpAddress; // Domain name server<br />

unsigned long Dns2ServerIpAddress; // Second domain name server<br />

unsigned long Yiaddr; // Our (leased) IP address<br />

unsigned long NetMask; // Our subnet mask<br />

unsigned long DefRouter; // Default router<br />

unsigned long DhcpServerId; // DHCP selected server IP address<br />

unsigned long internal1; // Internal use only<br />

unsigned long internal2; // Internal use only<br />

unsigned long DhcpLeaseTime; // DHCP Address lease time in milliseconds<br />

unsigned long internal3; // internal use only<br />

unsigned long internal4; // internal use only<br />

unsigned char DomainName[64]; // Domain name<br />

unsigned char BootSname[64]; // TFTP server name, not used<br />

unsigned char BootFileName[128]; // Boot file name (for TFTP download),<br />

Page 179 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!