netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Masahide NAKAMURA <nakam@linux-ipv6.org>
To: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>,
	vnuorval@tcs.hut.fi, davem@redhat.com, kuznet@ms2.inr.ac.ru,
	netdev@oss.sgi.com, ajtuomin@morphine.tml.hut.fi,
	lpetande@morphine.tml.hut.fi, jagana@us.ibm.com,
	kumarkr@us.ibm.com
Cc: usagi-core@linux-ipv6.org
Subject: Re: [patch]: CONFIG_IPV6_SUBTREES fix for MIPv6
Date: Fri, 06 Jun 2003 14:38:49 +0900	[thread overview]
Message-ID: <20030606143844.0604c306.nakam@linux-ipv6.org> (raw)
In-Reply-To: <20030605.191224.68706097.yoshfuji@linux-ipv6.org>

Hello,
I'm Nakamura, a member of USAGI.

On Thu, 05 Jun 2003 19:12:24 +0900 (JST)
YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> wrote:

> Well, I won't hurry intorducing IPv6 policy routing just because of MIP6.
> The reason why I won't hurry is because I still believe it is not
> required for MIP6.  Nakamura, one of our member, will describe the details.
> It takes precedence over "limited" policy(?) routing to introcuce generic 
> policy routing.

As you know, we've been planning the MIPv6 design to use XFRM.
If we use MIPv6, we need some fix and extension to XFRM and it results to make XFRM
more generic.

On output processing, our design is like below:

  Through netlink/xfrm from userland, we have to set xfrm_policy and xfrm_state with
  something like ip command(or extended ip command).

  The xfrm_policy has two templates now:
  	- template handling Routing Header type 2(RT2)      ...(a)
  	- template handling Destination Options Header(DST) ...(b)

  And we have to add one address field(c) in xfrm_state for MIPv6.
  (Currently it is named mip6_state.addr.)

  Template-(a) finds a xfrm_state that points function like mip6_rthdr_output()
  to insert RT2 and replace dst address of IP header with specified address-(c).

  Also, template-(b) finds a xfrm_state that points function like mip6_destopt_output()
  to insert DST and replace src address of IP header with specified address-(c).

  Of course, both mip6_rthdr_output() and mip6_destopt_output() are callled as dst_output
  in XFRM world internally.

  For example, if two state is found, the packet will be append both RT2 and DST.
  We have tested that on our tree.

  In case of tunneling, We think we also make it to add a template and
  prepare a function for dst_output on XFRM world like above.
  (Maybe xfrm6_tunnel needs some fix to use MIPv6, as Henrik said.)

Could you give us comments?

BTW, I have read Henrik's patch(mip6-exthdr.patch) sent to netdev in other thread and I
feel that is simple code to implement MIPv6 and is clean one. Thanks, Henrik.
As he said, it is similar one to use XFRM like ours.
We know that the big difference between yours and ours is to modify either routing table or
XFRM.

Anyway, we'll show you our patch later.

Regards,

-- 
Masahide NAKAMURA

  reply	other threads:[~2003-06-06  5:38 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030424132559.GA15894@morphine.tml.hut.fi>
2003-05-30 14:34 ` [patch]: CONFIG_IPV6_SUBTREES fix for MIPv6 Ville Nuorvala
2003-05-30 15:00   ` [patch]: ipv6 tunnel " Ville Nuorvala
2003-05-30 15:38     ` YOSHIFUJI Hideaki / 吉藤英明
2003-06-04  4:38       ` David S. Miller
2003-06-04 14:30         ` Henrik Petander
2003-06-04 15:49           ` YOSHIFUJI Hideaki / 吉藤英明
2003-06-04 17:31             ` Henrik Petander
2003-06-05  8:36               ` Ville Nuorvala
2003-06-05 12:40             ` Ville Nuorvala
2003-06-04  4:34     ` David S. Miller
2003-06-04 12:40       ` Ville Nuorvala
2003-06-07 10:30         ` David S. Miller
2003-06-07 10:41           ` YOSHIFUJI Hideaki / 吉藤英明
2003-06-09 11:43           ` ipv6 tunnel patch (was: Re: [patch]: ipv6 tunnel for MIPv6) Ville Nuorvala
2003-06-09 14:55             ` ipv6 tunnel patch David S. Miller
2003-05-30 15:03   ` [patch]: CONFIG_IPV6_SUBTREES fix for MIPv6 YOSHIFUJI Hideaki / 吉藤英明
2003-05-30 20:38     ` Venkata Jagana
2003-06-03  6:35     ` Ville Nuorvala
2003-06-05 10:12     ` YOSHIFUJI Hideaki / 吉藤英明
2003-06-06  5:38       ` Masahide NAKAMURA [this message]
2003-06-06 11:14         ` Henrik Petander
2003-06-06 13:31           ` Masahide NAKAMURA
2003-06-09  9:06             ` Henrik Petander
2003-06-09 11:37               ` Masahide NAKAMURA
2003-06-10 15:25                 ` Henrik Petander
2003-06-10 15:40                   ` Masahide NAKAMURA
2003-06-10 16:56                     ` David S. Miller
2003-06-10 16:51                   ` David S. Miller
2003-06-11  8:48                     ` Henrik Petander
2003-06-12  3:20                       ` David S. Miller
2003-06-12  8:44                         ` Henrik Petander
2003-06-12  8:49                           ` David S. Miller
2003-06-13 11:26                           ` Masahide NAKAMURA
2003-06-13 14:27                             ` Henrik Petander
2003-06-06  8:48       ` Ville Nuorvala
2003-06-06 10:32         ` CONFIG_IPV6_SUBTREES (was [patch]: CONFIG_IPV6_SUBTREES fix for MIPv6) YOSHIFUJI Hideaki / 吉藤英明
2003-06-06 11:16           ` Ville Nuorvala

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=20030606143844.0604c306.nakam@linux-ipv6.org \
    --to=nakam@linux-ipv6.org \
    --cc=ajtuomin@morphine.tml.hut.fi \
    --cc=davem@redhat.com \
    --cc=jagana@us.ibm.com \
    --cc=kumarkr@us.ibm.com \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=lpetande@morphine.tml.hut.fi \
    --cc=netdev@oss.sgi.com \
    --cc=usagi-core@linux-ipv6.org \
    --cc=vnuorval@tcs.hut.fi \
    --cc=yoshfuji@linux-ipv6.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).