uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
snmp.h File Reference
#include "lwip/opt.h"
#include "lwip/ip_addr.h"

Go to the source code of this file.

Macros

#define snmp_set_sysdesr(str, len)
 
#define snmp_set_sysobjid(oid)   ;
 
#define snmp_get_sysobjid_ptr(oid)
 
#define snmp_inc_sysuptime()
 
#define snmp_add_sysuptime(value)
 
#define snmp_get_sysuptime(value)
 
#define snmp_set_syscontact(ocstr, ocstrlen)   ;
 
#define snmp_set_sysname(ocstr, ocstrlen)   ;
 
#define snmp_set_syslocation(ocstr, ocstrlen)   ;
 
#define snmp_add_ifinoctets(ni, value)
 
#define snmp_inc_ifinucastpkts(ni)
 
#define snmp_inc_ifinnucastpkts(ni)
 
#define snmp_inc_ifindiscards(ni)
 
#define snmp_add_ifoutoctets(ni, value)
 
#define snmp_inc_ifoutucastpkts(ni)
 
#define snmp_inc_ifoutnucastpkts(ni)
 
#define snmp_inc_ifoutdiscards(ni)
 
#define snmp_inc_iflist()
 
#define snmp_dec_iflist()
 
#define snmp_insert_arpidx_tree(ni, ip)
 
#define snmp_delete_arpidx_tree(ni, ip)
 
#define snmp_inc_ipinreceives()
 
#define snmp_inc_ipinhdrerrors()
 
#define snmp_inc_ipinaddrerrors()
 
#define snmp_inc_ipforwdatagrams()
 
#define snmp_inc_ipinunknownprotos()
 
#define snmp_inc_ipindiscards()
 
#define snmp_inc_ipindelivers()
 
#define snmp_inc_ipoutrequests()
 
#define snmp_inc_ipoutdiscards()
 
#define snmp_inc_ipoutnoroutes()
 
#define snmp_inc_ipreasmreqds()
 
#define snmp_inc_ipreasmoks()
 
#define snmp_inc_ipreasmfails()
 
#define snmp_inc_ipfragoks()
 
#define snmp_inc_ipfragfails()
 
#define snmp_inc_ipfragcreates()
 
#define snmp_inc_iproutingdiscards()
 
#define snmp_insert_ipaddridx_tree(ni)
 
#define snmp_delete_ipaddridx_tree(ni)
 
#define snmp_insert_iprteidx_tree(dflt, ni)
 
#define snmp_delete_iprteidx_tree(dflt, ni)
 
#define snmp_inc_icmpinmsgs()
 
#define snmp_inc_icmpinerrors()
 
#define snmp_inc_icmpindestunreachs()
 
#define snmp_inc_icmpintimeexcds()
 
#define snmp_inc_icmpinparmprobs()
 
#define snmp_inc_icmpinsrcquenchs()
 
#define snmp_inc_icmpinredirects()
 
#define snmp_inc_icmpinechos()
 
#define snmp_inc_icmpinechoreps()
 
#define snmp_inc_icmpintimestamps()
 
#define snmp_inc_icmpintimestampreps()
 
#define snmp_inc_icmpinaddrmasks()
 
#define snmp_inc_icmpinaddrmaskreps()
 
#define snmp_inc_icmpoutmsgs()
 
#define snmp_inc_icmpouterrors()
 
#define snmp_inc_icmpoutdestunreachs()
 
#define snmp_inc_icmpouttimeexcds()
 
#define snmp_inc_icmpoutparmprobs()
 
#define snmp_inc_icmpoutsrcquenchs()
 
#define snmp_inc_icmpoutredirects()
 
#define snmp_inc_icmpoutechos()
 
#define snmp_inc_icmpoutechoreps()
 
#define snmp_inc_icmpouttimestamps()
 
#define snmp_inc_icmpouttimestampreps()
 
#define snmp_inc_icmpoutaddrmasks()
 
#define snmp_inc_icmpoutaddrmaskreps()
 
#define snmp_inc_tcpactiveopens()
 
#define snmp_inc_tcppassiveopens()
 
