|
INET Framework for OMNeT++/OMNEST
|
Next hop forwarding protocol specific data for an NetworkInterface, stores generic network address. More...
#include <NextHopInterfaceData.h>
Public Types | |
| enum | { F_ADDRESS, F_METRIC } |
Public Types inherited from inet::IPrintableObject | |
| enum | PrintLevel { PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO, PRINT_LEVEL_COMPLETE = INT_MIN } |
| enum | PrintFlag { PRINT_FLAG_FORMATTED = (1 << 0), PRINT_FLAG_MULTILINE = (1 << 1) } |
Public Member Functions | |
| NextHopInterfaceData () | |
| virtual std::string | str () const override |
| virtual std::string | detailedInfo () const |
Getters | |
| L3Address | getAddress () const |
| int | getMetric () const |
Setters | |
| virtual void | setAddress (L3Address a) |
| virtual void | setMetric (int m) |
| virtual void | joinMulticastGroup (L3Address address) |
Public Member Functions inherited from inet::InterfaceProtocolData | |
| InterfaceProtocolData (int id) | |
| NetworkInterface * | getNetworkInterface () const |
| Returns the NetworkInterface that contains this data object, or nullptr. More... | |
Public Member Functions inherited from inet::TagBase | |
| virtual const Ptr< TagBase > | dupShared () const |
| virtual const Ptr< TagBase > | changeRegion (b offsetDelta, b lengthDelta) const |
| virtual void | parsimPack (cCommBuffer *buffer) const override |
| virtual void | parsimUnpack (cCommBuffer *buffer) override |
| virtual std::ostream & | printToStream (std::ostream &stream, int level, int evFlags) const override |
| Prints this object to the provided output stream. More... | |
| virtual std::ostream & | printFieldsToStream (std::ostream &stream, int level, int evFlags) const |
Public Member Functions inherited from inet::IPrintableObject | |
| virtual | ~IPrintableObject () |
| virtual std::string | printToString () const |
| virtual std::string | printToString (int level, int evFlags=0) const |
| virtual std::string | getInfoStringRepresentation (int evFlags=0) const |
| virtual std::string | getDetailStringRepresentation (int evFlags=0) const |
| virtual std::string | getDebugStringRepresentation (int evFlags=0) const |
| virtual std::string | getTraceStringRepresentation (int evFlags=0) const |
| virtual std::string | getCompleteStringRepresentation (int evFlags=0) const |
Protected Member Functions | |
| void | changed1 (int fieldId) |
Protected Member Functions inherited from inet::InterfaceProtocolData | |
| virtual void | changed (simsignal_t signalID, int fieldId) |
Protected Attributes | |
| L3Address | inetAddr |
| address of interface More... | |
| int | metric |
| link "cost"; see e.g. MS KB article Q299540 //TODO needed??? More... | |
Protected Attributes inherited from inet::InterfaceProtocolData | |
| NetworkInterface * | ownerp = nullptr |
| int | id |
Private Member Functions | |
| NextHopInterfaceData (const NextHopInterfaceData &obj) | |
| NextHopInterfaceData & | operator= (const NextHopInterfaceData &obj) |
Next hop forwarding protocol specific data for an NetworkInterface, stores generic network address.
|
private |
|
inline |
|
inlineprotected |
|
virtual |
|
inline |
Referenced by detailedInfo(), inet::NextHopForwarding::routePacket(), and str().
|
inline |
Referenced by detailedInfo().
|
inlinevirtual |
|
private |
|
inlinevirtual |
|
inlinevirtual |
Referenced by inet::NextHopRoutingTable::configureInterface().
|
overridevirtual |
Reimplemented from inet::TagBase.
|
protected |
address of interface
|
protected |
link "cost"; see e.g. MS KB article Q299540 //TODO needed???