summaryrefslogtreecommitdiff
path: root/mactelnet.h
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-09-30 11:42:19 +0200
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-09-30 11:42:19 +0200
commitc56e309956da3d41420db1c5d41ccf245c594e45 (patch)
treebb28c944f9017024d4f83be74b3f82cd451b5d5e /mactelnet.h
parent87341fcc53b58d270528192607d3ce547abffa77 (diff)
downloadMAC-Telnet-c56e309956da3d41420db1c5d41ccf245c594e45.tar.gz
MAC-Telnet-c56e309956da3d41420db1c5d41ccf245c594e45.zip
Add a lot of comments to the code
Diffstat (limited to 'mactelnet.h')
-rw-r--r--mactelnet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mactelnet.h b/mactelnet.h
index d2af675..8275169 100644
--- a/mactelnet.h
+++ b/mactelnet.h
@@ -59,4 +59,7 @@ extern int addControlPacket(unsigned char *data, unsigned char cptype, void *cpd
extern void parsePacket(unsigned char *data, struct mt_mactelnet_hdr *pkthdr);
extern int parseControlPacket(unsigned char *data, const int data_len, struct mt_mactelnet_control_hdr *cpkthdr);
+/* Control packet magic header */
+extern unsigned char mt_mactelnet_cpmagic[4];
+
#endif