From 94ac14d2765051a8992c3a822547bc09260492df Mon Sep 17 00:00:00 2001 From: Håkon Nessjøen Date: Sat, 12 Nov 2011 04:53:12 +0100 Subject: Rewrote the interface handling. Added full support for kFreeBSD, have not tested with FreeBSD. --- protocol.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'protocol.h') diff --git a/protocol.h b/protocol.h index a450b2b..11c9aca 100644 --- a/protocol.h +++ b/protocol.h @@ -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, -- cgit v1.2.3