Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jul 2003 09:23:17 -0500
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        Alin-Adrian Anton <aanton@reversedhell.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: raw socket programming
Message-ID:  <3F098255.9040906@math.missouri.edu>
In-Reply-To: <3F07860E.9060702@reversedhell.net>
References:  <0193271C683D5844A478A359271B8F66147AD8@DC1.dynatec.com> <3F07860E.9060702@reversedhell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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;
> beast#
> 
> And, I simply don't find where ipt_time is defined ! I suppose it is 
> structure, perhaps it is of type ipt_timestamp, *g*.
> And yes, those are all the files I include, nothing more, nothing less.
> 
> Alin.
> 

I did

grep -R ipt_time /usr/include

and got exactly the same output as you have above.  It looks like ipt_time is 
not defined anywhere.  It looks to me like netinet/ip.h is broken.

What is it that you need netinet/ip.h for?  Maybe there are some other include 
files that would work just as well.



-- 
Stephen Montgomery-Smith
stephen@math.missouri.edu
http://www.math.missouri.edu/~stephen



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