libTFO
Functions
include/libtfo/extras.hh File Reference
#include <libtfo/tfo.hh>
Include dependency graph for extras.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const string fib_entry_state_str (const enum FibEntryState s)
const string fib_entry_table_str (const enum FibEntryTable t)
const string fib_entry_update_type_str (const enum FibEntryUpdateType t)

Detailed Description

Author:
Nadi Sarrar <nadi@net.t-labs.tu-berlin.de>

LICENSE

libTFO, a flow offloading decision engine designed for switch controllers.

Copyright (C) 2010, 2011 Nadi Sarrar <nadi@net.t-labs.tu-berlin.de>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

DESCRIPTION

Some helper functions to ease the implementation of network controllers that decide to use libTFO.


Function Documentation

const string fib_entry_state_str ( const enum FibEntryState  s)

Converts a FibEntryState into an informative string.

Parameters:
[in]sState to be translated into a string.
const string fib_entry_table_str ( const enum FibEntryTable  t)

Converts a FibEntryTable into an informative string.

Parameters:
[in]tTable to be translated into a string.
const string fib_entry_update_type_str ( const enum FibEntryUpdateType  t)

Converts a FibEntryUpdateType into an informative string.

Parameters:
[in]tUpdate type to be translated into a string.
 All Classes Files Functions Typedefs Enumerations Enumerator