#define snmp_inc_tcpattemptfails()
 
#define snmp_inc_tcpestabresets()
 
#define snmp_inc_tcpinsegs()
 
#define snmp_inc_tcpoutsegs()
 
#define snmp_inc_tcpretranssegs()
 
#define snmp_inc_tcpinerrs()
 
#define snmp_inc_tcpoutrsts()
 
#define snmp_inc_udpindatagrams()
 
#define snmp_inc_udpnoports()
 
#define snmp_inc_udpinerrors()
 
#define snmp_inc_udpoutdatagrams()
 
#define snmp_insert_udpidx_tree(pcb)
 
#define snmp_delete_udpidx_tree(pcb)
 
#define snmp_inc_snmpinpkts()
 
#define snmp_inc_snmpoutpkts()
 
#define snmp_inc_snmpinbadversions()
 
#define snmp_inc_snmpinbadcommunitynames()
 
#define snmp_inc_snmpinbadcommunityuses()
 
#define snmp_inc_snmpinasnparseerrs()
 
#define snmp_inc_snmpintoobigs()
 
#define snmp_inc_snmpinnosuchnames()
 
#define snmp_inc_snmpinbadvalues()
 
#define snmp_inc_snmpinreadonlys()
 
#define snmp_inc_snmpingenerrs()
 
#define snmp_add_snmpintotalreqvars(value)
 
#define snmp_add_snmpintotalsetvars(value)
 
#define snmp_inc_snmpingetrequests()
 
#define snmp_inc_snmpingetnexts()
 
#define snmp_inc_snmpinsetrequests()
 
#define snmp_inc_snmpingetresponses()
 
#define snmp_inc_snmpintraps()
 
#define snmp_inc_snmpouttoobigs()
 
#define snmp_inc_snmpoutnosuchnames()
 
#define snmp_inc_snmpoutbadvalues()
 
#define snmp_inc_snmpoutgenerrs()
 
#define snmp_inc_snmpoutgetrequests()
 
#define snmp_inc_snmpoutgetnexts()
 
#define snmp_inc_snmpoutsetrequests()
 
#define snmp_inc_snmpoutgetresponses()
 
#define snmp_inc_snmpouttraps()
 
#define snmp_get_snmpgrpid_ptr(oid)
 
#define snmp_set_snmpenableauthentraps(value)
 
#define snmp_get_snmpenableauthentraps(value)
 

Enumerations

enum  snmp_ifType {
  snmp_ifType_other =1, snmp_ifType_regular1822, snmp_ifType_hdh1822, snmp_ifType_ddn_x25,
  snmp_ifType_rfc877_x25, snmp_ifType_ethernet_csmacd, snmp_ifType_iso88023_csmacd, snmp_ifType_iso88024_tokenBus,
  snmp_ifType_iso88025_tokenRing, snmp_ifType_iso88026_man, snmp_ifType_starLan, snmp_ifType_proteon_10Mbit,
  snmp_ifType_proteon_80Mbit, snmp_ifType_hyperchannel, snmp_ifType_fddi, snmp_ifType_lapb,
  snmp_ifType_sdlc, snmp_ifType_ds1, snmp_ifType_e1, snmp_ifType_basicISDN,
  snmp_ifType_primaryISDN, snmp_ifType_propPointToPointSerial, snmp_ifType_ppp, snmp_ifType_softwareLoopback,
  snmp_ifType_eon, snmp_ifType_ethernet_3Mbit, snmp_ifType_nsip, snmp_ifType_slip,
  snmp_ifType_ultra, snmp_ifType_ds3, snmp_ifType_sip, snmp_ifType_frame_relay
}
 

Macro Definition Documentation

#define snmp_add_ifinoctets (   ni,
  value 
)

Definition at line 245 of file snmp.h.

#define snmp_add_ifoutoctets (   ni,
  value 
)

Definition at line 249 of file snmp.h.

#define snmp_add_snmpintotalreqvars (   value)

Definition at line 341 of file snmp.h.

#define snmp_add_snmpintotalsetvars (   value)

