Index: [Article Count Order] [Thread]

Date: Tue, 24 Mar 2009 16:53:43 +0900
From: Yukiyo Akisada <akisada@tahi.org>
Subject: [users:01138] Re: add a new testcase in IPv6 SelfTest_4-0-3 for RDNSS Option in Router  advertisement
To: Wei Yongjun <yjwei@cn.fujitsu.com>
Cc: users@tahi.org
Message-Id: <20090324165343.a1d7716a.akisada@tahi.org>
In-Reply-To: <49C880FA.30205@cn.fujitsu.com>
References: <1d360ec40903231209s1a9c9411na1d1fad361bcf60@mail.gmail.com>	<49C82FBD.10304@cn.fujitsu.com>	<20090324153412.e4975789.akisada@tahi.org>	<49C880FA.30205@cn.fujitsu.com>
X-Mail-Count: 01138

Hi, Wei.

Well, now I realized why you know us very well.
And thanks again, that is our pleasure.

Regards,

On Tue, 24 Mar 2009 14:43:06 +0800
Wei Yongjun <yjwei@cn.fujitsu.com> wrote:

> Yukiyo Akisada wrote:
> > Thanks, Wei.
> >
> > You are the great TAHI hacker!!
> >
> >   
> 
> Thanks^_^?
> 
> In fact I am working on v6eval for 5 years, and now testing SCTP/DCCP 
> protocols etc. used v6eval. V6eval is a very good test tool for network.
> 
> > On Tue, 24 Mar 2009 08:56:29 +0800
> > Wei Yongjun <yjwei@cn.fujitsu.com> wrote:
> >
> >   
> >> krit tripathi wrote:
> >>     
> >>> Hello Everyone,
> >>>
> >>> First i will say thanks to yjwei@cn.fujitsu.com 
> >>> <mailto:yjwei@cn.fujitsu.com> to provide us quick and valuable response .
> >>>
> >>> Trying to add a new testcase in IPv6 SelfTest_4-0-3 for RDNSS Option 
> >>> in Router advertisement .according to there direction --
> >>>
> >>> 1- I am able to make the changes in v6eval_3-0-12/lib/Pz/McICMPv6.cc , 
> >>> v6eval_3-0-12/lib/Pz/McICMPv6.h, v6eval_3-0-12/lib/Pz/McInit.cc  
> >>>
> >>> 2- Compiled the v6eval source using "make" without any error .
> >>>
> >>> 3-Then installed v6eval in usr/local/v6eval directory using the 
> >>> following commands "make install"
> >>>
> >>> 4-Hence v6eval engine side code is installed without any error .
> >>>
> >>>
> >>> Now Introducing a sample test case in SelfTest_4-0-3/addr.p2 such as - 
> >>> RDNSS Lifetime becomes zero .
> >>>
> >>> Hence based on the understanding, we would like to follow below approach
> >>>
> >>> 1- Added the test case in INDEX_P2_HOST such as --
> >>>
> >>>   &print:Test v6LC.3.2.4: RDNSS Option Processing (Hosts Only)
> >>>
> >>>   ./RA_wLT0.seq:RA_SAA.def:::Part H&#58; Valid Lifetime is zero:1
> >>>
> >>> 2-Added new seq file RA_wLT0.seq (Mapped to RA_wVLT0.seq in addr.p2 ) 
> >>> for new test case
> >>>
> >>>   and make the change in the frame RA_GA0_VLT0 --->RA_GA0_LT0
> >>>
> >>>   vSend($IF, RA_GA0_LT0);
> >>>
> >>> 3- Make the changes in RA_SAA.def such as -
> >>>
> >>>   3.1 - add the option in the RA
> >>>
> >>>   FEM_icmp6_ra (
> >>>   ra,
> >>>   _HETHER_tn2allnodes,
> >>>   {
> >>>   _SRC(tnv6());
> >>>   _DST(v6(_LLOCAL_ALLNODES_MCAST_ADDR));
> >>>   HopLimit=255;
> >>>   },
> >>>   {
> >>>   option=rdnss_ra;
> >>>
> >>>   }
> >>>
> >>>   3.2- Define the frame - RA_GA0_LT0 and add the option for Rdnss 
> >>> Lifetime zero
> >>>
> >>>   (but i am getting compilation Error whenever i am introducing 
> >>> option=RdnssOptGA0_LT0 in the frame)
> >>>
> >>>   FEM_ADDRCONF_ra(RA_GA0_VLT0, _HETHER_src2allnodes,
> >>>   _SRC(v6src());
> >>>   ,
> >>>   option=_SLLOPT_src;
> >>>   option=PrefixOptGA0_VLT0;
> >>>
> >>>   option=RdnssOptGA0_LT0;
> >>>
> >>>   )
> >>>
> >>>   3.3-Define RdnssOptGA0_LT0 such as --
> >>>
> >>>   _RDNSSOPT_define(RdnssOptGA0_LT0,
> >>>   Lifetime=0;
> >>>   Reserved=0;
> >>>   )
> >>>       
> >> Hi, the problem is here: _RDNSSOPT_define() macro is not defined!!!
> >>
> >> I change this to:
> >>
> >> Opt_ICMPv6_RDNSS RdnssOptGA0_LT0 {
> >>   Lifetime=0;
> >>   Reserved=0;
> >> }
> >> and it works will. the html output is like this:
> >>
> >>  | | | Opt_ICMPv6_RDNSS                (length:8)
> >>  | | | | Type                             = 25
> >>  | | | | Length                           = 1
> >>  | | | | Reserved                         = 0
> >>  | | | | Lifetime                         = 0
> >>
> >>
> >>     
> >>> 4- Make the same changes in SAA.def and v6LC_3_2_1_A.def
> >>>
> >>> Regards
> >>> kritesh tripathi
> >>>
> >>>       
> >>
> >>
> >>     
> >
> >
> >   
> 
> 
> 
> 


-- 
Yukiyo Akisada <akisada@tahi.org>