LEFT | RIGHT |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2010 Hemanth Narra, Yufei Cheng | 3 * Copyright (c) 2010 Hemanth Narra, Yufei Cheng |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 #include "dsdv-routing-protocol.h" | 33 #include "dsdv-routing-protocol.h" |
34 #include "ns3/log.h" | 34 #include "ns3/log.h" |
35 #include "ns3/inet-socket-address.h" | 35 #include "ns3/inet-socket-address.h" |
36 #include "ns3/trace-source-accessor.h" | 36 #include "ns3/trace-source-accessor.h" |
37 #include "ns3/udp-socket-factory.h" | 37 #include "ns3/udp-socket-factory.h" |
38 #include "ns3/wifi-net-device.h" | 38 #include "ns3/wifi-net-device.h" |
39 #include "ns3/boolean.h" | 39 #include "ns3/boolean.h" |
40 #include "ns3/double.h" | 40 #include "ns3/double.h" |
41 #include "ns3/uinteger.h" | 41 #include "ns3/uinteger.h" |
42 #include "ns3/string.h" | |
43 #include "ns3/pointer.h" | |
44 | 42 |
45 NS_LOG_COMPONENT_DEFINE ("DsdvRoutingProtocol"); | 43 NS_LOG_COMPONENT_DEFINE ("DsdvRoutingProtocol"); |
46 | 44 |
47 namespace ns3 { | 45 namespace ns3 { |
48 namespace dsdv { | 46 namespace dsdv { |
49 NS_OBJECT_ENSURE_REGISTERED (RoutingProtocol); | 47 NS_OBJECT_ENSURE_REGISTERED (RoutingProtocol); |
50 | 48 |
51 /// UDP Port for DSDV control traffic | 49 /// UDP Port for DSDV control traffic |
52 const uint32_t RoutingProtocol::DSDV_PORT = 269; | 50 const uint32_t RoutingProtocol::DSDV_PORT = 269; |
53 | 51 |
(...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1204 } | 1202 } |
1205 else | 1203 else |
1206 { | 1204 { |
1207 NS_LOG_DEBUG ("Event currently running. Cannot Merge Routing Table
s"); | 1205 NS_LOG_DEBUG ("Event currently running. Cannot Merge Routing Table
s"); |
1208 } | 1206 } |
1209 } | 1207 } |
1210 } | 1208 } |
1211 } | 1209 } |
1212 } | 1210 } |
1213 } | 1211 } |
LEFT | RIGHT |