diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-12-25 23:08:49 +0100 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-12-25 23:08:49 +0100 |
commit | 25476c74e2fe93163e50f41a0dc15b3088c6f65f (patch) | |
tree | e01713d18bbbda9fa8a7216c5ec9761c960d62fe /protocol.c | |
parent | 8e2e73c7d861595f7e9a94eb4d7faf60addc0a2d (diff) | |
download | MAC-Telnet-25476c74e2fe93163e50f41a0dc15b3088c6f65f.tar.gz MAC-Telnet-25476c74e2fe93163e50f41a0dc15b3088c6f65f.zip |
Moved global protocol info to protocol header, where it belongs
Diffstat (limited to 'protocol.c')
-rw-r--r-- | protocol.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -28,10 +28,6 @@ #include "protocol.h" #include "config.h" -unsigned char mt_mactelnet_cpmagic[4] = { 0x56, 0x34, 0x12, 0xff }; -unsigned char mt_mactelnet_clienttype[2] = { 0x00, 0x15 }; -int retransmit_intervals[MAX_RETRANSMIT_INTERVALS] = { 15, 20, 30, 50, 90, 170, 330, 660, 1000 }; - int init_packet(struct mt_packet *packet, enum mt_ptype ptype, unsigned char *srcmac, unsigned char *dstmac, unsigned short sessionkey, unsigned int counter) { unsigned char *data = packet->data; |