summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-09 20:54:00 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-09 20:54:00 -0700
commit068d311ecc7b52f1adaa894864afa54ef49a3e6e (patch)
treee62de1256cbc981f159c8b023ce1b6bbbc3f27cd /include
parent38200cc6a55c3b11502a78251c2bdf09960a2a03 (diff)
downloadinfinitytier-068d311ecc7b52f1adaa894864afa54ef49a3e6e.tar.gz
infinitytier-068d311ecc7b52f1adaa894864afa54ef49a3e6e.zip
TRACE compile fixes, other fixes, and it basically works! It says HELLO.
Diffstat (limited to 'include')
-rw-r--r--include/ZeroTierOne.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index 5441b180..4fa45780 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -614,6 +614,15 @@ typedef void ZT1_Node;
typedef int (*ZT1_VirtualNetworkConfigFunction)(ZT1_Node *,void *,uint64_t,enum ZT1_VirtualNetworkConfigOperation,const ZT1_VirtualNetworkConfig *);
/**
+ * Function to send a frame out to a virtual network port
+ *
+ * Parameters: (1) node, (2) user ptr, (3) network ID, (4) source MAC,
+ * (5) destination MAC, (6) ethertype, (7) VLAN ID, (8) frame data,
+ * (9) frame length.
+ */
+typedef void (*ZT1_VirtualNetworkFrameFunction)(ZT1_Node *,void *,uint64_t,uint64_t,uint64_t,unsigned int,unsigned int,const void *,unsigned int);
+
+/**
* Callback for events
*
* Events are generated when the node's status changes in a significant way
@@ -676,15 +685,6 @@ typedef int (*ZT1_DataStorePutFunction)(ZT1_Node *,void *,const char *,const voi
*/
typedef int (*ZT1_WirePacketSendFunction)(ZT1_Node *,void *,const struct sockaddr_storage *,unsigned int,const void *,unsigned int);
-/**
- * Function to send a frame out to a virtual network port
- *
- * Parameters: (1) node, (2) user ptr, (3) network ID, (4) source MAC,
- * (5) destination MAC, (6) ethertype, (7) VLAN ID, (8) frame data,
- * (9) frame length.
- */
-typedef void (*ZT1_VirtualNetworkFrameFunction)(ZT1_Node *,void *,uint64_t,uint64_t,uint64_t,unsigned int,unsigned int,const void *,unsigned int);
-
/****************************************************************************/
/* C Node API */
/****************************************************************************/