Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2005 05:41:00 +0800
From:      prime <guomingyan@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Problem about libnet on FreeBSD 6.0
Message-ID:  <1fa17f810512301341w5b98d554g6dcf950ab26f31bd@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi hackers,
   I find that I can't include <net/ethernet.h> when I programming
with libnet,because $(CC) complains that "struct ether_addr redefined".
But I need some definitions in <net/ethernet.h>,struct ether_header etc.
Currently,I just copy the definitions I need from <net/ethernet.h>,but
it seems very ugly.Any one has some good ideas?
   Thanks.

--
Three passions, simple but overwhelmingly strong, have governed my life:
the longing for love, the search for knowledge, and unbearable pity for
the suffering of mankind.
                         ---------Bertrand Russell



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1fa17f810512301341w5b98d554g6dcf950ab26f31bd>