summaryrefslogtreecommitdiff
path: root/core/network.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-08 10:59:22 -0400
committerirungentoo <irungentoo@gmail.com>2013-08-08 10:59:22 -0400
commita3a0fb57cb8804d619e04cfc22f8154db067fa25 (patch)
tree1901758073d2b96f8fb007a2c53f9269eed4a188 /core/network.h
parente8ee3c0cd31f70593b65cec7fe411e07aceb3725 (diff)
Moved a define and fixed another.
Diffstat (limited to 'core/network.h')
-rw-r--r--core/network.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/network.h b/core/network.h
index d246a9d1..d3c39333 100644
--- a/core/network.h
+++ b/core/network.h
@@ -66,6 +66,11 @@ extern "C" {
66 66
67#define MAX_UDP_PACKET_SIZE 65507 67#define MAX_UDP_PACKET_SIZE 65507
68 68
69
70/* Current time, unix format */
71#define unix_time() ((uint64_t)time(NULL))
72
73
69typedef union { 74typedef union {
70 uint8_t c[4]; 75 uint8_t c[4];
71 uint16_t s[2]; 76 uint16_t s[2];