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.

Comments<br />

// not supported.<br />

unsigned long devInBroadcastPkts; // broadcasts delivered<br />

unsigned long devInDiscards; // number of broadcasts<br />

unsigned long devInErrors; // number of packets containing errors<br />

unsigned long devInUnknownProtos; // number of packets with unknown protocol<br />

unsigned long devOutOctets; // number of octets transmitted<br />

unsigned long devOutUcastPkts; // number of unicast packets sent<br />

unsigned long devOutMulticastPkts;// number of multicast packets sent<br />

unsigned long devOutBroadcastPkts;// broadcasts sent<br />

unsigned long devOutDiscards; // number of packets discarded with no error<br />

unsigned long devOutErrors; // number of pkts discarded with an error<br />

unsigned long devOutQLen; // number of packets in output queue<br />

unsigned long devSpecific;<br />

} IfMib;<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. The SNMP MIB variables are not a part of our current official 6 <strong>@CHIP</strong>-<strong>RTOS</strong> versions. It's<br />

necessary to order directly a <strong>@CHIP</strong>-<strong>RTOS</strong> version which includes this feature.<br />

Related Topics<br />

Top of list<br />

Index page<br />

in_addr<br />

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

struct in_addr<br />

{<br />

u_long s_addr; // 32 bit netid/hostid address in network byte order<br />

};<br />

Related Topics<br />

Top of list<br />

Index page<br />

IpMib<br />

sockaddr_in data structure<br />

typedef struct tagIpMib<br />

{<br />

long ipForwarding; // 1<br />

long ipDefaultTTL; // default TTL for pkts originating here<br />

unsigned long ipInReceives; // no. of IP packets received from interfaces<br />

unsigned long ipInHdrErrors; // number of pkts discarded due to header errors<br />

unsigned long ipInAddrErrors; // no. of pkts discarded due to bad address<br />

unsigned long ipForwDatagrams; // number pf pkts forwarded through this entity<br />

unsigned long ipInUnknownProtos; // no. of local-addressed pkts w/unknown proto<br />

unsigned long ipInDiscards; // number of error-free packets discarded<br />

unsigned long ipInDelivers; // number of datagrams delivered to upper level<br />

unsigned long ipOutRequests; // number of IP datagrams originating locally<br />

unsigned long ipOutDiscards; // number of error-free output IP pkts discarded<br />

unsigned long ipOutNoRoutes; // number of IP pkts discarded due to no route<br />

long ipReasmTimeout; // seconds fragment is held awaiting reassembly<br />

unsigned long ipReasmReqds; // no. of fragments needing reassembly (here)<br />

Page 168 / 400

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

Saved successfully!

Ooh no, something went wrong!