Dear Experts I am working on the internet gateway discovery of mobile node in manet. Now the metric is based on hop count in case of gateway selection. For my thesis purpose i want incorporate bandwidth with hop count to select the gateway. So i need to know the current bandwidth of each mobile node on a path form gateway to mobile node to find the bandwidth of that path to the gateway.And also i need to know the number of udp connection a gateway is maintaining to the fixed node in the internet. Please help me by mentioning which .cc file in ns2 i should care and which function should i change to reflect the matter.
thanks in advance.