Hi lingqiw, as I am understanding you want to know percentage of data
packet loss right, if this is the case, then you can use simple AWK code
e.g
BEGIN {
sendLine=0;
recvLine=0;
--
---
}
{
# CALCULATE PACKET DELIVERY FRACTION
if (( $1 == "s") &
Hi lingqiw as I am understanding you want to know percentage of data packet
loss right, if this is case then you can use simple AWK code e.g
BEGIN {
sendLine=0;
recvLine=0;
--
---
}
{
# CALCULATE PACKET DELIVERY FRACTION
if (( $1 == "s") && ( $3
Hello all,
I added a new protocol in NS-2, there I want to "divide
traffic of packets via node". How to do it ?
"Condition is like this I am checking buffer status of every node in primary
path,If a buffer status of node will be more than a threshold it will
declared congested, and
hello all I am adding a new protocol in NS2 and I have added some line in
ns-agent.tcl
"Agent/EHWMP instproc init args
{
$self next $args
}
Agent/EHWMP set sport_ 0
Agent/EHWMP set dport_ 0"
Now when I am typing ns it is giving following error.Could anyone help
me for this.
, ash..
When I am doing make getting error could anyone help to resolve it.
hwmp/hwmp.cc:90: error: overloaded function with no contextual type
information
the of code it where error coming is :
int HWMP::command(int argc, const char*const* argv) {
if(argc == 2)
{
Tcl& tcl = Tcl::instan
I want to check a buffer status of a node in wireless mesh routing
protocol, where a node periodically checks the occupancy of its
link-layer buffer. The status is determined based on the ratio
between the the number of packets currently buffered to the buffer
size. I am new in NS2 so could anyone
Hi all
I am attaching HWMP routing protocol of Wireless Mesh
Network code in NS2.33 but when I reinstall or make it
then it is giving error
hwmp/hwmp.cc: In member function ‘virtual int HWMP::command(int, const
char* const*)’:
hwmp/hwmp.cc:88: error: overloaded function with no contextu