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: 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
>