[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] ns_addr_t ?
Look at config.h for ns_addr_t.
Nader
Anis Koubaa writes:
> Hi ns users,
> I want to assing a value to the ip parameter of IP header (dst_) but he
> generate a compiler error .my declaration is the following :
> /****************************************************/
> hdr_ip* hdrip = (hdr_ip*)pkt->access(off_ip_);
>
> hdrip->dst_ = atoi(argv[2])
> /*****************************************************/
> he generate the following error
> /**************************************/
> no match for `ns_addr_t & = int'
> /**************************************/
> How can I do That?
> Thank you
> --
> --------------------------------------------------------------------------
> Cordialement
>
> Koubaa Anis
> Organization : LORIA Nancy
> Equipe : RESEDAS
> Adresse : CU Haute Malgrange Vandeoeuvre Nancy Bloc C 528
> Mail : akoubaa@loria.fr
> Projet : Comparaison des Protocoles de cl�s de distribution de cl� de
> groupe en utilisant NS
> --------------------------------------------------------------------------