netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] IPv6 MIB:ipv6DefaultRouterTable
@ 2004-01-15 19:09 Shirley Ma
  2004-01-15 19:19 ` YOSHIFUJI Hideaki / 吉藤英明
  0 siblings, 1 reply; 14+ messages in thread
From: Shirley Ma @ 2004-01-15 19:09 UTC (permalink / raw)
  To: YOSHIFUJI Hideaki / 吉藤英明
  Cc: mashirle, davem, kuznet, netdev, yoshfuji

[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]





Agree.

But if no applications use this value, and nothing is boken. It's not
harmful to change the kernel to provide MIBs in as-is format.

Thanks
Shirley Ma
IBM Linux Technology Center
15300 SW Koll Parkway
Beaverton, OR 97006-6063
Phone: (503) 578-7638
FAX:      (503) 578-3228



YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@linux-ipv6.org>@cerberus.hongo.wide.ad.jp> on 01/15/2004 10:36:22
AM

Sent by:    "Hideaki YOSHIFUJI" <yoshfuji@cerberus.hongo.wide.ad.jp>


To:    Shirley Ma/Beaverton/IBM@IBMUS
cc:    mashirle@us.ltcfwd.linux.ibm.com, davem@redhat.com,
       kuznet@ms2.inr.ac.ru, netdev@oss.sgi.com, yoshfuji@linux-ipv6.org
Subject:    Re: [PATCH] IPv6 MIB:ipv6DefaultRouterTable


In article <OF87A9D639.F6A8D26B-ON88256E1C.0064AD99@us.ibm.com> (at Thu, 15
Jan 2004 10:26:21 -0800), Shirley Ma <xma@us.ibm.com> says:

> This is a bug fix for ipDefaultRouter Table. According to the new IP
MIBs,
> the DefaultRouterLifeTime(expire) entry in this table is unsigned 32. It
> measures the remaining length of time in seconds. If it's expire, the
value
> should be 0.

Kernel does not have to provide MIB in as-is format.

--yoshfuji


[-- Attachment #2: Type: text/html, Size: 1499 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: [PATCH] IPv6 MIB:ipv6DefaultRouterTable
@ 2004-01-15 19:59 Shirley Ma
  0 siblings, 0 replies; 14+ messages in thread
From: Shirley Ma @ 2004-01-15 19:59 UTC (permalink / raw)
  To: YOSHIFUJI Hideaki / 吉藤英明
  Cc: davem, mashirle, kuznet, netdev, yoshfuji

[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]





OK, I agree with both of you. Then this patch is not needed. Yoshifuji, you
can sleep in peace. ;-)

Thank you all!
Shirley Ma
IBM Linux Technology Center
15300 SW Koll Parkway
Beaverton, OR 97006-6063
Phone: (503) 578-7638
FAX:      (503) 578-3228



YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>@oss.sgi.com on
01/15/2004 11:53:41 AM

Sent by:    netdev-bounce@oss.sgi.com


To:    davem@redhat.com
cc:    Shirley Ma/Beaverton/IBM@IBMUS, mashirle@us.ltcfwd.linux.ibm.com,
       kuznet@ms2.inr.ac.ru, netdev@oss.sgi.com, yoshfuji@linux-ipv6.org
Subject:    Re: [PATCH] IPv6 MIB:ipv6DefaultRouterTable


In article <20040115113840.4b7eb5d8.davem@redhat.com> (at Thu, 15 Jan 2004
11:38:40 -0800), "David S. Miller" <davem@redhat.com> says:

> We can create new files to present information in new ways and formats,
> but I totally prefer using netlink based information gathering over
making
> new procfs files.

Although this discussion is about rtnetlink message,
problem will be solved if we provide jiffies for neigbours
IMHO.

--yoshfuji @ let me sleep...



[-- Attachment #2: Type: text/html, Size: 1435 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: [PATCH] IPv6 MIB:ipv6DefaultRouterTable
@ 2004-01-15 19:30 Shirley Ma
  2004-01-15 19:36 ` YOSHIFUJI Hideaki / 吉藤英明
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Shirley Ma @ 2004-01-15 19:30 UTC (permalink / raw)
  To: YOSHIFUJI Hideaki / 吉藤英明
  Cc: mashirle, davem, kuznet, netdev, yoshfuji

