This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Where is arpcom??? how to add this header file


I don't know :)
if I make a configuration with the net tmplate it builds just fine for me.
I use the latest CVS snapshot.

> Thanks Jani.
> But what should I enable to add this header file
> net/tcpip/current/include/netinet/if_ether.h
> I have selected networking and it is building TCP/IP stack
> why is it not referring to that file instead.
> 
> Thanks
> With regards
> Khasim
> 
> ----- Original Message -----
> From: "Jani Monoses" <jani@iv.ro>
> To: "Khasim" <khasim@iwavesystems.com>
> Cc: <gary@chez-thomas.org>; <ecos-discuss@sources.redhat.com>;
> <ganesan@iwavesystems.com>
> Sent: Thursday, July 11, 2002 9:52 PM
> Subject: Re: [ECOS] Problem in DHCP requests Where is arpcom???
> 
> 
> > that arpcom you mention in eth_drv is surrounded by ifndef CYGPKG_NET
> > so it's not compiled if you use the NET package.
> >
> > struct arpcom is defined by the TCP stacks in
> > net/bsd_tcpip/current/include/net/if_arp.h
> > and
> > net/tcpip/current/include/netinet/if_ether.h
> > depending which *BSD stack you use.
> >
> >
> > > Hi Gary Thanks
> > > one more question I have The arpcom structure in eth_drv.h shown below
> > > struct arpcom {
> > >
> > > unsigned char esa[6];
> > >
> > > };
> > >
> > > but in the eth_drv_init function it is referring
> > > ac_if, ac_enaddr ,etc
> > > where is this structure I didnt find it.
> > > Is my structure incomplete.
> > >
> > > Thanks
> > > With regards
> > > Khasim
> > >
> > > ----- Original Message -----
> > > From: "Gary Thomas" <gary@chez-thomas.org>
> > > To: "Khasim" <khasim@iwavesystems.com>
> > > Cc: "eCos Discussion" <ecos-discuss@sources.redhat.com>
> > > Sent: Thursday, July 11, 2002 5:58 PM
> > > Subject: Re: [ECOS] Problem in DHCP requests
> > >
> > >
> > > > On Thu, 2002-07-11 at 06:05, Khasim wrote:
> > > > > Greetings
> > > > >
> > > > > I am building kernel + networking along with DHCP support.
> > > > > Usually in other OS's the DHCP requests will be sent when the kernel
> > > comes
> > > > > up which will use fec_send to send the packet out.
> > > > > I am not finding any such requests coming  to fec_send function.
> > > > > In cyg_start there is cyg_package_start should there be any code for
> > > this
> > > > > package? Currently there is only blr.
> > > > > How should I start the DHCP when kernel comes up.
> > > >
> > > > note: this is an embedded OS - nothing happens outside your control!
> > > >
> > > > You have to call 'init_all_network_interfaces()' [or it's equivalent]
> > > > for the network to be initialized, which in turn will run DHCP.
> > > >
> > > >
> > >
> > >
> > > --
> > > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> > > and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> > >
> >
> > --
> > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> > and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> >
> >
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]