diff options
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" |