[-- Attachment #1: Type: text/plain, Size: 1360 bytes --]






Hi, Yoshifuji,

This rule would mean that any new kernel development *could* break
something somewhere else? ;-)

I don't see any application uses these values for now, so I change them.
It's good for kernel to provide the real MIBs information. If later on,
some applications start to use these values, they can get the correct
numbers without converting. Unless you can give me an broken example. :-)

Thanks
Shirley Ma
IBM Linux Technology Center
15300 SW Koll Parkway
Beaverton, OR 97006-6063
Phone: (503) 578-7638
FAX:      (503) 578-3228



YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@linux-ipv6.org>@cerberus.hongo.wide.ad.jp> on 01/15/2004 11:19:50
AM

Sent by:    "Hideaki YOSHIFUJI" <yoshfuji@cerberus.hongo.wide.ad.jp>


To:    Shirley Ma/Beaverton/IBM@IBMUS
cc:    mashirle@us.ltcfwd.linux.ibm.com, davem@redhat.com,
       kuznet@ms2.inr.ac.ru, netdev@oss.sgi.com, yoshfuji@linux-ipv6.org
Subject:    Re: [PATCH] IPv6 MIB:ipv6DefaultRouterTable


In article <OFC6D64AE0.CEE7DA5F-ON87256E1C.0068A56A@us.ibm.com> (at Thu, 15
Jan 2004 11:09:47 -0800), Shirley Ma <xma@us.ibm.com> says:

> But if no applications use this value, and nothing is boken. It's not
> harmful to change the kernel to provide MIBs in as-is format.

Shirley, nobody can prove that nothing will be broken. :-)

--yoshfuji


