[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #15072] SNMP support for notifications and informs (v
From: |
Dirk Ziegelmeier |
Subject: |
[lwip-devel] [task #15072] SNMP support for notifications and informs (v2c) |
Date: |
Thu, 25 Oct 2018 02:43:17 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 |
Follow-up Comment #14, task #15072 (project lwip):
The struct snmp_msg_trap should remain in snmp_traps.c - it is not a good idea
to export an internal structure just to transport "isInform" and
"snmpVersion". I think the API needs to be changed. There should be similar
functions as for traps, e.g.
err_t snmp_send_trap_generic(s32_t generic_trap);
err_t snmp_send_inform_generic(s32_t generic_trap);
err_t snmp_send_trap_specific(s32_t specific_trap, struct snmp_varbind
*varbinds);
err_t snmp_send_inform_specific(s32_t specific_trap, struct snmp_varbind
*varbinds, s32_t *ptr_request_id);
err_t snmp_send_trap(const struct snmp_obj_id* oid, s32_t generic_trap, s32_t
specific_trap, struct snmp_varbind *varbinds);
err_t snmp_send_inform(const struct snmp_obj_id* oid, s32_t generic_trap,
s32_t specific_trap, struct snmp_varbind *varbinds, s32_t *ptr_request_id);
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/task/?15072>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c), (continued)
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c), Ognjen Bjelica, 2018/10/24
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c), Dirk Ziegelmeier, 2018/10/24
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c), Ognjen Bjelica, 2018/10/24
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c), Simon Goldschmidt, 2018/10/24
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c), Ognjen Bjelica, 2018/10/24
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c), Ognjen Bjelica, 2018/10/24
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c), Ognjen Bjelica, 2018/10/24
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c), Simon Goldschmidt, 2018/10/24
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c), Simon Goldschmidt, 2018/10/24
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c), Dirk Ziegelmeier, 2018/10/24
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c),
Dirk Ziegelmeier <=
- [lwip-devel] [task #15072] SNMP support for notifications and informs (v2c), Dirk Ziegelmeier, 2018/10/26