Definition at line 342 of file snmp.h.

#define snmp_add_sysuptime (   value)

Definition at line 238 of file snmp.h.

#define snmp_dec_iflist ( )

Definition at line 254 of file snmp.h.

#define snmp_delete_arpidx_tree (   ni,
  ip 
)

Definition at line 258 of file snmp.h.

#define snmp_delete_ipaddridx_tree (   ni)

Definition at line 279 of file snmp.h.

#define snmp_delete_iprteidx_tree (   dflt,
  ni 
)

Definition at line 281 of file snmp.h.

#define snmp_delete_udpidx_tree (   pcb)

Definition at line 327 of file snmp.h.

#define snmp_get_snmpenableauthentraps (   value)

Definition at line 359 of file snmp.h.

#define snmp_get_snmpgrpid_ptr (   oid)

Definition at line 357 of file snmp.h.

#define snmp_get_sysobjid_ptr (   oid)

Definition at line 236 of file snmp.h.

#define snmp_get_sysuptime (   value)

Definition at line 239 of file snmp.h.

#define snmp_inc_icmpinaddrmaskreps ( )

Definition at line 296 of file snmp.h.

#define snmp_inc_icmpinaddrmasks ( )

Definition at line 295 of file snmp.h.

#define snmp_inc_icmpindestunreachs ( )

Definition at line 286 of file snmp.h.

#define snmp_inc_icmpinechoreps ( )

Definition at line 292 of file snmp.h.

#define snmp_inc_icmpinechos ( )

Definition at line 291 of file snmp.h.

#define snmp_inc_icmpinerrors ( )

Definition at line 285 of file snmp.h.

#define snmp_inc_icmpinmsgs ( )

Definition at line 284 of file snmp.h.

#define snmp_inc_icmpinparmprobs ( )

Definition at line 288 of file snmp.h.

#define snmp_inc_icmpinredirects ( )

Definition at line 290 of file snmp.h.

#define snmp_inc_icmpinsrcquenchs ( )

Definition at line 289 of file snmp.h.

#define snmp_inc_icmpintimeexcds ( )

Definition at line 287 of file snmp.h.

#define snmp_inc_icmpintimestampreps ( )

Definition at line 294 of file snmp.h.

#define snmp_inc_icmpintimestamps ( )

Definition at line 293 of file snmp.h.

#define snmp_inc_icmpoutaddrmaskreps ( )

Definition at line 309 of file snmp.h.

#define snmp_inc_icmpoutaddrmasks ( )

Definition at line 308 of file snmp.h.

#define snmp_inc_icmpoutdestunreachs ( )

Definition at line 299 of file snmp.h.

#define snmp_inc_icmpoutechoreps ( )

Definition at line 305 of file snmp.h.

#define snmp_inc_icmpoutechos ( )

Definition at line 304 of file snmp.h.

#define snmp_inc_icmpouterrors ( )

Definition at line 298 of file snmp.h.

#define snmp_inc_icmpoutmsgs ( )

Definition at line 297 of file snmp.h.

#define snmp_inc_icmpoutparmprobs ( )

Definition at line 301 of file snmp.h.

#define snmp_inc_icmpoutredirects ( )

Definition at line 303 of file snmp.h.

#define snmp_inc_icmpoutsrcquenchs ( )

Definition at line 302 of file snmp.h.

#define snmp_inc_icmpouttimeexcds ( )

Definition at line 300 of file snmp.h.

#define snmp_inc_icmpouttimestampreps ( )

Definition at line 307 of file snmp.h.

#define snmp_inc_icmpouttimestamps ( )

Definition at line 306 of file snmp.h.

#define snmp_inc_ifindiscards (   ni)

Definition at line 248 of file snmp.h.

#define snmp_inc_ifinnucastpkts (   ni)

Definition at line 247 of file snmp.h.

#define snmp_inc_ifinucastpkts (   ni)

Definition at line 246 of file snmp.h.

#define snmp_inc_iflist ( )

Definition at line 253 of file snmp.h.

#define snmp_inc_ifoutdiscards (   ni)

Definition at line 252 of file snmp.h.

#define snmp_inc_ifoutnucastpkts (   ni)

Definition at line 251 of file snmp.h.

#define snmp_inc_ifoutucastpkts (   ni)

Definition at line 250 of file snmp.h.

#define snmp_inc_ipforwdatagrams ( )

Definition at line 264 of file snmp.h.

#define snmp_inc_ipfragcreates ( )

Definition at line 276 of file snmp.h.

#define snmp_inc_ipfragfails ( )

Definition at line 275 of file snmp.h.

#define snmp_inc_ipfragoks ( )

Definition at line 274 of file snmp.h.

#define snmp_inc_ipinaddrerrors ( )

Definition at line 263 of file snmp.h.

#define snmp_inc_ipindelivers ( )

Definition at line 267 of file snmp.h.

#define snmp_inc_ipindiscards ( )

Definition at line 266 of file snmp.h.

#define snmp_inc_ipinhdrerrors ( )

Definition at line 262 of file snmp.h.

#define snmp_inc_ipinreceives ( )

Definition at line 261 of file snmp.h.

#define snmp_inc_ipinunknownprotos ( )

Definition at line 265 of file snmp.h.

#define snmp_inc_ipoutdiscards ( )

Definition at line 269 of file snmp.h.

#define snmp_inc_ipoutnoroutes ( )

Definition at line 270 of file snmp.h.

#define snmp_inc_ipoutrequests ( )

Definition at line 268 of file snmp.h.

#define snmp_inc_ipreasmfails ( )

Definition at line 273 of file snmp.h.

#define snmp_inc_ipreasmoks ( )

Definition at line 272 of file snmp.h.

#define snmp_inc_ipreasmreqds ( )

Definition at line 271 of file snmp.h.

#define snmp_inc_iproutingdiscards ( )

Definition at line 277 of file snmp.h.

#define snmp_inc_snmpinasnparseerrs ( )

Definition at line 335 of file snmp.h.

#define snmp_inc_snmpinbadcommunitynames ( )

Definition at line 333 of file snmp.h.

#define snmp_inc_snmpinbadcommunityuses ( )

Definition at line 334 of file snmp.h.

#define snmp_inc_snmpinbadvalues ( )

Definition at line 338 of file snmp.h.

#define snmp_inc_snmpinbadversions ( )

Definition at line 332 of file snmp.h.

#define snmp_inc_snmpingenerrs ( )

Definition at line 340 of file snmp.h.

#define snmp_inc_snmpingetnexts ( )

Definition at line 344 of file snmp.h.

#define snmp_inc_snmpingetrequests ( )

Definition at line 343 of file snmp.h.

#define snmp_inc_snmpingetresponses ( )

Definition at line 346 of file snmp.h.

#define snmp_inc_snmpinnosuchnames ( )

Definition at line 337 of file snmp.h.

#define snmp_inc_snmpinpkts ( )

Definition at line 330 of file snmp.h.

#define snmp_inc_snmpinreadonlys ( )

Definition at line 339 of file snmp.h.

#define snmp_inc_snmpinsetrequests ( )

Definition at line 345 of file snmp.h.

#define snmp_inc_snmpintoobigs ( )

Definition at line 336 of file snmp.h.

#define snmp_inc_snmpintraps ( )

Definition at line 347 of file snmp.h.

#define snmp_inc_snmpoutbadvalues ( )

Definition at line 350 of file snmp.h.

#define snmp_inc_snmpoutgenerrs ( )

Definition at line 351 of file snmp.h.

#define snmp_inc_snmpoutgetnexts ( )

Definition at line 353 of file snmp.h.

#define snmp_inc_snmpoutgetrequests ( )

Definition at line 352 of file snmp.h.

#define snmp_inc_snmpoutgetresponses ( )

Definition at line 355 of file snmp.h.

#define snmp_inc_snmpoutnosuchnames ( )

Definition at line 349 of file snmp.h.

#define snmp_inc_snmpoutpkts ( )

Definition at line 331 of file snmp.h.

#define snmp_inc_snmpoutsetrequests ( )

