This is the mail archive of the ecos-patches@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: PPP and CHAT patch


Ã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


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