Helper struct to handle UDP ports.
More...
#include <src/SNMP.h>
|
static constexpr uint16_t | SNMP = 161 |
|
static constexpr uint16_t | Trap = 162 |
|
Helper struct to handle UDP ports.
SNMP uses 2 well-known UDP ports.
- Manager uses port 161 to communicate with an agent.
- Agent uses port 162 to send trap messages to the manager.
Definition at line 23 of file SNMP.h.
◆ SNMP
uint16_t SNMP::Port::SNMP = 161 |
|
staticconstexpr |
SNMP default UDP port.
Definition at line 24 of file SNMP.h.
◆ Trap
uint16_t SNMP::Port::Trap = 162 |
|
staticconstexpr |
SNMP default UDP port for TRAP, INFORMREQUEST and SNMPV2TRAP messages.
Definition at line 25 of file SNMP.h.
The documentation for this struct was generated from the following file: