This library is stripped down version of NetServices library. HTTP server and client function is NOT supported.

Dependents:   imu-daq-eth

Committer:
idinor
Date:
Wed Jul 20 11:45:39 2011 +0000
Revision:
0:dcf3c92487ca

        

Who changed what in which revision?

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