This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: PPP and CHAT patch
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: Ãyvind Harboe <oyvind dot harboe at zylin dot com>
- Cc: ecos-patches at sources dot redhat dot com
- Date: 28 Jul 2004 10:21:30 +0100
- Subject: Re: PPP and CHAT patch
- References: <1091001946.11150.ezmlm@sources.redhat.com><1091002610.3270.18.camel@famine>
Ãyvind Harboe <oyvind.harboe@zylin.com> writes:
> > I've checked most of this in as it stands. I have, however, omitted
> > the cyg_ppp_get_local_addr() and cyg_ppp_get_peer_addr()
> > functions. These don't currently compile, also they really need to be
> > added to the documentation if they are to be included. I also think
> > that this functionality is already present through various IOCTLs, ans
> > would rather see those used rather than adding new interfaces.
>
> I tried to figure out what IOCTL's to use and failed :-)
>
> If someone could post an example or reference, it would be greatly
> appreciated.
I have not tried it but I would expect SIOCGIFADDR and SIOCGIFDSTADDR
to do the trick.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts