Stripped down version of Segundos NetService library (http://mbed.org/users/segundo/libraries/NetServices ). I have removed all NetServices, and all functions which had been disabled. Use this version when you need only pure TCP or UDP functions - this library compiles faster.

Dependencies:   lwip lwip-sys

Dependents:   christmasLights device_server pop3demo device_server_udp ... more

Committer:
hlipka
Date:
Mon Jan 10 21:03:11 2011 +0000
Revision:
0:8b387bed54c2
initial version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hlipka 0:8b387bed54c2 1 /**
hlipka 0:8b387bed54c2 2 * @file
hlipka 0:8b387bed54c2 3 * SNMP Agent message handling structures.
hlipka 0:8b387bed54c2 4 */
hlipka 0:8b387bed54c2 5
hlipka 0:8b387bed54c2 6 /*
hlipka 0:8b387bed54c2 7 * Copyright (c) 2006 Axon Digital Design B.V., The Netherlands.
hlipka 0:8b387bed54c2 8 * All rights reserved.
hlipka 0:8b387bed54c2 9 *
hlipka 0:8b387bed54c2 10 * Redistribution and use in source and binary forms, with or without modification,
hlipka 0:8b387bed54c2 11 * are permitted provided that the following conditions are met:
hlipka 0:8b387bed54c2 12 *
hlipka 0:8b387bed54c2 13 * 1. Redistributions of source code must retain the above copyright notice,
hlipka 0:8b387bed54c2 14 * this list of conditions and the following disclaimer.
hlipka 0:8b387bed54c2 15 * 2. Redistributions in binary form must reproduce the above copyright notice,
hlipka 0:8b387bed54c2 16 * this list of conditions and the following disclaimer in the documentation
hlipka 0:8b387bed54c2 17 * and/or other materials provided with the distribution.
hlipka 0:8b387bed54c2 18 * 3. The name of the author may not be used to endorse or promote products
hlipka 0:8b387bed54c2 19 * derived from this software without specific prior written permission.
hlipka 0:8b387bed54c2 20 *
hlipka 0:8b387bed54c2 21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
hlipka 0:8b387bed54c2 22 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
hlipka 0:8b387bed54c2 23 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
hlipka 0:8b387bed54c2 24 * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
hlipka 0:8b387bed54c2 25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
hlipka 0:8b387bed54c2 26 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
hlipka 0:8b387bed54c2 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
hlipka 0:8b387bed54c2 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
hlipka 0:8b387bed54c2 29 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
hlipka 0:8b387bed54c2 30 * OF SUCH DAMAGE.
hlipka 0:8b387bed54c2 31 *
hlipka 0:8b387bed54c2 32 * Author: Christiaan Simons <christiaan.simons@axon.tv>
hlipka 0:8b387bed54c2 33 */
hlipka 0:8b387bed54c2 34
hlipka 0:8b387bed54c2 35 #ifndef __LWIP_SNMP_MSG_H__
hlipka 0:8b387bed54c2 36 #define __LWIP_SNMP_MSG_H__
hlipka 0:8b387bed54c2 37
hlipka 0:8b387bed54c2 38 #include "lwip/opt.h"
hlipka 0:8b387bed54c2 39 #include "lwip/snmp.h"
hlipka 0:8b387bed54c2 40 #include "lwip/snmp_structs.h"
hlipka 0:8b387bed54c2 41 #include "lwip/ip_addr.h"
hlipka 0:8b387bed54c2 42 #include "lwip/err.h"
hlipka 0:8b387bed54c2 43
hlipka 0:8b387bed54c2 44 #if LWIP_SNMP
hlipka 0:8b387bed54c2 45
hlipka 0:8b387bed54c2 46 #if SNMP_PRIVATE_MIB
hlipka 0:8b387bed54c2 47 /* When using a private MIB, you have to create a file 'private_mib.h' that contains
hlipka 0:8b387bed54c2 48 * a 'struct mib_array_node mib_private' which contains your MIB. */
hlipka 0:8b387bed54c2 49 #include "private_mib.h"
hlipka 0:8b387bed54c2 50 #endif
hlipka 0:8b387bed54c2 51
hlipka 0:8b387bed54c2 52 #ifdef __cplusplus
hlipka 0:8b387bed54c2 53 extern "C" {
hlipka 0:8b387bed54c2 54 #endif
hlipka 0:8b387bed54c2 55
hlipka 0:8b387bed54c2 56 /* The listen port of the SNMP agent. Clients have to make their requests to
hlipka 0:8b387bed54c2 57 this port. Most standard clients won't work if you change this! */
hlipka 0:8b387bed54c2 58 #ifndef SNMP_IN_PORT
hlipka 0:8b387bed54c2 59 #define SNMP_IN_PORT 161
hlipka 0:8b387bed54c2 60 #endif
hlipka 0:8b387bed54c2 61 /* The remote port the SNMP agent sends traps to. Most standard trap sinks won't
hlipka 0:8b387bed54c2 62 work if you change this! */
hlipka 0:8b387bed54c2 63 #ifndef SNMP_TRAP_PORT
hlipka 0:8b387bed54c2 64 #define SNMP_TRAP_PORT 162
hlipka 0:8b387bed54c2 65 #endif
hlipka 0:8b387bed54c2 66
hlipka 0:8b387bed54c2 67 #define SNMP_ES_NOERROR 0
hlipka 0:8b387bed54c2 68 #define SNMP_ES_TOOBIG 1
hlipka 0:8b387bed54c2 69 #define SNMP_ES_NOSUCHNAME 2
hlipka 0:8b387bed54c2 70 #define SNMP_ES_BADVALUE 3
hlipka 0:8b387bed54c2 71 #define SNMP_ES_READONLY 4
hlipka 0:8b387bed54c2 72 #define SNMP_ES_GENERROR 5
hlipka 0:8b387bed54c2 73
hlipka 0:8b387bed54c2 74 #define SNMP_GENTRAP_COLDSTART 0
hlipka 0:8b387bed54c2 75 #define SNMP_GENTRAP_WARMSTART 1
hlipka 0:8b387bed54c2 76 #define SNMP_GENTRAP_AUTHFAIL 4
hlipka 0:8b387bed54c2 77 #define SNMP_GENTRAP_ENTERPRISESPC 6
hlipka 0:8b387bed54c2 78
hlipka 0:8b387bed54c2 79 struct snmp_varbind
hlipka 0:8b387bed54c2 80 {
hlipka 0:8b387bed54c2 81 /* next pointer, NULL for last in list */
hlipka 0:8b387bed54c2 82 struct snmp_varbind *next;
hlipka 0:8b387bed54c2 83 /* previous pointer, NULL for first in list */
hlipka 0:8b387bed54c2 84 struct snmp_varbind *prev;
hlipka 0:8b387bed54c2 85
hlipka 0:8b387bed54c2 86 /* object identifier length (in s32_t) */
hlipka 0:8b387bed54c2 87 u8_t ident_len;
hlipka 0:8b387bed54c2 88 /* object identifier array */
hlipka 0:8b387bed54c2 89 s32_t *ident;
hlipka 0:8b387bed54c2 90
hlipka 0:8b387bed54c2 91 /* object value ASN1 type */
hlipka 0:8b387bed54c2 92 u8_t value_type;
hlipka 0:8b387bed54c2 93 /* object value length (in u8_t) */
hlipka 0:8b387bed54c2 94 u8_t value_len;
hlipka 0:8b387bed54c2 95 /* object value */
hlipka 0:8b387bed54c2 96 void *value;
hlipka 0:8b387bed54c2 97
hlipka 0:8b387bed54c2 98 /* encoding varbind seq length length */
hlipka 0:8b387bed54c2 99 u8_t seqlenlen;
hlipka 0:8b387bed54c2 100 /* encoding object identifier length length */
hlipka 0:8b387bed54c2 101 u8_t olenlen;
hlipka 0:8b387bed54c2 102 /* encoding object value length length */
hlipka 0:8b387bed54c2 103 u8_t vlenlen;
hlipka 0:8b387bed54c2 104 /* encoding varbind seq length */
hlipka 0:8b387bed54c2 105 u16_t seqlen;
hlipka 0:8b387bed54c2 106 /* encoding object identifier length */
hlipka 0:8b387bed54c2 107 u16_t olen;
hlipka 0:8b387bed54c2 108 /* encoding object value length */
hlipka 0:8b387bed54c2 109 u16_t vlen;
hlipka 0:8b387bed54c2 110 };
hlipka 0:8b387bed54c2 111
hlipka 0:8b387bed54c2 112 struct snmp_varbind_root
hlipka 0:8b387bed54c2 113 {
hlipka 0:8b387bed54c2 114 struct snmp_varbind *head;
hlipka 0:8b387bed54c2 115 struct snmp_varbind *tail;
hlipka 0:8b387bed54c2 116 /* number of variable bindings in list */
hlipka 0:8b387bed54c2 117 u8_t count;
hlipka 0:8b387bed54c2 118 /* encoding varbind-list seq length length */
hlipka 0:8b387bed54c2 119 u8_t seqlenlen;
hlipka 0:8b387bed54c2 120 /* encoding varbind-list seq length */
hlipka 0:8b387bed54c2 121 u16_t seqlen;
hlipka 0:8b387bed54c2 122 };
hlipka 0:8b387bed54c2 123
hlipka 0:8b387bed54c2 124 /** output response message header length fields */
hlipka 0:8b387bed54c2 125 struct snmp_resp_header_lengths
hlipka 0:8b387bed54c2 126 {
hlipka 0:8b387bed54c2 127 /* encoding error-index length length */
hlipka 0:8b387bed54c2 128 u8_t erridxlenlen;
hlipka 0:8b387bed54c2 129 /* encoding error-status length length */
hlipka 0:8b387bed54c2 130 u8_t errstatlenlen;
hlipka 0:8b387bed54c2 131 /* encoding request id length length */
hlipka 0:8b387bed54c2 132 u8_t ridlenlen;
hlipka 0:8b387bed54c2 133 /* encoding pdu length length */
hlipka 0:8b387bed54c2 134 u8_t pdulenlen;
hlipka 0:8b387bed54c2 135 /* encoding community length length */
hlipka 0:8b387bed54c2 136 u8_t comlenlen;
hlipka 0:8b387bed54c2 137 /* encoding version length length */
hlipka 0:8b387bed54c2 138 u8_t verlenlen;
hlipka 0:8b387bed54c2 139 /* encoding sequence length length */
hlipka 0:8b387bed54c2 140 u8_t seqlenlen;
hlipka 0:8b387bed54c2 141
hlipka 0:8b387bed54c2 142 /* encoding error-index length */
hlipka 0:8b387bed54c2 143 u16_t erridxlen;
hlipka 0:8b387bed54c2 144 /* encoding error-status length */
hlipka 0:8b387bed54c2 145 u16_t errstatlen;
hlipka 0:8b387bed54c2 146 /* encoding request id length */
hlipka 0:8b387bed54c2 147 u16_t ridlen;
hlipka 0:8b387bed54c2 148 /* encoding pdu length */
hlipka 0:8b387bed54c2 149 u16_t pdulen;
hlipka 0:8b387bed54c2 150 /* encoding community length */
hlipka 0:8b387bed54c2 151 u16_t comlen;
hlipka 0:8b387bed54c2 152 /* encoding version length */
hlipka 0:8b387bed54c2 153 u16_t verlen;
hlipka 0:8b387bed54c2 154 /* encoding sequence length */
hlipka 0:8b387bed54c2 155 u16_t seqlen;
hlipka 0:8b387bed54c2 156 };
hlipka 0:8b387bed54c2 157
hlipka 0:8b387bed54c2 158 /** output response message header length fields */
hlipka 0:8b387bed54c2 159 struct snmp_trap_header_lengths
hlipka 0:8b387bed54c2 160 {
hlipka 0:8b387bed54c2 161 /* encoding timestamp length length */
hlipka 0:8b387bed54c2 162 u8_t tslenlen;
hlipka 0:8b387bed54c2 163 /* encoding specific-trap length length */
hlipka 0:8b387bed54c2 164 u8_t strplenlen;
hlipka 0:8b387bed54c2 165 /* encoding generic-trap length length */
hlipka 0:8b387bed54c2 166 u8_t gtrplenlen;
hlipka 0:8b387bed54c2 167 /* encoding agent-addr length length */
hlipka 0:8b387bed54c2 168 u8_t aaddrlenlen;
hlipka 0:8b387bed54c2 169 /* encoding enterprise-id length length */
hlipka 0:8b387bed54c2 170 u8_t eidlenlen;
hlipka 0:8b387bed54c2 171 /* encoding pdu length length */
hlipka 0:8b387bed54c2 172 u8_t pdulenlen;
hlipka 0:8b387bed54c2 173 /* encoding community length length */
hlipka 0:8b387bed54c2 174 u8_t comlenlen;
hlipka 0:8b387bed54c2 175 /* encoding version length length */
hlipka 0:8b387bed54c2 176 u8_t verlenlen;
hlipka 0:8b387bed54c2 177 /* encoding sequence length length */
hlipka 0:8b387bed54c2 178 u8_t seqlenlen;
hlipka 0:8b387bed54c2 179
hlipka 0:8b387bed54c2 180 /* encoding timestamp length */
hlipka 0:8b387bed54c2 181 u16_t tslen;
hlipka 0:8b387bed54c2 182 /* encoding specific-trap length */
hlipka 0:8b387bed54c2 183 u16_t strplen;
hlipka 0:8b387bed54c2 184 /* encoding generic-trap length */
hlipka 0:8b387bed54c2 185 u16_t gtrplen;
hlipka 0:8b387bed54c2 186 /* encoding agent-addr length */
hlipka 0:8b387bed54c2 187 u16_t aaddrlen;
hlipka 0:8b387bed54c2 188 /* encoding enterprise-id length */
hlipka 0:8b387bed54c2 189 u16_t eidlen;
hlipka 0:8b387bed54c2 190 /* encoding pdu length */
hlipka 0:8b387bed54c2 191 u16_t pdulen;
hlipka 0:8b387bed54c2 192 /* encoding community length */
hlipka 0:8b387bed54c2 193 u16_t comlen;
hlipka 0:8b387bed54c2 194 /* encoding version length */
hlipka 0:8b387bed54c2 195 u16_t verlen;
hlipka 0:8b387bed54c2 196 /* encoding sequence length */
hlipka 0:8b387bed54c2 197 u16_t seqlen;
hlipka 0:8b387bed54c2 198 };
hlipka 0:8b387bed54c2 199
hlipka 0:8b387bed54c2 200 /* Accepting new SNMP messages. */
hlipka 0:8b387bed54c2 201 #define SNMP_MSG_EMPTY 0
hlipka 0:8b387bed54c2 202 /* Search for matching object for variable binding. */
hlipka 0:8b387bed54c2 203 #define SNMP_MSG_SEARCH_OBJ 1
hlipka 0:8b387bed54c2 204 /* Perform SNMP operation on in-memory object.
hlipka 0:8b387bed54c2 205 Pass-through states, for symmetry only. */
hlipka 0:8b387bed54c2 206 #define SNMP_MSG_INTERNAL_GET_OBJDEF 2
hlipka 0:8b387bed54c2 207 #define SNMP_MSG_INTERNAL_GET_VALUE 3
hlipka 0:8b387bed54c2 208 #define SNMP_MSG_INTERNAL_SET_TEST 4
hlipka 0:8b387bed54c2 209 #define SNMP_MSG_INTERNAL_GET_OBJDEF_S 5
hlipka 0:8b387bed54c2 210 #define SNMP_MSG_INTERNAL_SET_VALUE 6
hlipka 0:8b387bed54c2 211 /* Perform SNMP operation on object located externally.
hlipka 0:8b387bed54c2 212 In theory this could be used for building a proxy agent.
hlipka 0:8b387bed54c2 213 Practical use is for an enterprise spc. app. gateway. */
hlipka 0:8b387bed54c2 214 #define SNMP_MSG_EXTERNAL_GET_OBJDEF 7
hlipka 0:8b387bed54c2 215 #define SNMP_MSG_EXTERNAL_GET_VALUE 8
hlipka 0:8b387bed54c2 216 #define SNMP_MSG_EXTERNAL_SET_TEST 9
hlipka 0:8b387bed54c2 217 #define SNMP_MSG_EXTERNAL_GET_OBJDEF_S 10
hlipka 0:8b387bed54c2 218 #define SNMP_MSG_EXTERNAL_SET_VALUE 11
hlipka 0:8b387bed54c2 219
hlipka 0:8b387bed54c2 220 #define SNMP_COMMUNITY_STR_LEN 64
hlipka 0:8b387bed54c2 221 struct snmp_msg_pstat
hlipka 0:8b387bed54c2 222 {
hlipka 0:8b387bed54c2 223 /* lwIP local port (161) binding */
hlipka 0:8b387bed54c2 224 struct udp_pcb *pcb;
hlipka 0:8b387bed54c2 225 /* source IP address */
hlipka 0:8b387bed54c2 226 ip_addr_t sip;
hlipka 0:8b387bed54c2 227 /* source UDP port */
hlipka 0:8b387bed54c2 228 u16_t sp;
hlipka 0:8b387bed54c2 229 /* request type */
hlipka 0:8b387bed54c2 230 u8_t rt;
hlipka 0:8b387bed54c2 231 /* request ID */
hlipka 0:8b387bed54c2 232 s32_t rid;
hlipka 0:8b387bed54c2 233 /* error status */
hlipka 0:8b387bed54c2 234 s32_t error_status;
hlipka 0:8b387bed54c2 235 /* error index */
hlipka 0:8b387bed54c2 236 s32_t error_index;
hlipka 0:8b387bed54c2 237 /* community name (zero terminated) */
hlipka 0:8b387bed54c2 238 u8_t community[SNMP_COMMUNITY_STR_LEN + 1];
hlipka 0:8b387bed54c2 239 /* community string length (exclusive zero term) */
hlipka 0:8b387bed54c2 240 u8_t com_strlen;
hlipka 0:8b387bed54c2 241 /* one out of MSG_EMPTY, MSG_DEMUX, MSG_INTERNAL, MSG_EXTERNAL_x */
hlipka 0:8b387bed54c2 242 u8_t state;
hlipka 0:8b387bed54c2 243 /* saved arguments for MSG_EXTERNAL_x */
hlipka 0:8b387bed54c2 244 struct mib_external_node *ext_mib_node;
hlipka 0:8b387bed54c2 245 struct snmp_name_ptr ext_name_ptr;
hlipka 0:8b387bed54c2 246 struct obj_def ext_object_def;
hlipka 0:8b387bed54c2 247 struct snmp_obj_id ext_oid;
hlipka 0:8b387bed54c2 248 /* index into input variable binding list */
hlipka 0:8b387bed54c2 249 u8_t vb_idx;
hlipka 0:8b387bed54c2 250 /* ptr into input variable binding list */
hlipka 0:8b387bed54c2 251 struct snmp_varbind *vb_ptr;
hlipka 0:8b387bed54c2 252 /* list of variable bindings from input */
hlipka 0:8b387bed54c2 253 struct snmp_varbind_root invb;
hlipka 0:8b387bed54c2 254 /* list of variable bindings to output */
hlipka 0:8b387bed54c2 255 struct snmp_varbind_root outvb;
hlipka 0:8b387bed54c2 256 /* output response lengths used in ASN encoding */
hlipka 0:8b387bed54c2 257 struct snmp_resp_header_lengths rhl;
hlipka 0:8b387bed54c2 258 };
hlipka 0:8b387bed54c2 259
hlipka 0:8b387bed54c2 260 struct snmp_msg_trap
hlipka 0:8b387bed54c2 261 {
hlipka 0:8b387bed54c2 262 /* lwIP local port (161) binding */
hlipka 0:8b387bed54c2 263 struct udp_pcb *pcb;
hlipka 0:8b387bed54c2 264 /* destination IP address in network order */
hlipka 0:8b387bed54c2 265 ip_addr_t dip;
hlipka 0:8b387bed54c2 266
hlipka 0:8b387bed54c2 267 /* source enterprise ID (sysObjectID) */
hlipka 0:8b387bed54c2 268 struct snmp_obj_id *enterprise;
hlipka 0:8b387bed54c2 269 /* source IP address, raw network order format */
hlipka 0:8b387bed54c2 270 u8_t sip_raw[4];
hlipka 0:8b387bed54c2 271 /* generic trap code */
hlipka 0:8b387bed54c2 272 u32_t gen_trap;
hlipka 0:8b387bed54c2 273 /* specific trap code */
hlipka 0:8b387bed54c2 274 u32_t spc_trap;
hlipka 0:8b387bed54c2 275 /* timestamp */
hlipka 0:8b387bed54c2 276 u32_t ts;
hlipka 0:8b387bed54c2 277 /* list of variable bindings to output */
hlipka 0:8b387bed54c2 278 struct snmp_varbind_root outvb;
hlipka 0:8b387bed54c2 279 /* output trap lengths used in ASN encoding */
hlipka 0:8b387bed54c2 280 struct snmp_trap_header_lengths thl;
hlipka 0:8b387bed54c2 281 };
hlipka 0:8b387bed54c2 282
hlipka 0:8b387bed54c2 283 /** Agent Version constant, 0 = v1 oddity */
hlipka 0:8b387bed54c2 284 extern const s32_t snmp_version;
hlipka 0:8b387bed54c2 285 /** Agent default "public" community string */
hlipka 0:8b387bed54c2 286 extern const char snmp_publiccommunity[7];
hlipka 0:8b387bed54c2 287
hlipka 0:8b387bed54c2 288 extern struct snmp_msg_trap trap_msg;
hlipka 0:8b387bed54c2 289
hlipka 0:8b387bed54c2 290 /** Agent setup, start listening to port 161. */
hlipka 0:8b387bed54c2 291 void snmp_init(void);
hlipka 0:8b387bed54c2 292 void snmp_trap_dst_enable(u8_t dst_idx, u8_t enable);
hlipka 0:8b387bed54c2 293 void snmp_trap_dst_ip_set(u8_t dst_idx, ip_addr_t *dst);
hlipka 0:8b387bed54c2 294
hlipka 0:8b387bed54c2 295 /** Varbind-list functions. */
hlipka 0:8b387bed54c2 296 struct snmp_varbind* snmp_varbind_alloc(struct snmp_obj_id *oid, u8_t type, u8_t len);
hlipka 0:8b387bed54c2 297 void snmp_varbind_free(struct snmp_varbind *vb);
hlipka 0:8b387bed54c2 298 void snmp_varbind_list_free(struct snmp_varbind_root *root);
hlipka 0:8b387bed54c2 299 void snmp_varbind_tail_add(struct snmp_varbind_root *root, struct snmp_varbind *vb);
hlipka 0:8b387bed54c2 300 struct snmp_varbind* snmp_varbind_tail_remove(struct snmp_varbind_root *root);
hlipka 0:8b387bed54c2 301
hlipka 0:8b387bed54c2 302 /** Handle an internal (recv) or external (private response) event. */
hlipka 0:8b387bed54c2 303 void snmp_msg_event(u8_t request_id);
hlipka 0:8b387bed54c2 304 err_t snmp_send_response(struct snmp_msg_pstat *m_stat);
hlipka 0:8b387bed54c2 305 err_t snmp_send_trap(s8_t generic_trap, struct snmp_obj_id *eoid, s32_t specific_trap);
hlipka 0:8b387bed54c2 306 void snmp_coldstart_trap(void);
hlipka 0:8b387bed54c2 307 void snmp_authfail_trap(void);
hlipka 0:8b387bed54c2 308
hlipka 0:8b387bed54c2 309 #ifdef __cplusplus
hlipka 0:8b387bed54c2 310 }
hlipka 0:8b387bed54c2 311 #endif
hlipka 0:8b387bed54c2 312
hlipka 0:8b387bed54c2 313 #endif /* LWIP_SNMP */
hlipka 0:8b387bed54c2 314
hlipka 0:8b387bed54c2 315 #endif /* __LWIP_SNMP_MSG_H__ */