Definition at line 354 of file snmp.h.

#define snmp_inc_snmpouttoobigs ( )

Definition at line 348 of file snmp.h.

#define snmp_inc_snmpouttraps ( )

Definition at line 356 of file snmp.h.

#define snmp_inc_sysuptime ( )

Definition at line 237 of file snmp.h.

#define snmp_inc_tcpactiveopens ( )

Definition at line 311 of file snmp.h.

#define snmp_inc_tcpattemptfails ( )

Definition at line 313 of file snmp.h.

#define snmp_inc_tcpestabresets ( )

Definition at line 314 of file snmp.h.

#define snmp_inc_tcpinerrs ( )

Definition at line 318 of file snmp.h.

#define snmp_inc_tcpinsegs ( )

Definition at line 315 of file snmp.h.

#define snmp_inc_tcpoutrsts ( )

Definition at line 319 of file snmp.h.

#define snmp_inc_tcpoutsegs ( )

Definition at line 316 of file snmp.h.

#define snmp_inc_tcppassiveopens ( )

Definition at line 312 of file snmp.h.

#define snmp_inc_tcpretranssegs ( )

Definition at line 317 of file snmp.h.

#define snmp_inc_udpindatagrams ( )

Definition at line 322 of file snmp.h.

#define snmp_inc_udpinerrors ( )

Definition at line 324 of file snmp.h.

#define snmp_inc_udpnoports ( )

Definition at line 323 of file snmp.h.

#define snmp_inc_udpoutdatagrams ( )

Definition at line 325 of file snmp.h.

#define snmp_insert_arpidx_tree (   ni,
  ip 
)

Definition at line 257 of file snmp.h.

#define snmp_insert_ipaddridx_tree (   ni)

Definition at line 278 of file snmp.h.

#define snmp_insert_iprteidx_tree (   dflt,
  ni 
)

Definition at line 280 of file snmp.h.

#define snmp_insert_udpidx_tree (   pcb)

Definition at line 326 of file snmp.h.

#define snmp_set_snmpenableauthentraps (   value)

Definition at line 358 of file snmp.h.

#define snmp_set_syscontact (   ocstr,
  ocstrlen 
)    ;

Definition at line 240 of file snmp.h.

#define snmp_set_sysdesr (   str,
  len 
)

Definition at line 234 of file snmp.h.

#define snmp_set_syslocation (   ocstr,
  ocstrlen 
)    ;

Definition at line 242 of file snmp.h.

#define snmp_set_sysname (   ocstr,
  ocstrlen 
)    ;

Definition at line 241 of file snmp.h.

#define snmp_set_sysobjid (   oid)    ;

Definition at line 235 of file snmp.h.

Enumeration Type Documentation

See Also
RFC1213, "MIB-II, 6. Definitions"
Enumerator
snmp_ifType_other 
snmp_ifType_regular1822 
snmp_ifType_hdh1822 
snmp_ifType_ddn_x25 
snmp_ifType_rfc877_x25 
snmp_ifType_ethernet_csmacd 
snmp_ifType_iso88023_csmacd 
snmp_ifType_iso88024_tokenBus 
snmp_ifType_iso88025_tokenRing 
snmp_ifType_iso88026_man 
snmp_ifType_starLan 
snmp_ifType_proteon_10Mbit 
snmp_ifType_proteon_80Mbit 
snmp_ifType_hyperchannel 
snmp_ifType_fddi 
snmp_ifType_lapb 
snmp_ifType_sdlc 
snmp_ifType_ds1 
snmp_ifType_e1 
snmp_ifType_basicISDN 
snmp_ifType_primaryISDN 
snmp_ifType_propPointToPointSerial 
snmp_ifType_ppp 
snmp_ifType_softwareLoopback 
snmp_ifType_eon 
snmp_ifType_ethernet_3Mbit 
snmp_ifType_nsip 
snmp_ifType_slip 
snmp_ifType_ultra 
snmp_ifType_ds3 
snmp_ifType_sip 
snmp_ifType_frame_relay 

Definition at line 50 of file snmp.h.