Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

hello.hxx File Reference

#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 dump_hello
bool do_dump_hello = false
cproxy_t cproxy


Define Documentation

#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)

#define QOLYESTER_DAEMON_MSG_HELLO_HXX   1
 


Variable Documentation

cproxy_t olsr::cproxy
 

bool olsr::do_dump_hello = false
 

std::ostream olsr::dump_hello
 


Generated on Thu Jul 28 21:21:49 2005 for Qolyester daemon by  doxygen 1.4.1