2 * Copyright (c) 1982, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * 3. All advertising materials mentioning features or use of this software
14 * must display the following acknowledgement:
15 * This product includes software developed by the University of
16 * California, Berkeley and its contributors.
17 * 4. Neither the name of the University nor the names of its contributors
18 * may be used to endorse or promote products derived from this software
19 * without specific prior written permission.
21 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * Copyright (c) 2009 Mojatatu Networks, Inc
38 * Per draft-ietf-forces-protocol-22
41 #define ForCES_HDRL 24
42 #define ForCES_ALNL 4U
47 #define TOM_ASSNSETUP 0x1
48 #define TOM_ASSNTEARD 0x2
49 #define TOM_CONFIG 0x3
51 #define TOM_EVENTNOT 0x5
52 #define TOM_PKTREDIR 0x6
53 #define TOM_HEARTBT 0x0F
54 #define TOM_ASSNSETREP 0x11
55 #define TOM_CONFIGREP 0x13
56 #define TOM_QUERYREP 0x14
59 * tom_h Flags: resv1(8b):maxtlvs(4b):resv2(2b):mintlv(2b)
61 #define ZERO_TTLV 0x01
62 #define ZERO_MORE_TTLV 0x02
63 #define ONE_MORE_TTLV 0x04
69 #define TTLV_T1 (ONE_MORE_TTLV|ONE_TLV)
70 #define TTLV_T2 (ONE_MORE_TTLV|MAX_TLV)
77 int (*print
) (register const u_char
* pptr
, register u_int len
,
78 u_int16_t op_msk
, int indent
);
95 #define TOM_MAX_IND (_TOM_RSV_MAX - 1)
97 int lfbselect_print(register const u_char
* pptr
, register u_int len
,
98 u_int16_t op_msk
, int indent
);
99 int redirect_print(register const u_char
* pptr
, register u_int len
,
100 u_int16_t op_msk
, int indent
);
101 int asrtlv_print(register const u_char
* pptr
, register u_int len
,
102 u_int16_t op_msk
, int indent
);
103 int asttlv_print(register const u_char
* pptr
, register u_int len
,
104 u_int16_t op_msk
, int indent
);
105 int gentltlv_print(register const u_char
* pptr
, register u_int len
,
106 u_int16_t op_msk
, int indent
);
107 int print_metailv(register const u_char
* pptr
, register u_int len
,
108 u_int16_t op_msk
, int indent
);
109 int print_metatlv(register const u_char
* pptr
, register u_int len
,
110 u_int16_t op_msk
, int indent
);
111 int print_reddata(register const u_char
* pptr
, register u_int len
,
112 u_int16_t op_msk
, int indent
);
114 static inline int tom_valid(u_int8_t tom
)
117 if (tom
>= 0x7 && tom
<= 0xe)
128 static inline const char *ForCES_node(u_int32_t node
)
130 if (node
<= 0x3FFFFFFF)
132 if (node
>= 0x40000000 && node
<= 0x7FFFFFFF)
134 if (node
>= 0xC0000000 && node
<= 0xFFFFFFEF)
135 return "AllMulticast";
136 if (node
== 0xFFFFFFFD)
137 return "AllCEsBroadcast";
138 if (node
== 0xFFFFFFFE)
139 return "AllFEsBroadcast";
140 if (node
== 0xFFFFFFFF)
141 return "AllBroadcast";
143 return "ForCESreserved";
147 static inline const char *ForCES_ACKp(u_int32_t flg
)
160 static inline const char *ForCES_EMp(u_int32_t flg
)
165 return "execute-all-or-none";
167 return "execute-until-failure";
169 return "continue-execute-on-failure";
173 static inline const char *ForCES_ATp(u_int32_t flg
)
178 return "2PCtransaction";
182 static inline const char *ForCES_TPp(u_int32_t flg
)
185 return "StartofTransaction";
187 return "MiddleofTransaction";
189 return "EndofTransaction";
196 * Structure of forces header, naked of TLVs.
199 u_int8_t fm_vrsvd
; /* version and reserved */
200 #define ForCES_V(forcesh) ((forcesh)->fm_vrsvd >> 4)
201 u_int8_t fm_tom
; /* type of message */
202 u_int16_t fm_len
; /* total length * 4 bytes */
203 #define ForCES_BLN(forcesh) ((u_int32_t)(EXTRACT_16BITS(&(forcesh)->fm_len) << 2))
204 u_int32_t fm_sid
; /* Source ID */
205 #define ForCES_SID(forcesh) EXTRACT_32BITS(&(forcesh)->fm_sid)
206 u_int32_t fm_did
; /* Destination ID */
207 #define ForCES_DID(forcesh) EXTRACT_32BITS(&(forcesh)->fm_did)
208 u_int8_t fm_cor
[8]; /* correlator */
209 u_int32_t fm_flags
; /* flags */
210 #define ForCES_ACK(forcesh) ((EXTRACT_32BITS(&(forcesh)->fm_flags)&0xC0000000) >> 30)
211 #define ForCES_PRI(forcesh) ((EXTRACT_32BITS(&(forcesh)->fm_flags)&0x38000000) >> 27)
212 #define ForCES_RS1(forcesh) ((EXTRACT_32BITS(&(forcesh)->fm_flags)&0x07000000) >> 24)
213 #define ForCES_EM(forcesh) ((EXTRACT_32BITS(&(forcesh)->fm_flags)&0x00C00000) >> 22)
214 #define ForCES_AT(forcesh) ((EXTRACT_32BITS(&(forcesh)->fm_flags)&0x00200000) >> 21)
215 #define ForCES_TP(forcesh) ((EXTRACT_32BITS(&(forcesh)->fm_flags)&0x00180000) >> 19)
216 #define ForCES_RS2(forcesh) ((EXTRACT_32BITS(&(forcesh)->fm_flags)&0x0007FFFF) >> 0)
219 #define ForCES_HLN_VALID(fhl,tlen) ((tlen) >= ForCES_HDRL && \
220 (fhl) >= ForCES_HDRL && \
223 #define F_LFB_RSVD 0x0
224 #define F_LFB_FEO 0x1
225 #define F_LFB_FEPO 0x2
226 const struct tok ForCES_LFBs
[] = {
227 {F_LFB_RSVD
, "Invalid TLV"},
228 {F_LFB_FEO
, "FEObj LFB"},
229 {F_LFB_FEPO
, "FEProtoObj LFB"},
233 int forces_type_print(register const u_char
* pptr
, const struct forcesh
*fhdr
,
234 register u_int mlen
, const struct tom_h
*tops
);
255 #define F_OP_MAX (_F_OP_MAX - 1)
257 B_OP_SET
= 1 << (F_OP_SET
- 1),
258 B_OP_SETPROP
= 1 << (F_OP_SETPROP
- 1),
259 B_OP_SETRESP
= 1 << (F_OP_SETRESP
- 1),
260 B_OP_SETPRESP
= 1 << (F_OP_SETPRESP
- 1),
261 B_OP_DEL
= 1 << (F_OP_DEL
- 1),
262 B_OP_DELRESP
= 1 << (F_OP_DELRESP
- 1),
263 B_OP_GET
= 1 << (F_OP_GET
- 1),
264 B_OP_GETPROP
= 1 << (F_OP_GETPROP
- 1),
265 B_OP_GETRESP
= 1 << (F_OP_GETRESP
- 1),
266 B_OP_GETPRESP
= 1 << (F_OP_GETPRESP
- 1),
267 B_OP_REPORT
= 1 << (F_OP_REPORT
- 1),
268 B_OP_COMMIT
= 1 << (F_OP_COMMIT
- 1),
269 B_OP_RCOMMIT
= 1 << (F_OP_RCOMMIT
- 1),
270 B_OP_RTRCOMP
= 1 << (F_OP_RTRCOMP
- 1),
277 int (*print
) (register const u_char
* pptr
, register u_int len
,
278 u_int16_t op_msk
, int indent
);
281 int genoptlv_print(register const u_char
* pptr
, register u_int len
,
282 u_int16_t op_msk
, int indent
);
283 int recpdoptlv_print(register const u_char
* pptr
, register u_int len
,
284 u_int16_t op_msk
, int indent
);
285 int invoptlv_print(register const u_char
* pptr
, register u_int len
,
286 u_int16_t op_msk
, int indent
);
299 static const struct optlv_h OPTLV_msg
[F_OP_MAX
+ 1] = {
300 /* F_OP_RSV */ {ZERO_TTLV
, 0, "Invalid OPTLV", invoptlv_print
},
301 /* F_OP_SET */ {TTLV_T2
, B_FULLD
| B_SPARD
, " Set", recpdoptlv_print
},
303 {TTLV_T2
, B_FULLD
| B_SPARD
, " SetProp", recpdoptlv_print
},
304 /* F_OP_SETRESP */ {TTLV_T2
, B_RESTV
, " SetResp", recpdoptlv_print
},
305 /* F_OP_SETPRESP */ {TTLV_T2
, B_RESTV
, " SetPropResp", recpdoptlv_print
},
306 /* F_OP_DEL */ {ZERO_TTLV
, 0, " Del", recpdoptlv_print
},
307 /* F_OP_DELRESP */ {TTLV_T2
, B_RESTV
, " DelResp", recpdoptlv_print
},
308 /* F_OP_GET */ {ZERO_TTLV
, 0, " Get", recpdoptlv_print
},
309 /* F_OP_GETPROP */ {ZERO_TTLV
, 0, " GetProp", recpdoptlv_print
},
311 {TTLV_T2
, B_FULLD
| B_SPARD
| B_RESTV
, " GetResp", recpdoptlv_print
},
313 {TTLV_T2
, B_FULLD
| B_RESTV
, " GetPropResp", recpdoptlv_print
},
315 {TTLV_T2
, B_FULLD
| B_SPARD
, " Report", recpdoptlv_print
},
316 /* F_OP_COMMIT */ {ZERO_TTLV
, 0, " Commit", NULL
},
317 /* F_OP_RCOMMIT */ {TTLV_T1
, B_RESTV
, " RCommit", genoptlv_print
},
318 /* F_OP_RTRCOMP */ {ZERO_TTLV
, 0, " RTRCOMP", NULL
},
321 static inline const struct optlv_h
*get_forces_optlv_h(u_int16_t opt
)
323 if (opt
> F_OP_MAX
|| opt
<= F_OP_RSV
)
324 return &OPTLV_msg
[F_OP_RSV
];
326 return &OPTLV_msg
[opt
];
331 #define IND_PREF '\n'
333 char ind_buf
[IND_SIZE
];
335 static inline char *indent_pr(int indent
, int nlpref
)
340 if (indent
> (IND_SIZE
- 1))
341 indent
= IND_SIZE
- 1;
349 while (--indent
>= 0)
356 static inline int op_valid(u_int16_t op
, u_int16_t mask
)
358 int opb
= 1 << (op
- 1);
364 /* I guess we should allow vendor operations? */
370 #define F_TLV_RSVD 0x0000
371 #define F_TLV_REDR 0x0001
372 #define F_TLV_ASRS 0x0010
373 #define F_TLV_ASRT 0x0011
374 #define F_TLV_LFBS 0x1000
375 #define F_TLV_PDAT 0x0110
376 #define F_TLV_KEYI 0x0111
377 #define F_TLV_FULD 0x0112
378 #define F_TLV_SPAD 0x0113
379 #define F_TLV_REST 0x0114
380 #define F_TLV_METD 0x0115
381 #define F_TLV_REDD 0x0116
382 #define F_TLV_VNST 0x8000
384 static const struct tok ForCES_TLV
[] = {
385 {F_TLV_RSVD
, "Invalid TLV"},
386 {F_TLV_REDR
, "REDIRECT TLV"},
387 {F_TLV_ASRS
, "ASResult TLV"},
388 {F_TLV_ASRT
, "ASTreason TLV"},
389 {F_TLV_LFBS
, "LFBselect TLV"},
390 {F_TLV_PDAT
, "PATH-DATA TLV"},
391 {F_TLV_KEYI
, "KEYINFO TLV"},
392 {F_TLV_FULD
, "FULLDATA TLV"},
393 {F_TLV_SPAD
, "SPARSEDATA TLV"},
394 {F_TLV_REST
, "RESULT TLV"},
395 {F_TLV_METD
, "METADATA TLV"},
396 {F_TLV_REDD
, "REDIRECTDATA TLV"},
401 static inline int ttlv_valid(u_int16_t ttlv
)
404 if (ttlv
== 1 || ttlv
== 0x1000)
406 if (ttlv
>= 0x10 && ttlv
<= 0x11)
408 if (ttlv
>= 0x110 && ttlv
<= 0x116)
427 int otlv_print(const struct forces_tlv
*otlv
, u_int16_t op_msk
, int indent
);
429 #define F_ALN_LEN(len) ( ((len)+ForCES_ALNL-1) & ~(ForCES_ALNL-1) )
430 #define GET_TOP_TLV(fhdr) ((struct forces_tlv *)((fhdr) + sizeof (struct forcesh)))
431 #define TLV_SET_LEN(len) (F_ALN_LEN(TLV_HDRL) + (len))
432 #define TLV_ALN_LEN(len) F_ALN_LEN(TLV_SET_LEN(len))
433 #define TLV_RDAT_LEN(tlv) ((int)(EXTRACT_16BITS(&(tlv)->length) - TLV_SET_LEN(0))
434 #define TLV_DATA(tlvp) ((void*)(((char*)(tlvp)) + TLV_SET_LEN(0)))
435 #define GO_NXT_TLV(tlv,rlen) ((rlen) -= F_ALN_LEN(EXTRACT_16BITS(&(tlv)->length)), \
436 (struct forces_tlv*)(((char*)(tlv)) \
437 + F_ALN_LEN(EXTRACT_16BITS(&(tlv)->length))))
438 #define ILV_SET_LEN(len) (F_ALN_LEN(ILV_HDRL) + (len))
439 #define ILV_ALN_LEN(len) F_ALN_LEN(ILV_SET_LEN(len))
440 #define ILV_RDAT_LEN(ilv) ((int)(EXTRACT_32BITS(&(ilv)->length)) - ILV_SET_LEN(0))
441 #define ILV_DATA(ilvp) ((void*)(((char*)(ilvp)) + ILV_SET_LEN(0)))
442 #define GO_NXT_ILV(ilv,rlen) ((rlen) -= F_ALN_LEN(EXTRACT_32BITS(&(ilv)->length)), \
443 (struct forces_ilv *)(((char*)(ilv)) \
444 + F_ALN_LEN(EXTRACT_32BITS(&(ilv)->length))))
445 #define INVALID_RLEN -1
446 #define INVALID_STLN -2
447 #define INVALID_LTLN -3
448 #define INVALID_ALEN -4
450 static const struct tok ForCES_TLV_err
[] = {
451 {INVALID_RLEN
, "Invalid total length"},
452 {INVALID_STLN
, "xLV too short"},
453 {INVALID_LTLN
, "xLV too long"},
454 {INVALID_ALEN
, "data padding missing"},
458 static inline int tlv_valid(const struct forces_tlv
*tlv
, u_int rlen
)
462 if (EXTRACT_16BITS(&tlv
->length
) < TLV_HDRL
)
464 if (EXTRACT_16BITS(&tlv
->length
) > rlen
)
466 if (rlen
< F_ALN_LEN(EXTRACT_16BITS(&tlv
->length
)))
472 static inline int ilv_valid(const struct forces_ilv
*ilv
, u_int rlen
)
476 if (EXTRACT_32BITS(&ilv
->length
) < ILV_HDRL
)
478 if (EXTRACT_32BITS(&ilv
->length
) > rlen
)
480 if (rlen
< F_ALN_LEN(EXTRACT_32BITS(&ilv
->length
)))
486 struct forces_lfbsh
{
491 #define ASSNS_OPS (B_OP_REPORT)
492 #define CFG_OPS (B_OP_SET|B_OP_SETPROP|B_OP_DEL|B_OP_COMMIT|B_OP_RTRCOMP)
493 #define CFG_ROPS (B_OP_SETRESP|B_OP_SETPRESP|B_OP_DELRESP|B_OP_RCOMMIT)
494 #define CFG_QY (B_OP_GET|B_OP_GETPROP)
495 #define CFG_QYR (B_OP_GETRESP|B_OP_GETPRESP)
496 #define CFG_EVN (B_OP_REPORT)
498 static const struct tom_h ForCES_msg
[TOM_MAX_IND
+ 1] = {
499 /* TOM_RSV_I */ {TOM_RSVD
, ZERO_TTLV
, 0, "Invalid message", NULL
},
500 /* TOM_ASS_I */ {TOM_ASSNSETUP
, ZERO_MORE_TTLV
| TWO_TLV
, ASSNS_OPS
,
501 "Association Setup", lfbselect_print
},
503 {TOM_ASSNTEARD
, TTLV_T1
, 0, "Association TearDown", asttlv_print
},
504 /* TOM_CFG_I */ {TOM_CONFIG
, TTLV_T2
, CFG_OPS
, "Config", lfbselect_print
},
505 /* TOM_QRY_I */ {TOM_QUERY
, TTLV_T2
, CFG_QY
, "Query", lfbselect_print
},
506 /* TOM_EVN_I */ {TOM_EVENTNOT
, TTLV_T1
, CFG_EVN
, "Event Notification",
509 {TOM_PKTREDIR
, TTLV_T2
, 0, "Packet Redirect", redirect_print
},
510 /* TOM_HBT_I */ {TOM_HEARTBT
, ZERO_TTLV
, 0, "HeartBeat", NULL
},
512 {TOM_ASSNSETREP
, TTLV_T1
, 0, "Association Response", asrtlv_print
},
513 /* TOM_CNR_I */ {TOM_CONFIGREP
, TTLV_T2
, CFG_ROPS
, "Config Response",
516 {TOM_QUERYREP
, TTLV_T2
, CFG_QYR
, "Query Response", lfbselect_print
},
519 static inline const struct tom_h
*get_forces_tom(u_int8_t tom
)
522 for (i
= TOM_RSV_I
; i
<= TOM_MAX_IND
; i
++) {
523 const struct tom_h
*th
= &ForCES_msg
[i
];
527 return &ForCES_msg
[TOM_RSV_I
];
535 int (*print
) (register const u_char
* pptr
, register u_int len
,
536 u_int16_t op_msk
, int indent
);
548 #define PD_MAX_IND (_TOM_RSV_MAX - 1)
550 static inline int pd_valid(u_int16_t pd
)
552 if (pd
>= F_TLV_PDAT
&& pd
<= F_TLV_REST
)
557 static inline void chk_op_type(u_int16_t type
, u_int16_t msk
, u_int16_t omsk
)
559 if (type
!= F_TLV_PDAT
) {
561 if (type
!= F_TLV_KEYI
) {
563 ("Based on flags expected KEYINFO TLV!\n");
568 ("Illegal DATA encoding for type 0x%x programmed %x got %x \n",
576 int fdatatlv_print(register const u_char
* pptr
, register u_int len
,
577 u_int16_t op_msk
, int indent
);
578 int sdatailv_print(register const u_char
* pptr
, register u_int len
,
579 u_int16_t op_msk
, int indent
);
580 int sdatatlv_print(register const u_char
* pptr
, register u_int len
,
581 u_int16_t op_msk
, int indent
);
582 int pdatatlv_print(register const u_char
* pptr
, register u_int len
,
583 u_int16_t op_msk
, int indent
);
584 int pkeyitlv_print(register const u_char
* pptr
, register u_int len
,
585 u_int16_t op_msk
, int indent
);
587 int pdatacnt_print(register const u_char
* pptr
, register u_int len
,
588 u_int16_t IDcnt
, u_int16_t op_msk
, int indent
);
589 int pdata_print(register const u_char
* pptr
, register u_int len
,
590 u_int16_t op_msk
, int indent
);
592 int prestlv_print(register const u_char
* pptr
, register u_int len
,
593 u_int16_t op_msk
, int indent
);
602 static const struct pdata_ops ForCES_pdata
[PD_MAX_IND
+ 1] = {
603 /* PD_RSV_I */ {0, 0, 0, "Invalid message", NULL
},
604 /* PD_SEL_I */ {F_TLV_KEYI
, 0, 0, "KEYINFO TLV", pkeyitlv_print
},
605 /* PD_FDT_I */ {F_TLV_FULD
, 0, B_FULLD
, "FULLDATA TLV", fdatatlv_print
},
606 /* PD_SDT_I */ {F_TLV_SPAD
, 0, B_SPARD
, "SPARSEDATA TLV", sdatatlv_print
},
607 /* PD_RES_I */ {F_TLV_REST
, 0, B_RESTV
, "RESULT TLV", prestlv_print
},
609 {F_TLV_PDAT
, 0, 0, "Inner PATH-DATA TLV", recpdoptlv_print
},
612 static inline const struct pdata_ops
*get_forces_pd(u_int16_t pd
)
615 for (i
= PD_RSV_I
+ 1; i
<= PD_MAX_IND
; i
++) {
616 const struct pdata_ops
*pdo
= &ForCES_pdata
[i
];
620 return &ForCES_pdata
[TOM_RSV_I
];
628 E_INVALID_DESTINATION_PID
,
631 E_LFB_INSTANCE_ID_NOT_FOUND
,
633 E_COMPONENT_DOES_NOT_EXIST
,
637 E_INVALID_ARRAY_CREATION
,
638 E_VALUE_OUT_OF_RANGE
,
640 E_INVALID_PARAMETERS
,
641 E_INVALID_MESSAGE_TYPE
,
648 /* 0x18-0xFE are reserved .. */
649 E_UNSPECIFIED_ERROR
= 0XFF
652 const struct tok ForCES_errs
[] = {
653 {E_SUCCESS
, "SUCCESS"},
654 {E_INVALID_HEADER
, "INVALID HEADER"},
655 {E_LENGTH_MISMATCH
, "LENGTH MISMATCH"},
656 {E_VERSION_MISMATCH
, "VERSION MISMATCH"},
657 {E_INVALID_DESTINATION_PID
, "INVALID DESTINATION PID"},
658 {E_LFB_UNKNOWN
, "LFB UNKNOWN"},
659 {E_LFB_NOT_FOUND
, "LFB NOT FOUND"},
660 {E_LFB_INSTANCE_ID_NOT_FOUND
, "LFB INSTANCE ID NOT FOUND"},
661 {E_INVALID_PATH
, "INVALID PATH"},
662 {E_COMPONENT_DOES_NOT_EXIST
, "COMPONENT DOES NOT EXIST"},
663 {E_EXISTS
, "EXISTS ALREADY"},
664 {E_NOT_FOUND
, "NOT FOUND"},
665 {E_READ_ONLY
, "READ ONLY"},
666 {E_INVALID_ARRAY_CREATION
, "INVALID ARRAY CREATION"},
667 {E_VALUE_OUT_OF_RANGE
, "VALUE OUT OF RANGE"},
668 {E_CONTENTS_TOO_LONG
, "CONTENTS TOO LONG"},
669 {E_INVALID_PARAMETERS
, "INVALID PARAMETERS"},
670 {E_INVALID_MESSAGE_TYPE
, "INVALID MESSAGE TYPE"},
671 {E_INVALID_FLAGS
, "INVALID FLAGS"},
672 {E_INVALID_TLV
, "INVALID TLV"},
673 {E_EVENT_ERROR
, "EVENT ERROR"},
674 {E_NOT_SUPPORTED
, "NOT SUPPORTED"},
675 {E_MEMORY_ERROR
, "MEMORY ERROR"},
676 {E_INTERNAL_ERROR
, "INTERNAL ERROR"},
677 {E_UNSPECIFIED_ERROR
, "UNSPECIFIED ERROR"},