SingingCat
0
application
user-include
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
20
typedef
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;
38
}
_hostroute
;
39
40
#endif
hostroute::hosttype
uint8_t hosttype
see https://www.singingcat.net?linkid=routing
Definition:
routing.h:36
hostroute::nexthop
long nexthop
here the nodeif of the intermediary hop (the proxy)
Definition:
routing.h:27
_hostroute
struct hostroute _hostroute
hostroute::host
long host
Definition:
routing.h:21
hostroute::lastseen
long lastseen
Definition:
routing.h:22
hostroute
Definition:
routing.h:20
Generated on Tue May 28 2024 19:13:43 for SingingCat by
1.9.4