openflow build environment setup

This commit is contained in:
2025-11-11 16:45:43 +08:00
parent be0a7ad9b3
commit 50ecb9a23f
2767 changed files with 62766 additions and 649828 deletions

View File

@@ -0,0 +1,35 @@
// -*- c-basic-offset: 4; related-file-name: "../../../elements/standard/errorelement.cc" -*-
#ifndef CLICK_ERRORELEMENT_HH
#define CLICK_ERRORELEMENT_HH
#include <click/element.hh>
CLICK_DECLS
/*
* =c
* Error(...)
* =s debugging
* always fails
* =d
* The Error element always fails to initialize. It has any number of inputs
* and outputs, and accepts any configuration string without complaint. It is
* useful to prevent a router from initializing while avoiding
* spurious error messages about bad configuration strings or connections.
* =a Message
*/
class ErrorElement : public Element { public:
ErrorElement();
const char *class_name() const { return "Error"; }
const char *port_count() const { return "-/-"; }
const char *processing() const { return AGNOSTIC; }
const char *flow_code() const { return "x/y"; }
int configure(Vector<String> &, ErrorHandler *);
int initialize(ErrorHandler *);
};
CLICK_ENDDECLS
#endif