From: "Zheng Jianping" <zjp@iscas.ac.cn>
To: "Pekka Savola" <pekkas@netcore.fi>
Cc: <netdev@oss.sgi.com>
Subject: Re: how ipv6 support multicast routing
Date: Thu, 7 Nov 2002 15:34:22 +0800 [thread overview]
Message-ID: <007601c28630$176125b0$6c06a8c0@zhengjp> (raw)
In-Reply-To: Pine.LNX.4.44.0211070844230.8435-100000@netcore.fi
----- Original Message -----
From: "Pekka Savola" <pekkas@netcore.fi>
To: "Zheng Jianping" <zjp@iscas.ac.cn>
Cc: <netdev@oss.sgi.com>
Sent: Thursday, November 07, 2002 2:45 PM
Subject: Re: how ipv6 support multicast routing
> have you looked at ip6_input.c/ip6_output.c already? There's an
> (obsolete) ip6_mc_input function there, perhaps it might get you started.
> I recall usagi have made some minor modifications to it too, but I doubt
> it works.
Yes, I've looked at these files and did find ip6_mc_input function.
I add the following code to ip6_mc_input
#ifdef (CONFIG_IP6_MROUTE)
int addr_type;
addr_type = ipv6_addr_type(&hdr->daddr);
if (!(addr_type & (IPV6_ADDR_LOOPBACK | IPV6_ADDR_LINKLOCAL))) {
ip6_mr_input(skb); /*defined in my 'ip6_mroute.c'*/
}
#endif
But I don't knwo how to modify the functions in net/ip6/route.c, such as
ip6_route_input
ip6_route_output
and the funciton in net/ip6/ip6_output.c
ip6_output
> (I'd like to see PIM-SM work myself too.)
Is there somebody else doing the work of IPv6 multicast forwarding in Linux?
Thanks,
Zheng
prev parent reply other threads:[~2002-11-07 7:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-07 6:21 how ipv6 support multicast routing Zheng Jianping
2002-11-07 6:45 ` Pekka Savola
2002-11-07 7:34 ` Zheng Jianping [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='007601c28630$176125b0$6c06a8c0@zhengjp' \
--to=zjp@iscas.ac.cn \
--cc=netdev@oss.sgi.com \
--cc=pekkas@netcore.fi \
/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