On Fri, Apr 08, 2011 at 01:29:58PM -0400, Aaron M. Ucko wrote:
> In addition (I know this should be a separate report, but I'm lazy ;-),
> I see that the kFreeBSD builds fail before even attempting to build
> documentation because struct udphdr and struct tcphdr aren't as expected:

The code defines the respective maros on Linux:

#ifdef __linux__
#define uh_dport dest
#define uh_sport source
#define th_off doff
#define th_dport dest
#define th_sport source
#define th_seq seq
#define TCPFLAGFIN(a) (a)->fin
#define TCPFLAGSYN(a) (a)->syn
#define TCPFLAGRST(a) (a)->rst
#else
#define TCPFLAGSYN(a) ((a)->th_flags&TH_SYN)
#define TCPFLAGFIN(a) ((a)->th_flags&TH_FIN)
#define TCPFLAGRST(a) ((a)->th_flags&TH_RST)
#endif

Are these defines appropriate on kFreeBSD as well? Does kFreeBSD
define a macro that dsc's code could trigger on? Are you in a position
to test whether patched code would actually run?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to