diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2011-11-12 04:53:12 +0100 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2011-11-12 04:53:12 +0100 |
commit | 94ac14d2765051a8992c3a822547bc09260492df (patch) | |
tree | 53774d06d9c482c1b56fd7539ae48c7ac81f8775 /protocol.h | |
parent | 904d05c3d9dec35bad0413f933ea690868a09f4f (diff) | |
download | MAC-Telnet-94ac14d2765051a8992c3a822547bc09260492df.tar.gz MAC-Telnet-94ac14d2765051a8992c3a822547bc09260492df.zip |
Rewrote the interface handling. Added full support for kFreeBSD, have not tested with FreeBSD.
Diffstat (limited to 'protocol.h')
-rw-r--r-- | protocol.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -33,6 +33,13 @@ #define MT_MNDP_TIMEOUT 5 #define MT_MNDP_LONGTIMEOUT 120 +#ifndef ETH_ALEN +#define ETH_ALEN 6 +#endif +#ifndef IPV4_ALEN +#define IPV4_ALEN 4 +#endif + /* Packet type */ enum mt_ptype { MT_PTYPE_SESSIONSTART, |