From: Andreas Steinmetz <ast@domdv.de>
To: Andreas Kinzler <akinzler@gmx.de>
Cc: linux-kernel@vger.kernel.org
Subject: RE: Injecting packets into the kernel
Date: Sat, 22 Dec 2001 17:54:51 +0100 (CET) [thread overview]
Message-ID: <XFMail.20011222175451.ast@domdv.de> (raw)
In-Reply-To: <20011222165020Z286821-18284+6166@vger.kernel.org>
You can use a raw socket:
socket(AF_INET,SOCK_RAW,IPPROTO_RAW);
On 22-Dec-2001 Andreas Kinzler wrote:
> I am trying to fix a problem in diald (demand dialing tool). The problem is
> that
> somewhen you need to resubmit IP packets to the kernel that were buffered
> while the
> link (PPP in most cases) was down. However, a bit of debugging showed that
> the method
> used in diald does not work. You cannot submit to ppp0 directly because of
> masq/forwaring
> issues. Can somebody give me some hints how to submit packets from a user
> mode programm.
>
> Andreas
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH
next prev parent reply other threads:[~2001-12-22 16:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-22 16:50 Injecting packets into the kernel Andreas Kinzler
2001-12-22 16:54 ` Andreas Steinmetz [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-12-22 18:26 Andreas Kinzler
2001-12-22 20:57 ` Jeff Dike
2001-12-22 20:22 Andreas Kinzler
2001-12-22 22:11 ` Jeff Dike
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=XFMail.20011222175451.ast@domdv.de \
--to=ast@domdv.de \
--cc=akinzler@gmx.de \
--cc=linux-kernel@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