Index: [Article Count Order] [Thread]

Date: Tue, 24 Mar 2009 00:39:05 +0530
From: krit tripathi <tripathi.kritesh@gmail.com>
Subject: [users:01129] add a new testcase in IPv6 SelfTest_4-0-3 for RDNSS Option in Router 	advertisement
To: users@tahi.org
Cc: yjwei@cn.fujitsu.com
Message-Id: <1d360ec40903231209s1a9c9411na1d1fad361bcf60@mail.gmail.com>
X-Mail-Count: 01129

Hello Everyone,

First i will say thanks to 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;
  )

4- Make the same changes in SAA.def and v6LC_3_2_1_A.def

Regards
kritesh tripathi

	

1129_2.html (attatchment)(tag is disabled)