[-- Attachment #2: Type: text/html, Size: 1685 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: [PATCH] IPv6 MIB:ipv6DefaultRouterTable
@ 2004-01-15 18:26 Shirley Ma
  2004-01-15 18:36 ` YOSHIFUJI Hideaki / 吉藤英明
  0 siblings, 1 reply; 14+ messages in thread
From: Shirley Ma @ 2004-01-15 18:26 UTC (permalink / raw)
  To: YOSHIFUJI Hideaki / 吉藤英明
  Cc: mashirle, davem, kuznet, netdev

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]





This is a bug fix for ipDefaultRouter Table. According to the new IP MIBs,
the DefaultRouterLifeTime(expire) entry in this table is unsigned 32. It
measures the remaining length of time in seconds. If it's expire, the value
should be 0.

Thanks
Shirley Ma
IBM Linux Technology Center
15300 SW Koll Parkway
Beaverton, OR 97006-6063
Phone: (503) 578-7638
FAX:      (503) 578-3228



YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@linux-ipv6.org>@cerberus.hongo.wide.ad.jp> on 01/15/2004 01:03:15
AM

Sent by:    "Hideaki YOSHIFUJI" <yoshfuji@cerberus.hongo.wide.ad.jp>


To:    mashirle@us.ltcfwd.linux.ibm.com
cc:    davem@redhat.com, kuznet@ms2.inr.ac.ru, netdev@oss.sgi.com, Shirley
       Ma/Beaverton/IBM@IBMUS
Subject:    Re: [PATCH] IPv6 MIB:ipv6DefaultRouterTable


In article <200401141622.09299.mashirle@us.ibm.com> (at Wed, 14 Jan 2004
16:22:09 -0800), Shirley Ma <mashirle@us.ibm.com> says:

> This patch is agaist 2.6.1 kernel.

Wrong. Do not change user interface.

--yoshfuji


[-- Attachment #2: Type: text/html, Size: 1309 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* IPv6 MIB:ipv6PrefixTable implementation
@ 2003-11-20  0:21 Shirley Ma
  2003-12-05 21:51 ` [PATCH] IPv6 MIB:ipv6Prefix netlink notification Shirley Ma
  0 siblings, 1 reply; 14+ messages in thread
From: Shirley Ma @ 2003-11-20  0:21 UTC (permalink / raw)
  To: kuznet, netdev; +Cc: xma

Hi, Alexy,

A while ago, we had a discussion about IPv6 Prefix Table implementation. 
I agree with you it's not necessary to process offlink prefix.

In each ipv6PrefixTable, there are 9 objects, which are Ifindex, Type, Prefix, 
Length, Origin(addrconf, manually, dhcp, others), OnLinkFlag, AutonomoueFlag, 
AdvPreferredLiftTime and ValidLifeTime. 

As we know, the routing table has all on-link prefix routes. But only Prefix,
Length, Ifindex are saved in routing table, the rest objects info are not saved
anywhere.

One implementation detail question, do you think I need to save all the other 
Prefix Objects: Type, Origin(addrconf, manually, dhcp, others), OnLinkFlag, 
AutonomoueFlag, AdvPreferredLiftTime and ValidLifeTime in routing table also?
If so, sounds like I add a big structure in each prefix route entry in the routing table.

Thanks
Shirley Ma

IBM Linux Technology Center
=======================



List:     linux-netdev
Subject:  Re: [Issues] Implementation for IPv6 MIB:ipv6PrefixTable
From:     kuznet () ms2 ! inr ! ac ! ru
Date:     2003-10-24 17:59:27

Hello!

> First, do you think it's a good idea to save all prefix objects in routing
> table?

Those which are on-link, of course.


> Second, where is the best location for the off-link prefix, on-link flag 0
> prefix to be saved?

Do you really think off-link prefixes are to be saved? Prefix in use is onlink
by defintion, so just return 1 in these bit and ignore off-link prefixes
completely, they are meaningless, are not they?


> Third, do you think it's a good idea to implement a prefix table/per
> interface in the kernel?

Well, if SNMP is going to be used as a tool to snoop ndisc promiscuously
(which seems to be the case if it shows inforrmation about offlink prefixes),
then it is definitely not a kernel task.

Alexey

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-01-15 19:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-15 19:09 [PATCH] IPv6 MIB:ipv6DefaultRouterTable Shirley Ma
2004-01-15 19:19 ` YOSHIFUJI Hideaki / 吉藤英明
2004-01-15 19:37   ` David S. Miller
2004-01-15 19:47     ` YOSHIFUJI Hideaki / 吉藤英明
  -- strict thread matches above, loose matches on Subject: below --
2004-01-15 19:59 Shirley Ma
2004-01-15 19:30 Shirley Ma
2004-01-15 19:36 ` YOSHIFUJI Hideaki / 吉藤英明
2004-01-15 19:38 ` David S. Miller
2004-01-15 19:53   ` YOSHIFUJI Hideaki / 吉藤英明
2004-01-15 19:45 ` YOSHIFUJI Hideaki / 吉藤英明
2004-01-15 18:26 Shirley Ma
2004-01-15 18:36 ` YOSHIFUJI Hideaki / 吉藤英明
2003-11-20  0:21 IPv6 MIB:ipv6PrefixTable implementation Shirley Ma
2003-12-05 21:51 ` [PATCH] IPv6 MIB:ipv6Prefix netlink notification Shirley Ma
2003-12-05 22:57   ` David S. Miller
2004-01-15  0:22     ` [PATCH] IPv6 MIB:ipv6DefaultRouterTable Shirley Ma
2004-01-15  9:03       ` YOSHIFUJI Hideaki / 吉藤英明

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).