ndo->ndo_protocol = "slow";
if (len < 1)
goto tooshort;
- ND_TCHECK_1(pptr);
subtype = GET_U_1(pptr);
/*
case SLOW_PROTO_LACP:
if (len < 2)
goto tooshort;
- ND_TCHECK_1(pptr + 1);
if (GET_U_1(pptr + 1) != LACP_VERSION) {
ND_PRINT("LACP version %u packet not supported",
GET_U_1(pptr + 1));
case SLOW_PROTO_MARKER:
if (len < 2)
goto tooshort;
- ND_TCHECK_1(pptr + 1);
if (GET_U_1(pptr + 1) != MARKER_VERSION) {
ND_PRINT("MARKER version %u packet not supported",
GET_U_1(pptr + 1));
ND_PRINT(" (packet is too short)");
else
ND_PRINT("\n\t\t packet is too short");
- return;
-
-trunc:
- nd_print_trunc(ndo);
}
static void
/* Sequence number */
if (tlen < 2)
goto tooshort;
- ND_TCHECK_2(tptr);
ND_PRINT("\n\t Sequence Number %u", GET_BE_U_2(tptr));
tlen -= 2;
tptr += 2;