raw socket programming

Igor Pokrovsky igor.pokrovsky at cnrm.meteo.fr
Mon Jul 7 07:43:06 PDT 2003


On Sun, Jul 06, 2003 at 05:14:38AM +0300, Alin-Adrian Anton wrote:
> Well, I don't wanna be idiot, perhaps I am too tired, but n_long appears 
> in ip.h defined as :
> 
> beast# grep ipt_time /usr/include/netinet/ip.h
>        union ipt_timestamp {
>                n_long  ipt_time[1];
>                        n_long ipt_time;
>        } ipt_timestamp;
> beast# grep ipt_time /usr/include/netinet/*
> /usr/include/netinet/ip.h:      union ipt_timestamp {
> /usr/include/netinet/ip.h:              n_long  ipt_time[1];
> /usr/include/netinet/ip.h:                      n_long ipt_time;
> /usr/include/netinet/ip.h:      } ipt_timestamp;

Try to
	#include <netinet/in_systm.h> 
before 
	#include <netinet/ip.h>.

-- 
Igor



More information about the freebsd-hackers mailing list