2 * Copyright (c) 1998-2006 The TCPDUMP project
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that: (1) source code
6 * distributions retain the above copyright notice and this paragraph
7 * in its entirety, and (2) distributions including binary code include
8 * the above copyright notice and this paragraph in its entirety in
9 * the documentation or other materials provided with the distribution.
10 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
11 * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
12 * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
13 * FOR A PARTICULAR PURPOSE.
15 * support for the IEEE "slow protocols" LACP, MARKER as per 802.3ad
18 * Original code by Hannes Gredler (hannes@gredler.at)
21 /* \summary: IEEE "slow protocols" (802.3ad/802.3ah) printer */
27 #include "netdissect-stdinc.h"
29 #define ND_LONGJMP_FROM_TCHECK
30 #include "netdissect.h"
32 #include "addrtoname.h"
36 #define SLOW_PROTO_LACP 1
37 #define SLOW_PROTO_MARKER 2
38 #define SLOW_PROTO_OAM 3
40 #define LACP_VERSION 1
41 #define MARKER_VERSION 1
43 static const struct tok slow_proto_values
[] = {
44 { SLOW_PROTO_LACP
, "LACP" },
45 { SLOW_PROTO_MARKER
, "MARKER" },
46 { SLOW_PROTO_OAM
, "OAM" },
50 static const struct tok slow_oam_flag_values
[] = {
51 { 0x0001, "Link Fault" },
52 { 0x0002, "Dying Gasp" },
53 { 0x0004, "Critical Event" },
54 { 0x0008, "Local Evaluating" },
55 { 0x0010, "Local Stable" },
56 { 0x0020, "Remote Evaluating" },
57 { 0x0040, "Remote Stable" },
61 #define SLOW_OAM_CODE_INFO 0x00
62 #define SLOW_OAM_CODE_EVENT_NOTIF 0x01
63 #define SLOW_OAM_CODE_VAR_REQUEST 0x02
64 #define SLOW_OAM_CODE_VAR_RESPONSE 0x03
65 #define SLOW_OAM_CODE_LOOPBACK_CTRL 0x04
66 #define SLOW_OAM_CODE_PRIVATE 0xfe
68 static const struct tok slow_oam_code_values
[] = {
69 { SLOW_OAM_CODE_INFO
, "Information" },
70 { SLOW_OAM_CODE_EVENT_NOTIF
, "Event Notification" },
71 { SLOW_OAM_CODE_VAR_REQUEST
, "Variable Request" },
72 { SLOW_OAM_CODE_VAR_RESPONSE
, "Variable Response" },
73 { SLOW_OAM_CODE_LOOPBACK_CTRL
, "Loopback Control" },
74 { SLOW_OAM_CODE_PRIVATE
, "Vendor Private" },
78 struct slow_oam_info_t
{
80 nd_uint8_t info_length
;
81 nd_uint8_t oam_version
;
84 nd_uint8_t oam_config
;
85 nd_uint16_t oam_pdu_config
;
87 nd_uint32_t vendor_private
;
90 #define SLOW_OAM_INFO_TYPE_END_OF_TLV 0x00
91 #define SLOW_OAM_INFO_TYPE_LOCAL 0x01
92 #define SLOW_OAM_INFO_TYPE_REMOTE 0x02
93 #define SLOW_OAM_INFO_TYPE_ORG_SPECIFIC 0xfe
95 static const struct tok slow_oam_info_type_values
[] = {
96 { SLOW_OAM_INFO_TYPE_END_OF_TLV
, "End of TLV marker" },
97 { SLOW_OAM_INFO_TYPE_LOCAL
, "Local" },
98 { SLOW_OAM_INFO_TYPE_REMOTE
, "Remote" },
99 { SLOW_OAM_INFO_TYPE_ORG_SPECIFIC
, "Organization specific" },
103 #define OAM_INFO_TYPE_PARSER_MASK 0x3
104 static const struct tok slow_oam_info_type_state_parser_values
[] = {
105 { 0x00, "forwarding" },
106 { 0x01, "looping back" },
107 { 0x02, "discarding" },
108 { 0x03, "reserved" },
112 #define OAM_INFO_TYPE_MUX_MASK 0x4
113 static const struct tok slow_oam_info_type_state_mux_values
[] = {
114 { 0x00, "forwarding" },
115 { 0x04, "discarding" },
119 static const struct tok slow_oam_info_type_oam_config_values
[] = {
121 { 0x02, "Unidirectional" },
122 { 0x04, "Remote-Loopback" },
123 { 0x08, "Link-Events" },
124 { 0x10, "Variable-Retrieval" },
129 #define OAM_INFO_TYPE_PDU_SIZE_MASK 0x7ff
131 #define SLOW_OAM_LINK_EVENT_END_OF_TLV 0x00
132 #define SLOW_OAM_LINK_EVENT_ERR_SYM_PER 0x01
133 #define SLOW_OAM_LINK_EVENT_ERR_FRM 0x02
134 #define SLOW_OAM_LINK_EVENT_ERR_FRM_PER 0x03
135 #define SLOW_OAM_LINK_EVENT_ERR_FRM_SUMM 0x04
136 #define SLOW_OAM_LINK_EVENT_ORG_SPECIFIC 0xfe
138 static const struct tok slow_oam_link_event_values
[] = {
139 { SLOW_OAM_LINK_EVENT_END_OF_TLV
, "End of TLV marker" },
140 { SLOW_OAM_LINK_EVENT_ERR_SYM_PER
, "Errored Symbol Period Event" },
141 { SLOW_OAM_LINK_EVENT_ERR_FRM
, "Errored Frame Event" },
142 { SLOW_OAM_LINK_EVENT_ERR_FRM_PER
, "Errored Frame Period Event" },
143 { SLOW_OAM_LINK_EVENT_ERR_FRM_SUMM
, "Errored Frame Seconds Summary Event" },
144 { SLOW_OAM_LINK_EVENT_ORG_SPECIFIC
, "Organization specific" },
148 struct slow_oam_link_event_t
{
149 nd_uint8_t event_type
;
150 nd_uint8_t event_length
;
151 nd_uint16_t time_stamp
;
153 nd_uint64_t threshold
;
155 nd_uint64_t errors_running_total
;
156 nd_uint32_t event_running_total
;
159 struct slow_oam_variablerequest_t
{
164 struct slow_oam_variableresponse_t
{
170 struct slow_oam_loopbackctrl_t
{
174 static const struct tok slow_oam_loopbackctrl_cmd_values
[] = {
175 { 0x01, "Enable OAM Remote Loopback" },
176 { 0x02, "Disable OAM Remote Loopback" },
180 struct tlv_header_t
{
185 #define LACP_MARKER_TLV_TERMINATOR 0x00 /* same code for LACP and Marker */
187 #define LACP_TLV_ACTOR_INFO 0x01
188 #define LACP_TLV_PARTNER_INFO 0x02
189 #define LACP_TLV_COLLECTOR_INFO 0x03
191 #define MARKER_TLV_MARKER_INFO 0x01
193 static const struct tok slow_tlv_values
[] = {
194 { (SLOW_PROTO_LACP
<< 8) + LACP_MARKER_TLV_TERMINATOR
, "Terminator"},
195 { (SLOW_PROTO_LACP
<< 8) + LACP_TLV_ACTOR_INFO
, "Actor Information"},
196 { (SLOW_PROTO_LACP
<< 8) + LACP_TLV_PARTNER_INFO
, "Partner Information"},
197 { (SLOW_PROTO_LACP
<< 8) + LACP_TLV_COLLECTOR_INFO
, "Collector Information"},
199 { (SLOW_PROTO_MARKER
<< 8) + LACP_MARKER_TLV_TERMINATOR
, "Terminator"},
200 { (SLOW_PROTO_MARKER
<< 8) + MARKER_TLV_MARKER_INFO
, "Marker Information"},
204 struct lacp_tlv_actor_partner_info_t
{
208 nd_uint16_t port_pri
;
214 static const struct tok lacp_tlv_actor_partner_info_state_values
[] = {
217 { 0x04, "Aggregation"},
218 { 0x08, "Synchronization"},
219 { 0x10, "Collecting"},
220 { 0x20, "Distributing"},
226 struct lacp_tlv_collector_info_t
{
227 nd_uint16_t max_delay
;
231 struct marker_tlv_marker_info_t
{
232 nd_uint16_t req_port
;
234 nd_uint32_t req_trans_id
;
238 struct lacp_marker_tlv_terminator_t
{
242 static void slow_marker_lacp_print(netdissect_options
*, const u_char
*, u_int
, u_int
);
243 static void slow_oam_print(netdissect_options
*, const u_char
*, u_int
);
246 slow_print(netdissect_options
*ndo
,
247 const u_char
*pptr
, u_int len
)
252 ndo
->ndo_protocol
= "slow";
255 subtype
= GET_U_1(pptr
);
258 * Sanity checking of the header.
261 case SLOW_PROTO_LACP
:
264 if (GET_U_1(pptr
+ 1) != LACP_VERSION
) {
265 ND_PRINT("LACP version %u packet not supported",
272 case SLOW_PROTO_MARKER
:
275 if (GET_U_1(pptr
+ 1) != MARKER_VERSION
) {
276 ND_PRINT("MARKER version %u packet not supported",
283 case SLOW_PROTO_OAM
: /* fall through */
288 /* print basic information and exit */
293 if (print_version
== 1) {
294 ND_PRINT("%sv%u, length %u",
295 tok2str(slow_proto_values
, "unknown (%u)", subtype
),
299 /* some slow protos don't have a version number in the header */
300 ND_PRINT("%s, length %u",
301 tok2str(slow_proto_values
, "unknown (%u)", subtype
),
305 /* unrecognized subtype */
306 if (print_version
== -1) {
307 print_unknown_data(ndo
, pptr
, "\n\t", len
);
315 default: /* should not happen */
322 slow_oam_print(ndo
, pptr
, len
);
325 case SLOW_PROTO_LACP
: /* LACP and MARKER share the same semantics */
326 case SLOW_PROTO_MARKER
:
327 /* skip subtype and version */
330 slow_marker_lacp_print(ndo
, pptr
, len
, subtype
);
337 ND_PRINT(" (packet is too short)");
339 ND_PRINT("\n\t\t packet is too short");
343 slow_marker_lacp_print(netdissect_options
*ndo
,
344 const u_char
*tptr
, u_int tlen
,
347 const struct tlv_header_t
*tlv_header
;
348 const u_char
*tlv_tptr
;
349 u_int tlv_type
, tlv_len
, tlv_tlen
;
352 const struct lacp_marker_tlv_terminator_t
*lacp_marker_tlv_terminator
;
353 const struct lacp_tlv_actor_partner_info_t
*lacp_tlv_actor_partner_info
;
354 const struct lacp_tlv_collector_info_t
*lacp_tlv_collector_info
;
355 const struct marker_tlv_marker_info_t
*marker_tlv_marker_info
;
359 /* is the packet big enough to include the tlv header ? */
360 if (tlen
< sizeof(struct tlv_header_t
))
362 /* did we capture enough for fully decoding the tlv header ? */
363 tlv_header
= (const struct tlv_header_t
*)tptr
;
364 tlv_type
= GET_U_1(tlv_header
->type
);
365 tlv_len
= GET_U_1(tlv_header
->length
);
367 ND_PRINT("\n\t%s TLV (0x%02x), length %u",
368 tok2str(slow_tlv_values
,
370 (proto_subtype
<< 8) + tlv_type
),
374 if (tlv_type
== LACP_MARKER_TLV_TERMINATOR
) {
376 * This TLV has a length of zero, and means there are no
377 * more TLVs to process.
382 /* length includes the type and length fields */
383 if (tlv_len
< sizeof(struct tlv_header_t
)) {
384 ND_PRINT("\n\t ERROR: illegal length - should be >= %zu",
385 sizeof(struct tlv_header_t
));
389 /* is the packet big enough to include the tlv ? */
392 /* did we capture enough for fully decoding the tlv ? */
393 ND_TCHECK_LEN(tptr
, tlv_len
);
395 tlv_tptr
=tptr
+sizeof(struct tlv_header_t
);
396 tlv_tlen
=tlv_len
-sizeof(struct tlv_header_t
);
398 switch((proto_subtype
<< 8) + tlv_type
) {
400 /* those two TLVs have the same structure -> fall through */
401 case ((SLOW_PROTO_LACP
<< 8) + LACP_TLV_ACTOR_INFO
):
402 case ((SLOW_PROTO_LACP
<< 8) + LACP_TLV_PARTNER_INFO
):
404 sizeof(struct lacp_tlv_actor_partner_info_t
)) {
405 ND_PRINT("\n\t ERROR: illegal length - should be %zu",
406 sizeof(struct tlv_header_t
) + sizeof(struct lacp_tlv_actor_partner_info_t
));
410 tlv_ptr
.lacp_tlv_actor_partner_info
= (const struct lacp_tlv_actor_partner_info_t
*)tlv_tptr
;
412 ND_PRINT("\n\t System %s, System Priority %u, Key %u"
413 ", Port %u, Port Priority %u\n\t State Flags [%s]",
414 GET_MAC48_STRING(tlv_ptr
.lacp_tlv_actor_partner_info
->sys
),
415 GET_BE_U_2(tlv_ptr
.lacp_tlv_actor_partner_info
->sys_pri
),
416 GET_BE_U_2(tlv_ptr
.lacp_tlv_actor_partner_info
->key
),
417 GET_BE_U_2(tlv_ptr
.lacp_tlv_actor_partner_info
->port
),
418 GET_BE_U_2(tlv_ptr
.lacp_tlv_actor_partner_info
->port_pri
),
419 bittok2str(lacp_tlv_actor_partner_info_state_values
,
421 GET_U_1(tlv_ptr
.lacp_tlv_actor_partner_info
->state
)));
425 case ((SLOW_PROTO_LACP
<< 8) + LACP_TLV_COLLECTOR_INFO
):
427 sizeof(struct lacp_tlv_collector_info_t
)) {
428 ND_PRINT("\n\t ERROR: illegal length - should be %zu",
429 sizeof(struct tlv_header_t
) + sizeof(struct lacp_tlv_collector_info_t
));
433 tlv_ptr
.lacp_tlv_collector_info
= (const struct lacp_tlv_collector_info_t
*)tlv_tptr
;
435 ND_PRINT("\n\t Max Delay %u",
436 GET_BE_U_2(tlv_ptr
.lacp_tlv_collector_info
->max_delay
));
440 case ((SLOW_PROTO_MARKER
<< 8) + MARKER_TLV_MARKER_INFO
):
442 sizeof(struct marker_tlv_marker_info_t
)) {
443 ND_PRINT("\n\t ERROR: illegal length - should be %zu",
444 sizeof(struct tlv_header_t
) + sizeof(struct marker_tlv_marker_info_t
));
448 tlv_ptr
.marker_tlv_marker_info
= (const struct marker_tlv_marker_info_t
*)tlv_tptr
;
450 ND_PRINT("\n\t Request System %s, Request Port %u, Request Transaction ID 0x%08x",
451 GET_MAC48_STRING(tlv_ptr
.marker_tlv_marker_info
->req_sys
),
452 GET_BE_U_2(tlv_ptr
.marker_tlv_marker_info
->req_port
),
453 GET_BE_U_4(tlv_ptr
.marker_tlv_marker_info
->req_trans_id
));
458 if (ndo
->ndo_vflag
<= 1)
459 print_unknown_data(ndo
, tlv_tptr
, "\n\t ", tlv_tlen
);
464 /* do we want to see an additional hexdump ? */
465 if (ndo
->ndo_vflag
> 1) {
466 print_unknown_data(ndo
, tptr
+sizeof(struct tlv_header_t
), "\n\t ",
467 tlv_len
-sizeof(struct tlv_header_t
));
476 ND_PRINT("\n\t\t packet is too short");
480 slow_oam_print(netdissect_options
*ndo
,
481 const u_char
*tptr
, u_int tlen
)
484 uint8_t type
, length
;
489 struct slow_oam_common_header_t
{
494 struct slow_oam_tlv_header_t
{
500 const struct slow_oam_common_header_t
*slow_oam_common_header
;
501 const struct slow_oam_tlv_header_t
*slow_oam_tlv_header
;
505 const struct slow_oam_info_t
*slow_oam_info
;
506 const struct slow_oam_link_event_t
*slow_oam_link_event
;
507 const struct slow_oam_variablerequest_t
*slow_oam_variablerequest
;
508 const struct slow_oam_variableresponse_t
*slow_oam_variableresponse
;
509 const struct slow_oam_loopbackctrl_t
*slow_oam_loopbackctrl
;
512 ptr
.slow_oam_common_header
= (const struct slow_oam_common_header_t
*)tptr
;
513 if (tlen
< sizeof(*ptr
.slow_oam_common_header
))
515 ND_TCHECK_SIZE(ptr
.slow_oam_common_header
);
516 tptr
+= sizeof(struct slow_oam_common_header_t
);
517 tlen
-= sizeof(struct slow_oam_common_header_t
);
519 code
= GET_U_1(ptr
.slow_oam_common_header
->code
);
520 ND_PRINT("\n\tCode %s OAM PDU, Flags [%s]",
521 tok2str(slow_oam_code_values
, "Unknown (%u)", code
),
522 bittok2str(slow_oam_flag_values
,
524 GET_BE_U_2(ptr
.slow_oam_common_header
->flags
)));
527 case SLOW_OAM_CODE_INFO
:
529 ptr
.slow_oam_tlv_header
= (const struct slow_oam_tlv_header_t
*)tptr
;
530 if (tlen
< sizeof(*ptr
.slow_oam_tlv_header
))
532 ND_TCHECK_SIZE(ptr
.slow_oam_tlv_header
);
533 type
= GET_U_1(ptr
.slow_oam_tlv_header
->type
);
534 length
= GET_U_1(ptr
.slow_oam_tlv_header
->length
);
535 ND_PRINT("\n\t %s Information Type (%u), length %u",
536 tok2str(slow_oam_info_type_values
, "Reserved", type
),
540 if (type
== SLOW_OAM_INFO_TYPE_END_OF_TLV
) {
542 * As IEEE Std 802.3-2015 says for the End of TLV Marker,
543 * "(the length and value of the Type 0x00 TLV can be ignored)".
548 /* length includes the type and length fields */
549 if (length
< sizeof(struct slow_oam_tlv_header_t
)) {
550 ND_PRINT("\n\t ERROR: illegal length - should be >= %zu",
551 sizeof(struct slow_oam_tlv_header_t
));
557 ND_TCHECK_LEN(tptr
, length
);
561 case SLOW_OAM_INFO_TYPE_LOCAL
: /* identical format - fall through */
562 case SLOW_OAM_INFO_TYPE_REMOTE
:
563 tlv
.slow_oam_info
= (const struct slow_oam_info_t
*)tptr
;
565 if (GET_U_1(tlv
.slow_oam_info
->info_length
) !=
566 sizeof(struct slow_oam_info_t
)) {
567 ND_PRINT("\n\t ERROR: illegal length - should be %zu",
568 sizeof(struct slow_oam_info_t
));
570 goto badlength_code_info
;
573 ND_PRINT("\n\t OAM-Version %u, Revision %u",
574 GET_U_1(tlv
.slow_oam_info
->oam_version
),
575 GET_BE_U_2(tlv
.slow_oam_info
->revision
));
577 state
= GET_U_1(tlv
.slow_oam_info
->state
);
578 ND_PRINT("\n\t State-Parser-Action %s, State-MUX-Action %s",
579 tok2str(slow_oam_info_type_state_parser_values
, "Reserved",
580 state
& OAM_INFO_TYPE_PARSER_MASK
),
581 tok2str(slow_oam_info_type_state_mux_values
, "Reserved",
582 state
& OAM_INFO_TYPE_MUX_MASK
));
583 ND_PRINT("\n\t OAM-Config Flags [%s], OAM-PDU-Config max-PDU size %u",
584 bittok2str(slow_oam_info_type_oam_config_values
, "none",
585 GET_U_1(tlv
.slow_oam_info
->oam_config
)),
586 GET_BE_U_2(tlv
.slow_oam_info
->oam_pdu_config
) &
587 OAM_INFO_TYPE_PDU_SIZE_MASK
);
588 ND_PRINT("\n\t OUI %s (0x%06x), Vendor-Private 0x%08x",
589 tok2str(oui_values
, "Unknown",
590 GET_BE_U_3(tlv
.slow_oam_info
->oui
)),
591 GET_BE_U_3(tlv
.slow_oam_info
->oui
),
592 GET_BE_U_4(tlv
.slow_oam_info
->vendor_private
));
595 case SLOW_OAM_INFO_TYPE_ORG_SPECIFIC
:
605 /* do we also want to see a hex dump ? */
606 if (ndo
->ndo_vflag
> 1 || hexdump
==TRUE
) {
607 print_unknown_data(ndo
, tptr
, "\n\t ",
616 case SLOW_OAM_CODE_EVENT_NOTIF
:
617 /* Sequence number */
620 ND_PRINT("\n\t Sequence Number %u", GET_BE_U_2(tptr
));
626 ptr
.slow_oam_tlv_header
= (const struct slow_oam_tlv_header_t
*)tptr
;
627 if (tlen
< sizeof(*ptr
.slow_oam_tlv_header
))
629 type
= GET_U_1(ptr
.slow_oam_tlv_header
->type
);
630 length
= GET_U_1(ptr
.slow_oam_tlv_header
->length
);
631 ND_PRINT("\n\t %s Link Event Type (%u), length %u",
632 tok2str(slow_oam_link_event_values
, "Reserved",
637 if (type
== SLOW_OAM_INFO_TYPE_END_OF_TLV
) {
639 * As IEEE Std 802.3-2015 says for the End of TLV Marker,
640 * "(the length and value of the Type 0x00 TLV can be ignored)".
645 /* length includes the type and length fields */
646 if (length
< sizeof(struct slow_oam_tlv_header_t
)) {
647 ND_PRINT("\n\t ERROR: illegal length - should be >= %zu",
648 sizeof(struct slow_oam_tlv_header_t
));
654 ND_TCHECK_LEN(tptr
, length
);
658 case SLOW_OAM_LINK_EVENT_ERR_SYM_PER
: /* identical format - fall through */
659 case SLOW_OAM_LINK_EVENT_ERR_FRM
:
660 case SLOW_OAM_LINK_EVENT_ERR_FRM_PER
:
661 case SLOW_OAM_LINK_EVENT_ERR_FRM_SUMM
:
662 tlv
.slow_oam_link_event
= (const struct slow_oam_link_event_t
*)tptr
;
664 if (GET_U_1(tlv
.slow_oam_link_event
->event_length
) !=
665 sizeof(struct slow_oam_link_event_t
)) {
666 ND_PRINT("\n\t ERROR: illegal length - should be %zu",
667 sizeof(struct slow_oam_link_event_t
));
669 goto badlength_event_notif
;
672 ND_PRINT("\n\t Timestamp %u ms, Errored Window %" PRIu64
673 "\n\t Errored Threshold %" PRIu64
674 "\n\t Errors %" PRIu64
675 "\n\t Error Running Total %" PRIu64
676 "\n\t Event Running Total %u",
677 GET_BE_U_2(tlv
.slow_oam_link_event
->time_stamp
)*100,
678 GET_BE_U_8(tlv
.slow_oam_link_event
->window
),
679 GET_BE_U_8(tlv
.slow_oam_link_event
->threshold
),
680 GET_BE_U_8(tlv
.slow_oam_link_event
->errors
),
681 GET_BE_U_8(tlv
.slow_oam_link_event
->errors_running_total
),
682 GET_BE_U_4(tlv
.slow_oam_link_event
->event_running_total
));
685 case SLOW_OAM_LINK_EVENT_ORG_SPECIFIC
:
694 badlength_event_notif
:
695 /* do we also want to see a hex dump ? */
696 if (ndo
->ndo_vflag
> 1 || hexdump
==TRUE
) {
697 print_unknown_data(ndo
, tptr
, "\n\t ",
706 case SLOW_OAM_CODE_LOOPBACK_CTRL
:
707 tlv
.slow_oam_loopbackctrl
= (const struct slow_oam_loopbackctrl_t
*)tptr
;
708 if (tlen
< sizeof(*tlv
.slow_oam_loopbackctrl
))
710 command
= GET_U_1(tlv
.slow_oam_loopbackctrl
->command
);
711 ND_PRINT("\n\t Command %s (%u)",
712 tok2str(slow_oam_loopbackctrl_cmd_values
,
721 * FIXME those are the defined codes that lack a decoder
722 * you are welcome to contribute code ;-)
724 case SLOW_OAM_CODE_VAR_REQUEST
:
725 case SLOW_OAM_CODE_VAR_RESPONSE
:
726 case SLOW_OAM_CODE_PRIVATE
:
728 if (ndo
->ndo_vflag
<= 1) {
729 print_unknown_data(ndo
, tptr
, "\n\t ", tlen
);
736 ND_PRINT("\n\t\t packet is too short");