typedef XorpCallback3<bool, Message*, const IPv4&, const IPv4&>::RefPtr MessageReceiveCB | MessageReceiveCB |
#include <face_manager.hh>
inline
void
initialize_message_decoder (MessageDecoder& message_decoder)
| initialize_message_decoder |
#include <message.hh>
inline bool
is_node_vertex (const OlsrTypes::VertexType vt)
| is_node_vertex |
#include <olsr_types.hh>
Returns: true if the given vertex type maps directly to a single OLSR node.
inline bool
is_seq_newer (const uint16_t seq1, const uint16_t seq2)
| is_seq_newer |
#include <olsr_types.hh>
Helper function to compare two sequence numbers. RFC 3626 Section 19: Sequence Numbers.
Parameters:
seq1 | An OLSR sequence number |
seq2 | An OLSR sequence number |
Returns: true if seq1 is newer than seq2.
const char* tcr_to_str (const OlsrTypes::TcRedundancyType t)
| tcr_to_str |
#include <olsr_types.hh>
const char* will_to_str (const OlsrTypes::WillType t)
| will_to_str |
#include <olsr_types.hh>
const char* vt_to_str (const OlsrTypes::VertexType vt)
| vt_to_str |
#include <olsr_types.hh>
Returns: a C string describing a vertex type.
void initialize_profiling_variables (Profile& p)
| initialize_profiling_variables |
#include <profile_vars.hh>
Profile variables See: profile_vars.cc for definitions.
inline
uint32_t
get_number (const string& word)
throw(InvalidString) | get_number |
#include <test_args.hh>
Get a number in base 8,10 or 16.
Parameters:
word | the word to evaluate. |
Returns: a number. @throw InvalidString if invalid syntax.
inline
IPv4
get_ipv4 (const string& word)
throw(InvalidString) | get_ipv4 |
#include <test_args.hh>
Get an IPv4 address.
Parameters:
word | the word to evaluate. |
Returns: an IPv4 host address. @throw InvalidString if invalid syntax.
inline
IPv4Net
get_ipv4_net (const string& word)
throw(InvalidString) | get_ipv4_net |
#include <test_args.hh>
Get an IPv4 network address.
Parameters:
word | the word to evaluate. |
Returns: an IPv4 network address. @throw InvalidString if invalid syntax.
inline
bool
get_bool (const string& word)
throw(InvalidString) | get_bool |
#include <test_args.hh>
Get a boolean variable as a string or number.
Parameters:
word | the word to evaluate. |
Returns: a boolean value. @throw InvalidString if invalid syntax.
inline
string
get_next_word (Args& args, const string& varname)
throw(InvalidString) | get_next_word |
#include <test_args.hh>
Get the next word throw an exception if its not present.
Parameters:
args | the argument structure to retreive the word from. |
word | the word to evaluate. |
Returns: @throw InvalidString if invalid syntax.
inline
uint32_t
get_next_number (Args& args, const string& varname)
throw(InvalidString) | get_next_number |
#include <test_args.hh>
inline
IPv4
get_next_ipv4 (Args& args, const string& varname)
throw(InvalidString) | get_next_ipv4 |
#include <test_args.hh>
inline
IPv4Net
get_next_ipv4_net (Args& args, const string& varname)
throw(InvalidString) | get_next_ipv4_net |
#include <test_args.hh>
inline
bool
get_next_bool (Args& args, const string& varname)
throw(InvalidString) | get_next_bool |
#include <test_args.hh>
enum TLV { TLV_VERSION = 1, TLV_SYSTEM_INFO = 2, TLV_OLSR_VERSION = 3, TLV_N1 = 4, TLV_N2 = 5, TLV_TC = 6, TLV_MID = 7, TLV_START = TLV_VERSION, TLV_END = TLV_MID } | TLV |
#include <test_common.hh>
The type fields when saving an OLSR instance's link state database.
typedef list<XrlPort*> XrlPortList | XrlPortList |
#include <xrl_io.hh>
typedef map<ServiceBase*, XrlPort*> XrlDeadPortMap | XrlDeadPortMap |
#include <xrl_io.hh>