diff options
author | Bjørn Mork <bjorn@mork.no> | 2015-06-23 14:17:10 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2015-06-23 14:17:10 +0200 |
commit | 8c746b3a2bfb67addbfa4d3d4b7c0dbc2e8ba985 (patch) | |
tree | a75585d0e66fc2b54d2fb2e38241eee7d248885b /eperd/eperd.h | |
parent | 13762fce1926efb6b553bf20df256ccf6586f518 (diff) |
ripe-atlas-fw: imported version 46804680
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'eperd/eperd.h')
-rw-r--r-- | eperd/eperd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eperd/eperd.h b/eperd/eperd.h index 16cb1d7..e19c1a0 100644 --- a/eperd/eperd.h +++ b/eperd/eperd.h @@ -12,6 +12,7 @@ struct globals { const char *CDir; /* = CRONTABS; */ CronLine *LineBase; CronLine *oldLine; + unsigned instance_id; struct event_base *EventBase; struct evdns_base *DnsBase; }; @@ -22,9 +23,13 @@ extern struct globals G; #define LineBase (G.LineBase ) #define FileBase (G.FileBase ) #define oldLine (G.oldLine ) +#define instance_id (G.instance_id ) #define EventBase (G.EventBase ) #define DnsBase (G.DnsBase ) +#define TRT_ICMP4_INSTANCE_ID_SHIFT 12 +#define TRT_ICMP4_INSTANCE_ID_MASK 0xf000 + #define LVL5 "\x05" #define LVL7 "\x07" #define LVL8 "\x08" |