Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2003 16:40:13 +0200
From:      Igor Pokrovsky <igor.pokrovsky@cnrm.meteo.fr>
To:        freebsd-hackers@freebsd.org
Subject:   Re: raw socket programming
Message-ID:  <20030707144013.GA664@exmatis1.cnrm.meteo.fr>
In-Reply-To: <20030707143026.GA6927@rbg.informatik.tu-darmstadt.de>
References:  <0193271C683D5844A478A359271B8F66147AD8@DC1.dynatec.com> <3F07860E.9060702@reversedhell.net> <20030707143026.GA6927@rbg.informatik.tu-darmstadt.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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