Changeset 119:5b3faa0b5c25 in freeDiameter for freeDiameter/dict_base_proto.c
- Timestamp:
- Dec 9, 2009, 5:09:18 PM (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/dict_base_proto.c
r43 r119 1253 1253 /* Protocol Errors */ 1254 1254 { 1255 /* 3001 */ 1256 { 1257 /* 1258 The Request contained a Command-Code that the receiver did not 1259 recognize or support. This MUST be used when a Diameter node 1260 receives an experimental command that it does not understand. 1261 */ 1262 /* (old): it has been changed to 5019 in 3588bis */ 1263 struct dict_enumval_data error_code = { "DIAMETER_COMMAND_UNSUPPORTED(old)", { .u32 = 3001 }}; 1264 CHECK_dict_new( DICT_ENUMVAL, &error_code , type, NULL); 1265 } 1255 1266 /* 3002 */ 1256 1267 { … … 1322 1333 */ 1323 1334 struct dict_enumval_data error_code = { "DIAMETER_APPLICATION_UNSUPPORTED", { .u32 = 3007 }}; 1335 CHECK_dict_new( DICT_ENUMVAL, &error_code , type, NULL); 1336 } 1337 /* 3008 */ 1338 { 1339 /* 1340 A request was received whose bits in the Diameter header were 1341 either set to an invalid combination, or to a value that is 1342 inconsistent with the command code's definition. 1343 */ 1344 /* (old): it has been changed in 3588bis */ 1345 struct dict_enumval_data error_code = { "DIAMETER_INVALID_HDR_BITS(old)", { .u32 = 3008 }}; 1346 CHECK_dict_new( DICT_ENUMVAL, &error_code , type, NULL); 1347 } 1348 /* 3009 */ 1349 { 1350 /* 1351 A request was received that included an AVP whose flag bits are 1352 set to an unrecognized value, or that is inconsistent with the 1353 AVP's definition. 1354 */ 1355 /* (old): it has been changed in 3588bis */ 1356 struct dict_enumval_data error_code = { "DIAMETER_INVALID_AVP_BITS(old)", { .u32 = 3009 }}; 1357 CHECK_dict_new( DICT_ENUMVAL, &error_code , type, NULL); 1358 } 1359 /* 3010 */ 1360 { 1361 /* 1362 A CER was received from an unknown peer. 1363 */ 1364 /* (old): it has been changed in 3588bis */ 1365 struct dict_enumval_data error_code = { "DIAMETER_UNKNOWN_PEER(old)", { .u32 = 3010 }}; 1324 1366 CHECK_dict_new( DICT_ENUMVAL, &error_code , type, NULL); 1325 1367 } … … 1498 1540 */ 1499 1541 struct dict_enumval_data error_code = { "DIAMETER_UNABLE_TO_COMPLY", { .u32 = 5012 }}; 1542 CHECK_dict_new( DICT_ENUMVAL, &error_code , type, NULL); 1543 } 1544 /* 5013 */ 1545 { 1546 /* 1547 This error is returned when an unrecognized bit in the Diameter 1548 header is set to one (1). 1549 */ 1550 /* (old): it has been changed in 3588bis */ 1551 struct dict_enumval_data error_code = { "DIAMETER_INVALID_BIT_IN_HEADER(old)", { .u32 = 5013 }}; 1500 1552 CHECK_dict_new( DICT_ENUMVAL, &error_code , type, NULL); 1501 1553 } … … 1518 1570 */ 1519 1571 struct dict_enumval_data error_code = { "DIAMETER_INVALID_AVP_LENGTH", { .u32 = 5014 }}; 1572 CHECK_dict_new( DICT_ENUMVAL, &error_code , type, NULL); 1573 } 1574 /* 5015 */ 1575 { 1576 /* 1577 This error is returned when a request is received with an invalid 1578 message length. 1579 */ 1580 /* (old): it has been changed in 3588bis */ 1581 struct dict_enumval_data error_code = { "DIAMETER_INVALID_MESSAGE_LENGTH(old)", { .u32 = 5015 }}; 1582 CHECK_dict_new( DICT_ENUMVAL, &error_code , type, NULL); 1583 } 1584 /* 5016 */ 1585 { 1586 /* 1587 The request contained an AVP with which is not allowed to have the 1588 given value in the AVP Flags field. A Diameter message indicating 1589 this error MUST include the offending AVPs within a Failed-AVP 1590 AVP. 1591 */ 1592 /* (old): it has been changed in 3588bis */ 1593 struct dict_enumval_data error_code = { "DIAMETER_INVALID_AVP_BIT_COMBO(old)", { .u32 = 5016 }}; 1520 1594 CHECK_dict_new( DICT_ENUMVAL, &error_code , type, NULL); 1521 1595 }
Note: See TracChangeset
for help on using the changeset viewer.