raw socket programming
Stephen Montgomery-Smith
stephen at math.missouri.edu
Mon Jul 7 07:23:20 PDT 2003
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 at math.missouri.edu
http://www.math.missouri.edu/~stephen
More information about the freebsd-hackers
mailing list