mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: James Carlson <carlsonj@workingcode.com>
To: Kevin K <k_krieser@sbcglobal.net>
Cc: linux-ppp@vger.kernel.org,
	Linux-kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: sending raw packets via PPP
Date: Mon, 6 Aug 2007 19:30:05 -0400	[thread overview]
Message-ID: <18103.44797.529894.786033@gargle.gargle.HOWL> (raw)
In-Reply-To: Kevin K's message of 6 August 2007 17:45:39

Kevin K writes:
> Is it possible to send raw packets via ppp under Linux?
> 
> More specifically, in 2.4 series kernels such as RH's 2.4.21-47 kernel?
> 
> I've trying to modify the DHCP 3.0.1 code provided with RH 3 so I can  
> send requests via a PPP connection (standard RS-232), and it is just  
> being dropped by the stack according to ifconfig and debug statements  
> in ppp_generic.c.

I'm not sure what sort of "raw" packets you're talking about (IP raw
or something else), but you shouldn't need to send any raw packets to
do this.  DHCP runs over UDP, and, unlike Ethernet, there's no link
layer addressing to worry about.

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

  reply	other threads:[~2007-08-06 23:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-06 22:45 Kevin K
2007-08-06 23:30 ` James Carlson [this message]
2007-08-07  0:24   ` Kevin K
2007-08-07  0:32     ` Christopher Fowler
2007-08-07 10:33       ` James Carlson
2007-08-07  8:46     ` Matt Keenan
2007-08-07 10:30       ` James Carlson
2007-08-07 16:53         ` Kevin K
2007-08-19 23:46   ` Kevin K

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=18103.44797.529894.786033@gargle.gargle.HOWL \
    --to=carlsonj@workingcode.com \
    --cc=k_krieser@sbcglobal.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-ppp@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®