SingingCat 0
application
routing.h
Go to the documentation of this file.
1#include <stdint.h>
2
14#ifndef __ROUTING_H
15#define __ROUTING_H
16
17#define BROADCAST 0xFFFFFFFF
18
20typedef struct hostroute {
21 long host;
22 long lastseen;
27 long nexthop;
28 /*
29 * \brief which device to use for this route?
30 */
31 uint8_t device;
32 uint8_t hops_to_server;
36 uint8_t hosttype;
37 uint8_t signal_indicator;
39
40#endif
uint8_t hosttype
see https://www.singingcat.net?linkid=routing
Definition: routing.h:36
long nexthop
here the nodeif of the intermediary hop (the proxy)
Definition: routing.h:27
struct hostroute _hostroute
long host
Definition: routing.h:21
long lastseen
Definition: routing.h:22