From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 7 07:23:20 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0749F37B401 for ; Mon, 7 Jul 2003 07:23:20 -0700 (PDT) Received: from sccmmhc02.asp.att.net (sccmmhc02.asp.att.net [204.127.203.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 418F143F85 for ; Mon, 7 Jul 2003 07:23:19 -0700 (PDT) (envelope-from stephen@math.missouri.edu) Received: from math.missouri.edu (12-216-242-20.client.mchsi.com[12.216.242.20]) by sccmmhc02.asp.att.net (sccmmhc02) with SMTP id <20030707142318mm200nfvc2e>; Mon, 7 Jul 2003 14:23:18 +0000 Message-ID: <3F098255.9040906@math.missouri.edu> Date: Mon, 07 Jul 2003 09:23:17 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alin-Adrian Anton References: <0193271C683D5844A478A359271B8F66147AD8@DC1.dynatec.com> <3F07860E.9060702@reversedhell.net> In-Reply-To: <3F07860E.9060702@reversedhell.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Tom Servo cc: freebsd-hackers@freebsd.org Subject: Re: raw socket programming X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 14:23:20 -0000 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