#include <ostream>#include <list>#include "alg/mainaddrof.hh"#include "utl/vtime.hh"#include "set/neighbors.hh"#include "hello.hh"Go to the source code of this file.
Namespaces | |
| namespace | olsr |
| namespace | olsr::msg |
Defines | |
| #define | QOLYESTER_DAEMON_MSG_HELLO_HXX 1 |
| #define | PROC_XX_SET(Code) |
Variables | |
| std::ostream | olsr::dump_hello |
| bool | olsr::do_dump_hello = false |
| cproxy_t | olsr::cproxy |
| #define PROC_XX_SET | ( | Code | ) |
Value:
do { \ if (Code ## _list.empty()) \ break; \ \ linksetraw* lraw = reinterpret_cast<linksetraw*>(d.raw()); \ \ lraw->linkcode = linkcode_t(Code); \ lraw->reserved = 0; \ \ d += sizeof *lraw; \ \ for (linklist_t::iterator i = Code ## _list.begin(); \ i != Code ## _list.end(); \ d += ADDRESS_SIZE, ++i) { \ i->first.dump(d.raw()); \ cproxy.hello_linkset().set_stamp(i->second); \ } \ \ lraw->linkmessagesize = htons(d.raw() - \ reinterpret_cast<u_int8_t*>(lraw)); \ } while (0)
Referenced by olsr::msg::HELLOMessage::dump().
| #define QOLYESTER_DAEMON_MSG_HELLO_HXX 1 |
1.5.6