From: Harry Kalogirou <harkal@gmx.net>
To: Pooja Nagpal <pooja_nagpal_is@yahoo.com>
Cc: Linux-8086 <linux-8086@vger.kernel.org>
Subject: Re: PPP
Date: 23 Oct 2002 15:18:50 +0300 [thread overview]
Message-ID: <1035375369.2229.51.camel@cool> (raw)
In-Reply-To: <20021022161733.2170.qmail@web14702.mail.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 1491 bytes --]
> Hi!
>
> Sorry for the slow replies!
>
> I had something like interrupts(like Blaz Antonic suggested) in mind instead of polling.
>
> I was also wondering what would happen if packets came in faster than we can process. Will i lose
> the packets.When I tested the PPP code in Linux before trying it on ELKS, I somehow seemed to be
> getting empty frames etc. The same code when complied for ELKS worked fine. I am not sure what the
> problem was.
>
> I don't think the options negotiated in the LCP are 'do and forget'. I think the link properties
> need to stored. pppd could just negotiate options, store and exit. The network layer specific NCP
> could then take over but I am not sure where it goes. If its in the kernel, how should i go about
> it?
>
> Thanks,
> Pooja
>
I just had a glance to the PPP rfc and it seems that in order to have a
functional PPP, LCP NCP packets should be interpretted all times. The
straightforward way of doing it is to have a pppd demon reading the
packets from the serial line doing the processing and passing it to the
above layer. For ipv4 in ELKS this means passing them to the ktcp demon.
This passing is that conserns me. This will probably be done throught a
UNIX socket. So for a process to get it's data we need many many task
switches and data copying(kernel -> pppd -> kernel -> ktcp -> kernel ->
process). So it is probably better for the PPP code and ipv6 code to be
added in ktcp.
Harry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 232 bytes --]
prev parent reply other threads:[~2002-10-23 12:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-22 16:17 PPP Pooja Nagpal
2002-10-23 12:18 ` Harry Kalogirou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1035375369.2229.51.camel@cool \
--to=harkal@gmx.net \
--cc=linux-8086@vger.kernel.org \
--cc=pooja_nagpal_is@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox