Compile Errors in Linux

From olav.kolbu@usit.uio.no Mon Sep 14 15:34:16 1998

  _All_ the members of the tcphdr and udphdr structs have
  different names under Linux compared to what's expected in the
  source.

Hey, you get what you pay for! :slight_smile:

/jordan

Hey, you get what you pay for! :slight_smile:

And you paid how much for BRO? :slight_smile:

At any rate, linux conventions should at least (or most, considering),
be #ifdef'd in. I'll help; it's way too popular to ignore..

            - chad

a better idea is: get a new version of the linux libc.
at least version 5.4.46 has standard tcp/ip structures
like BSD (struct tcphdr, struct ip).
you may have to define __BSD_SOURCE for 'struct ip'.

-markus