Lines Matching +full:tcm +full:- +full:mode
21 …ps://web.archive.org/web/20160401194747/http://www.oiforum.com/public/documents/OIF-UNI-01.0.pdf */
25 #include "netdissect-stdinc.h"
39 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
41 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
43 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
93 { 0x08, "Link-Id configuration error"},
94 { 0x10, "Unknown object c-type"},
99 { 0x01, "Unacceptable non-negotiable LINK-SUMMARY parameters"},
100 { 0x02, "Renegotiate LINK-SUMMARY parameters"},
101 { 0x04, "Invalid TE-LINK Object"},
102 { 0x08, "Invalid DATA-LINK Object"},
103 { 0x10, "Unknown TE-LINK Object c-type"},
104 { 0x20, "Unknown DATA-LINK Object c-type"},
136 /* Service Config Network Service Attributes TCM Monitoring Flags */
207 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
208 * |N| C-Type | Class | Length |
209 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
213 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
293 /* C-Types for Service Config Object */
418 total_subobj_len-=subobj_len; in lmp_print_data_link_subobjs()
440 ndo->ndo_protocol = "lmp"; in lmp_print()
445 version_res = GET_BE_U_2(lmp_com_header->version_res); in lmp_print()
456 /* in non-verbose mode just lets print the basic Message Type*/ in lmp_print()
457 if (ndo->ndo_vflag < 1) { in lmp_print()
460 tok2str(lmp_msg_type_values, "unknown (%u)",GET_U_1(lmp_com_header->msg_type)), in lmp_print()
465 /* ok they seem to want to know everything - lets fully decode it */ in lmp_print()
467 tlen=GET_BE_U_2(lmp_com_header->length); in lmp_print()
469 ND_PRINT("\n\tLMPv%u, msg-type: %s, Flags: [%s], length: %u", in lmp_print()
471 tok2str(lmp_msg_type_values, "unknown, type: %u",GET_U_1(lmp_com_header->msg_type)), in lmp_print()
472 bittok2str(lmp_header_flag_values,"none",GET_U_1(lmp_com_header->flags)), in lmp_print()
484 tlen-=sizeof(struct lmp_common_header); in lmp_print()
489 lmp_obj_len=GET_BE_U_2(lmp_obj_header->length); in lmp_print()
490 lmp_obj_ctype=GET_U_1(lmp_obj_header->ctype)&0x7f; in lmp_print()
492 ND_PRINT("\n\t %s Object (%u), Class-Type: %s (%u) Flags: [%snegotiable], length: %u", in lmp_print()
495 GET_U_1(lmp_obj_header->class_num)), in lmp_print()
496 GET_U_1(lmp_obj_header->class_num), in lmp_print()
499 (GET_U_1(lmp_obj_header->class_num)<<8)+lmp_obj_ctype), in lmp_print()
501 GET_U_1(lmp_obj_header->ctype)&0x80 ? "" : "non-", in lmp_print()
514 obj_tlen=lmp_obj_len-sizeof(struct lmp_object_header); in lmp_print()
520 switch(GET_U_1(lmp_obj_header->class_num)) { in lmp_print()
667 ND_PRINT("\n\t Local Link-ID: %s (0x%08x)" in lmp_print()
668 "\n\t Remote Link-ID: %s (0x%08x)", in lmp_print()
685 ND_PRINT("\n\t Local Link-ID: %s (0x%08x)" in lmp_print()
686 "\n\t Remote Link-ID: %s (0x%08x)", in lmp_print()
703 ND_PRINT("\n\t Local Link-ID: %u (0x%08x)" in lmp_print()
704 "\n\t Remote Link-ID: %u (0x%08x)", in lmp_print()
734 if (lmp_print_data_link_subobjs(ndo, obj_tptr, obj_tlen - 12, 12)) in lmp_print()
754 if (lmp_print_data_link_subobjs(ndo, obj_tptr, obj_tlen - 36, 36)) in lmp_print()
774 if (lmp_print_data_link_subobjs(ndo, obj_tptr, obj_tlen - 12, 12)) in lmp_print()
861 "Allocated" : "Non-allocated", in lmp_print()
888 "Allocated" : "Non-allocated", in lmp_print()
915 "Allocated" : "Non-allocated", in lmp_print()
1090 ND_PRINT("\n\t TCM Monitoring Flags: %s", in lmp_print()
1118 if (ndo->ndo_vflag <= 1) in lmp_print()
1123 if (ndo->ndo_vflag > 1 || hexdump==TRUE) in lmp_print()
1125 lmp_obj_len-sizeof(struct lmp_object_header)); in lmp_print()
1133 tlen-=lmp_obj_len; in lmp_print()