Define node capacity in ns-3.26

26 views
Skip to first unread message

nipa patani

unread,
Feb 18, 2017, 11:52:04 PM2/18/17
to ns-3-users
 I managed to count number of packets on a destination node.
But,Can you please suggest me about how to define node capacity. As i want to first set destination capacity on a receiver node, that allows only the packets under capacity to be received.

Here is my topology..

Thanks in advance..



/                        AP
//  *    *    *    *
//  |    |    |    |           10.1.1.0
// n5   n6   n7   n0 -------------- n1   n2   n3   n4
//                         point-to-point |      |      |      |
//                                              ================
//                                                 LAN 10.1.2.0

Tommaso Pecorella

unread,
Feb 24, 2017, 9:41:00 AM2/24/17
to ns-3-users, Natale Patriciello
Hi,

I think it could be possible by adding a new TrafficControl policy, e.g., a token bucket one, and using it in the receiving call chain.
Since I never really worked on this, I'll add Natale Patriciello to this discussion.

T.
Reply all
Reply to author
Forward
0 new messages