Loading ttcn3/EtsiLibrary/LibIpv6/LibCommonRfcs/LibIpv6_CommonRfcs_Functions.ttcn +3 −4 Original line number Diff line number Diff line Loading @@ -20,14 +20,13 @@ group calcPrefixFns { function createIpAddresses( in Oct6to15 p_macAddr, function f_createIpAddresses( in Oct6to15 p_macAddr, in Oct16 /*Prefix*/ p_prefix,//Type changed so that NbrDsc moduel does not need to be imported in UInt8 p_prefixLen, out Ipv6Address p_lla, out Ipv6Address p_gla, out Ipv6Address p_solNodeMca, out Oct6to15 p_macSolNodeMca ) runs on LibIpv6Node return FncRetCode { var UInt8 i; const UInt8 c_uniIdLen := 64; Loading @@ -42,7 +41,7 @@ // var Ipv6Address v_gla := int2oct(0,16); if (p_prefixLen > 64) { log("Error"); log("**** f_createIpAddresses: Wrong prefixLen ****"); return e_error; } else { Loading Loading @@ -85,7 +84,7 @@ p_macSolNodeMca := '3333FF'O & v_rightPartMac; return e_success; }//end function createIpAddresses }//end function f_createIpAddresses /* * @desc Creates a prefix using p_address and p_prefixLength. The p_prefixLength Loading Loading
ttcn3/EtsiLibrary/LibIpv6/LibCommonRfcs/LibIpv6_CommonRfcs_Functions.ttcn +3 −4 Original line number Diff line number Diff line Loading @@ -20,14 +20,13 @@ group calcPrefixFns { function createIpAddresses( in Oct6to15 p_macAddr, function f_createIpAddresses( in Oct6to15 p_macAddr, in Oct16 /*Prefix*/ p_prefix,//Type changed so that NbrDsc moduel does not need to be imported in UInt8 p_prefixLen, out Ipv6Address p_lla, out Ipv6Address p_gla, out Ipv6Address p_solNodeMca, out Oct6to15 p_macSolNodeMca ) runs on LibIpv6Node return FncRetCode { var UInt8 i; const UInt8 c_uniIdLen := 64; Loading @@ -42,7 +41,7 @@ // var Ipv6Address v_gla := int2oct(0,16); if (p_prefixLen > 64) { log("Error"); log("**** f_createIpAddresses: Wrong prefixLen ****"); return e_error; } else { Loading Loading @@ -85,7 +84,7 @@ p_macSolNodeMca := '3333FF'O & v_rightPartMac; return e_success; }//end function createIpAddresses }//end function f_createIpAddresses /* * @desc Creates a prefix using p_address and p_prefixLength. The p_prefixLength Loading