From: <prade@cs.sunysb.edu>
To: Hari Gadi <HGadi@ecutel.com>
Cc: Chris Friesen <cfriesen@nortelnetworks.com>,
<linux-kernel@vger.kernel.org>
Subject: RE: Trapping all Incoming Network Packets
Date: Mon, 18 Mar 2002 16:49:13 -0500 (EST) [thread overview]
Message-ID: <Pine.GSO.4.33.0203181646170.5841-100000@compserv3> (raw)
In-Reply-To: <AF2378CBE7016247BC0FD5261F1EEB210B6A8F@EXCHANGE01.domain.ecutel.com>
On Mon, 18 Mar 2002, Hari Gadi wrote:
> Hi,
> Is it possible to change the packet (add an extra ip header)
> and send it back to network bypassing the routing functionality.
> I want to do my own routing.( I add the hardware address of the destination machine)
In IP-IP encapsualtion, after adding the outer IP header, the ip_send
function is invoked. Instead for your purpose you can have your own
function and write your routing table lookup. You can check the
net/ipv4/ipip.c code
--pradipta
next prev parent reply other threads:[~2002-03-18 21:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-18 19:41 Trapping all Incoming Network Packets Hari Gadi
2002-03-18 21:49 ` prade [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-03-17 23:57 prade
2002-03-18 2:09 ` Bernd Eckenfels
2002-03-18 18:27 ` Robert Pfister
2002-03-18 18:40 ` prade
2002-03-18 19:15 ` Robert Pfister
2002-03-18 19:17 ` Chris Friesen
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=Pine.GSO.4.33.0203181646170.5841-100000@compserv3 \
--to=prade@cs.sunysb.edu \
--cc=HGadi@ecutel.com \
--cc=cfriesen@nortelnetworks.com \
--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;
as well as URLs for NNTP newsgroup(s).