Thread (52 messages) 52 messages, 4 authors, 2003-09-20

Re: [PATCH 1/4] Prefix List against 2.5.73

From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2003-07-16 08:39:26

Hello.

In article [ref] (at Wed, 16 Jul 2003 04:21:33 +0400 (MSD)), kuznet@ms2.inr.ac.ru says:
Select yourself: either IFA_IFFLAGS or translated flags in ifa_flags.
I prefer the second way just because it is too unpleasant to add
a new attribute for sake of two bits with no visible candidates
to use remaining ones.
Well, I dislike ifa_flags because 
 - it is conceptually wrong to combine them.
   e.g. even if all autoconf addresses expired, flags lasts and 
   we should report it to userspace.
 - ifa_flags is extremely expensive resource.
   There are only 8 bits. Use it only for addresses.

My suggestion is:
 - create L3 per-interface RTM, say, RTM_xxxIFACE.
 - provide inet_device / inet6_dev things via this RTM.
    e.g. per-interface statistics, flags etc.

-- 
Hideaki YOSHIFUJI @ USAGI Project [off-list ref]
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help