ReactOS 0.4.16-dev-297-gc569aee
snmp.h File Reference
#include "lwip/opt.h"
#include "lwip/ip_addr.h"
Include dependency graph for snmp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MIB2_COPY_SYSUPTIME_TO(ptrToVal)
 
#define MIB2_INIT_NETIF(netif, type, speed)
 
#define MIB2_STATS_NETIF_INC(n, x)
 
#define MIB2_STATS_NETIF_ADD(n, x, val)
 
#define mib2_netif_added(ni)
 
#define mib2_netif_removed(ni)
 
#define mib2_add_arp_entry(ni, ip)
 
#define mib2_remove_arp_entry(ni, ip)
 
#define mib2_add_ip4(ni)
 
#define mib2_remove_ip4(ni)
 
#define mib2_add_route_ip4(dflt, ni)
 
#define mib2_remove_route_ip4(dflt, ni)
 
#define mib2_udp_bind(pcb)
 
#define mib2_udp_unbind(pcb)
 
#define NETIF_INIT_SNMP   MIB2_INIT_NETIF
 
#define snmp_add_ifinoctets(ni, value)   MIB2_STATS_NETIF_ADD(ni, ifinoctets, value)
 
#define snmp_inc_ifinucastpkts(ni)   MIB2_STATS_NETIF_INC(ni, ifinucastpkts)
 
#define snmp_inc_ifinnucastpkts(ni)   MIB2_STATS_NETIF_INC(ni, ifinnucastpkts)
 
#define snmp_inc_ifindiscards(ni)   MIB2_STATS_NETIF_INC(ni, ifindiscards)
 
#define snmp_inc_ifinerrors(ni)   MIB2_STATS_NETIF_INC(ni, ifinerrors)
 
#define snmp_inc_ifinunknownprotos(ni)   MIB2_STATS_NETIF_INC(ni, ifinunknownprotos)
 
#define snmp_add_ifoutoctets(ni, value)   MIB2_STATS_NETIF_ADD(ni, ifoutoctets, value)
 
#define snmp_inc_ifoutucastpkts(ni)   MIB2_STATS_NETIF_INC(ni, ifoutucastpkts)
 
#define snmp_inc_ifoutnucastpkts(ni)   MIB2_STATS_NETIF_INC(ni, ifoutnucastpkts)
 
#define snmp_inc_ifoutdiscards(ni)   MIB2_STATS_NETIF_INC(ni, ifoutdiscards)
 
#define snmp_inc_ifouterrors(ni)   MIB2_STATS_NETIF_INC(ni, ifouterrors)
 

Detailed Description

SNMP support API for implementing netifs and statitics for MIB2

Definition in file snmp.h.

Macro Definition Documentation

◆ mib2_add_arp_entry

#define mib2_add_arp_entry (   ni,
  ip 
)

Definition at line 181 of file snmp.h.

◆ mib2_add_ip4

#define mib2_add_ip4 (   ni)

Definition at line 185 of file snmp.h.

◆ mib2_add_route_ip4

#define mib2_add_route_ip4 (   dflt,
  ni 
)

Definition at line 187 of file snmp.h.

◆ MIB2_COPY_SYSUPTIME_TO

#define MIB2_COPY_SYSUPTIME_TO (   ptrToVal)

Definition at line 136 of file snmp.h.

◆ MIB2_INIT_NETIF

#define MIB2_INIT_NETIF (   netif,
  type,
  speed 
)

Definition at line 138 of file snmp.h.

◆ mib2_netif_added

#define mib2_netif_added (   ni)

Definition at line 177 of file snmp.h.

◆ mib2_netif_removed

#define mib2_netif_removed (   ni)

Definition at line 178 of file snmp.h.

◆ mib2_remove_arp_entry

#define mib2_remove_arp_entry (   ni,
  ip 
)

Definition at line 182 of file snmp.h.

◆ mib2_remove_ip4

#define mib2_remove_ip4 (   ni)

Definition at line 186 of file snmp.h.

◆ mib2_remove_route_ip4

#define mib2_remove_route_ip4 (   dflt,
  ni 
)

Definition at line 188 of file snmp.h.

◆ MIB2_STATS_NETIF_ADD

#define MIB2_STATS_NETIF_ADD (   n,
  x,
  val 
)

Definition at line 140 of file snmp.h.

◆ MIB2_STATS_NETIF_INC

#define MIB2_STATS_NETIF_INC (   n,
  x 
)

Definition at line 139 of file snmp.h.

◆ mib2_udp_bind

#define mib2_udp_bind (   pcb)

Definition at line 191 of file snmp.h.

◆ mib2_udp_unbind

#define mib2_udp_unbind (   pcb)

Definition at line 192 of file snmp.h.

◆ NETIF_INIT_SNMP

#define NETIF_INIT_SNMP   MIB2_INIT_NETIF

Definition at line 196 of file snmp.h.

◆ snmp_add_ifinoctets

#define snmp_add_ifinoctets (   ni,
  value 
)    MIB2_STATS_NETIF_ADD(ni, ifinoctets, value)

Definition at line 197 of file snmp.h.

◆ snmp_add_ifoutoctets

#define snmp_add_ifoutoctets (   ni,
  value 
)    MIB2_STATS_NETIF_ADD(ni, ifoutoctets, value)

Definition at line 203 of file snmp.h.

◆ snmp_inc_ifindiscards

#define snmp_inc_ifindiscards (   ni)    MIB2_STATS_NETIF_INC(ni, ifindiscards)

Definition at line 200 of file snmp.h.

◆ snmp_inc_ifinerrors

#define snmp_inc_ifinerrors (   ni)    MIB2_STATS_NETIF_INC(ni, ifinerrors)

Definition at line 201 of file snmp.h.

◆ snmp_inc_ifinnucastpkts

#define snmp_inc_ifinnucastpkts (   ni)    MIB2_STATS_NETIF_INC(ni, ifinnucastpkts)

Definition at line 199 of file snmp.h.

◆ snmp_inc_ifinucastpkts

#define snmp_inc_ifinucastpkts (   ni)    MIB2_STATS_NETIF_INC(ni, ifinucastpkts)

Definition at line 198 of file snmp.h.

◆ snmp_inc_ifinunknownprotos

#define snmp_inc_ifinunknownprotos (   ni)    MIB2_STATS_NETIF_INC(ni, ifinunknownprotos)

Definition at line 202 of file snmp.h.

◆ snmp_inc_ifoutdiscards

#define snmp_inc_ifoutdiscards (   ni)    MIB2_STATS_NETIF_INC(ni, ifoutdiscards)

Definition at line 206 of file snmp.h.

◆ snmp_inc_ifouterrors

#define snmp_inc_ifouterrors (   ni)    MIB2_STATS_NETIF_INC(ni, ifouterrors)

Definition at line 207 of file snmp.h.

◆ snmp_inc_ifoutnucastpkts

#define snmp_inc_ifoutnucastpkts (   ni)    MIB2_STATS_NETIF_INC(ni, ifoutnucastpkts)

Definition at line 205 of file snmp.h.

◆ snmp_inc_ifoutucastpkts

#define snmp_inc_ifoutucastpkts (   ni)    MIB2_STATS_NETIF_INC(ni, ifoutucastpkts)

Definition at line 204 of file snmp.h.