View | Details | Raw Unified | Return to bug 1203
Collapse All | Expand All

(-)a/src/aodv/helper/aodv-helper.h (-3 / +5 lines)
 Lines 17-24    Link Here 
17
 *
17
 *
18
 * Authors: Pavel Boyko <boyko@iitp.ru>, written after OlsrHelper by Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
18
 * Authors: Pavel Boyko <boyko@iitp.ru>, written after OlsrHelper by Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
19
 */
19
 */
20
#ifndef AODVHELPER_H_
20
21
#define AODVHELPER_H_
21
#ifndef AODV_HELPER_H
22
#define AODV_HELPER_H
22
23
23
#include "ns3/object-factory.h"
24
#include "ns3/object-factory.h"
24
#include "ns3/node.h"
25
#include "ns3/node.h"
 Lines 67-70    Link Here 
67
};
68
};
68
69
69
}
70
}
70
#endif /* AODVHELPER_H_ */
71
72
#endif /* AODV_HELPER_H */
(-)a/src/aodv/model/aodv-dpd.h (-3 / +3 lines)
 Lines 20-27    Link Here 
20
 *          Pavel Boyko <boyko@iitp.ru>
20
 *          Pavel Boyko <boyko@iitp.ru>
21
 */
21
 */
22
22
23
#ifndef DUPLICATEPACKETDETECTION_H_
23
#ifndef AODV_DPD_H
24
#define DUPLICATEPACKETDETECTION_H_
24
#define AODV_DPD_H
25
25
26
#include "aodv-id-cache.h"
26
#include "aodv-id-cache.h"
27
#include "ns3/nstime.h"
27
#include "ns3/nstime.h"
 Lines 59-62    Link Here 
59
}
59
}
60
}
60
}
61
61
62
#endif
62
#endif /* AODV_DPD_H */
(-)a/src/aodv/model/aodv-id-cache.h (-3 / +3 lines)
 Lines 26-33    Link Here 
26
 *          Pavel Boyko <boyko@iitp.ru>
26
 *          Pavel Boyko <boyko@iitp.ru>
27
 */
27
 */
28
28
29
#ifndef IDCACHE_H_
29
#ifndef AODV_ID_CACHE_H
30
#define IDCACHE_H_
30
#define AODV_ID_CACHE_H
31
31
32
#include "ns3/ipv4-address.h"
32
#include "ns3/ipv4-address.h"
33
#include "ns3/simulator.h"
33
#include "ns3/simulator.h"
 Lines 83-86    Link Here 
83
83
84
}
84
}
85
}
85
}
86
#endif /* IDCACHE_H_ */
86
#endif /* AODV_ID_CACHE_H */
(-)a/src/aodv/test/aodv-regression.h (-3 / +4 lines)
 Lines 18-25    Link Here 
18
 * Authors: Pavel Boyko <boyko@iitp.ru>
18
 * Authors: Pavel Boyko <boyko@iitp.ru>
19
 */
19
 */
20
20
21
#ifndef AODVREGRESSION_H_
21
#ifndef AODV_REGRESSION_H
22
#define AODVREGRESSION_H_
22
#define AODV_REGRESSION_H
23
23
24
#include "ns3/test.h"
24
#include "ns3/test.h"
25
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
 Lines 191-194    Link Here 
191
191
192
}
192
}
193
}
193
}
194
#endif /* AODVREGRESSION_H_ */
194
195
#endif /* AODV_REGRESSION_H */
(-)a/src/aodv/test/bug-772.h (-3 / +4 lines)
 Lines 18-25    Link Here 
18
 * Authors: Pavel Boyko <boyko@iitp.ru>
18
 * Authors: Pavel Boyko <boyko@iitp.ru>
19
 */
19
 */
20
20
21
#ifndef BUG702TEST_H_
21
#ifndef BUG_772_H
22
#define BUG702TEST_H_
22
#define BUG_772_H
23
23
24
#include "ns3/test.h"
24
#include "ns3/test.h"
25
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
 Lines 76-79    Link Here 
76
76
77
}
77
}
78
}
78
}
79
#endif /* BUG702TEST_H_ */
79
80
#endif /* BUG_772_H */
(-)a/src/aodv/test/loopback.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Authors: Pavel Boyko <boyko@iitp.ru>
18
 * Authors: Pavel Boyko <boyko@iitp.ru>
19
 */
19
 */
20
20
21
#ifndef LOOPBACK_H_
21
#ifndef AODV_LOOPBACK_H
22
#define LOOPBACK_H_
22
#define AODV_LOOPBACK_H
23
#include "ns3/test.h"
23
#include "ns3/test.h"
24
#include <string>
24
#include <string>
25
25
 Lines 42-45    Link Here 
42
}
42
}
43
}
43
}
44
44
45
#endif /* LOOPBACK_H_ */
45
#endif /* AODV_LOOPBACK_H */
(-)a/src/applications/model/bulk-send-application.h (-4 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: George F. Riley <riley@ece.gatech.edu>
18
 * Author: George F. Riley <riley@ece.gatech.edu>
19
 */
19
 */
20
20
21
#ifndef __bulksend_application_h__
21
#ifndef BULK_SEND_APPLICATION_H
22
#define __bulksend_application_h__
22
#define BULK_SEND_APPLICATION_H
23
23
24
#include "ns3/address.h"
24
#include "ns3/address.h"
25
#include "ns3/application.h"
25
#include "ns3/application.h"
 Lines 103-107    Link Here 
103
103
104
} // namespace ns3
104
} // namespace ns3
105
105
106
#endif
106
#endif /* BULK_SEND_APPLICATION_H */
107
(-)a/src/applications/model/onoff-application.h (-4 / +3 lines)
 Lines 22-29    Link Here 
22
// George F. Riley, Georgia Tech, Spring 2007
22
// George F. Riley, Georgia Tech, Spring 2007
23
// Adapted from ApplicationOnOff in GTNetS.
23
// Adapted from ApplicationOnOff in GTNetS.
24
24
25
#ifndef __onoff_application_h__
25
#ifndef ONOFF_APPLICATION_H
26
#define __onoff_application_h__
26
#define ONOFF_APPLICATION_H
27
27
28
#include "ns3/address.h"
28
#include "ns3/address.h"
29
#include "ns3/application.h"
29
#include "ns3/application.h"
 Lines 158-162    Link Here 
158
158
159
} // namespace ns3
159
} // namespace ns3
160
160
161
#endif
161
#endif /* ONOFF_APPLICATION_H */
162
(-)a/src/applications/model/packet-loss-counter.h (-3 / +3 lines)
 Lines 19-27    Link Here 
19
 *                      <amine.ismail@udcast.com>
19
 *                      <amine.ismail@udcast.com>
20
 *
20
 *
21
 */
21
 */
22
#ifndef _PACKET_LOSS_COUNTER_H_
23
#define _PACKET_LOSS_COUNTER_H_
24
22
23
#ifndef PACKET_LOSS_COUNTER_H
24
#define PACKET_LOSS_COUNTER_H
25
25
26
#include "ns3/application.h"
26
#include "ns3/application.h"
27
#include "ns3/event-id.h"
27
#include "ns3/event-id.h"
 Lines 53-56    Link Here 
53
};
53
};
54
}
54
}
55
55
56
#endif /* PACKETLOSSCOUNTER_H_ */
56
#endif /* PACKET_LOSS_COUNTER_H */
(-)a/src/applications/model/packet-sink.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author:  Tom Henderson (tomhend@u.washington.edu)
18
 * Author:  Tom Henderson (tomhend@u.washington.edu)
19
 */
19
 */
20
20
21
#ifndef __packet_sink_h__
21
#ifndef PACKET_SINK_H
22
#define __packet_sink_h__
22
#define PACKET_SINK_H
23
23
24
#include "ns3/application.h"
24
#include "ns3/application.h"
25
#include "ns3/event-id.h"
25
#include "ns3/event-id.h"
 Lines 114-118    Link Here 
114
114
115
} // namespace ns3
115
} // namespace ns3
116
116
117
#endif
117
#endif /* PACKET_SINK_H */
118
118
(-)a/src/applications/model/udp-client.h (-3 / +3 lines)
 Lines 20-27    Link Here 
20
 *
20
 *
21
 */
21
 */
22
22
23
#ifndef __UDP_CLIENT_H__
23
#ifndef UDP_CLIENT_H
24
#define __UDP_CLIENT_H__
24
#define UDP_CLIENT_H
25
25
26
#include "ns3/application.h"
26
#include "ns3/application.h"
27
#include "ns3/event-id.h"
27
#include "ns3/event-id.h"
 Lines 82-85    Link Here 
82
82
83
} // namespace ns3
83
} // namespace ns3
84
84
85
#endif // __UDP_CLIENT_H__
85
#endif /* UDP_CLIENT_H */
(-)a/src/applications/model/udp-echo-client.h (-4 / +3 lines)
 Lines 16-23    Link Here 
16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
 */
17
 */
18
18
19
#ifndef __UDP_ECHO_CLIENT_H__
19
#ifndef UDP_ECHO_CLIENT_H
20
#define __UDP_ECHO_CLIENT_H__
20
#define UDP_ECHO_CLIENT_H
21
21
22
#include "ns3/application.h"
22
#include "ns3/application.h"
23
#include "ns3/event-id.h"
23
#include "ns3/event-id.h"
 Lines 151-155    Link Here 
151
151
152
} // namespace ns3
152
} // namespace ns3
153
153
154
#endif // __UDP_ECHO_CLIENT_H__
154
#endif /* UDP_ECHO_CLIENT_H */
155
(-)a/src/applications/model/udp-echo-server.h (-3 / +3 lines)
 Lines 16-23    Link Here 
16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
 */
17
 */
18
18
19
#ifndef __UDP_ECHO_SERVER_H__
19
#ifndef UDP_ECHO_SERVER_H
20
#define __UDP_ECHO_SERVER_H__
20
#define UDP_ECHO_SERVER_H
21
21
22
#include "ns3/application.h"
22
#include "ns3/application.h"
23
#include "ns3/event-id.h"
23
#include "ns3/event-id.h"
 Lines 64-68    Link Here 
64
64
65
} // namespace ns3
65
} // namespace ns3
66
66
67
#endif // __UDP_ECHO_SERVER_H__
67
#endif /* UDP_ECHO_SERVER_H */
68
68
(-)a/src/applications/model/udp-server.h (-3 / +3 lines)
 Lines 20-27    Link Here 
20
 *
20
 *
21
 */
21
 */
22
22
23
#ifndef __UDP_SERVER_H__
23
#ifndef UDP_SERVER_H
24
#define __UDP_SERVER_H__
24
#define UDP_SERVER_H
25
25
26
#include "ns3/application.h"
26
#include "ns3/application.h"
27
#include "ns3/event-id.h"
27
#include "ns3/event-id.h"
 Lines 91-94    Link Here 
91
91
92
} // namespace ns3
92
} // namespace ns3
93
93
94
#endif // __UDP_SERVER_H__
94
#endif /* UDP_SERVER_H */
(-)a/src/applications/model/udp-trace-client.h (-3 / +4 lines)
 Lines 19-32    Link Here 
19
 *                              <amine.ismail@udcast.com>
19
 *                              <amine.ismail@udcast.com>
20
 */
20
 */
21
21
22
#ifndef __UDP_TRACE_CLIENT__
22
#ifndef UDP_TRACE_CLIENT_H
23
#define __UDP_TRACE_CLIENT__
23
#define UDP_TRACE_CLIENT_H
24
24
25
#include "ns3/application.h"
25
#include "ns3/application.h"
26
#include "ns3/event-id.h"
26
#include "ns3/event-id.h"
27
#include "ns3/ptr.h"
27
#include "ns3/ptr.h"
28
#include "ns3/ipv4-address.h"
28
#include "ns3/ipv4-address.h"
29
#include <vector>
29
#include <vector>
30
30
namespace ns3 {
31
namespace ns3 {
31
32
32
class Socket;
33
class Socket;
 Lines 132-135    Link Here 
132
133
133
} // namespace ns3
134
} // namespace ns3
134
135
135
#endif // __UDP_TRACE_CLIENT__
136
#endif /* UDP_TRACE_CLIENT_H */
(-)a/src/click/helper/click-internet-stack-helper.h (-1 / +1 lines)
 Lines 228-231    Link Here 
228
228
229
#endif /* CLICK_INTERNET_STACK_HELPER_H */
229
#endif /* CLICK_INTERNET_STACK_HELPER_H */
230
230
231
#endif // NS3_CLICK
231
#endif /* NS3_CLICK */
(-)a/src/click/model/ipv4-click-routing.h (-4 / +4 lines)
 Lines 18-25    Link Here 
18
 * Authors: Lalith Suresh <suresh.lalith@gmail.com>
18
 * Authors: Lalith Suresh <suresh.lalith@gmail.com>
19
 */
19
 */
20
20
21
#ifndef __IPV4_CLICK_ROUTING_H__
21
#ifndef IPV4_CLICK_ROUTING_H
22
#define __IPV4_CLICK_ROUTING_H__
22
#define IPV4_CLICK_ROUTING_H
23
23
24
#include "ns3/object.h"
24
#include "ns3/object.h"
25
#include "ns3/packet.h"
25
#include "ns3/packet.h"
 Lines 242-250    Link Here 
242
  bool m_nonDefaultName;
242
  bool m_nonDefaultName;
243
243
244
  Ptr<Ipv4> m_ipv4;
244
  Ptr<Ipv4> m_ipv4;
245
#endif // NS3_CLICK
245
#endif /* NS3_CLICK */
246
};
246
};
247
247
248
} // namespace ns3
248
} // namespace ns3
249
249
250
#endif // __IPV4_CLICK_ROUTING_H__
250
#endif /* IPV4_CLICK_ROUTING_H */
(-)a/src/click/model/ipv4-l3-click-protocol.h (-2 / +2 lines)
 Lines 262-270    Link Here 
262
262
263
  std::vector<bool> m_promiscDeviceList;
263
  std::vector<bool> m_promiscDeviceList;
264
264
265
#endif // NS3_CLICK
265
#endif /* NS3_CLICK */
266
};
266
};
267
267
268
} // namespace ns3
268
} // namespace ns3
269
269
270
#endif // IPV4_L3_CLICK_ROUTING_H
270
#endif /* IPV4_L3_CLICK_ROUTING_H */
(-)a/src/core/model/log.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
18
 * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
19
 */
19
 */
20
20
21
#ifndef __LOG_H__
21
#ifndef LOG_H
22
#define __LOG_H__
22
#define LOG_H
23
23
24
#include <string>
24
#include <string>
25
#include <iostream>
25
#include <iostream>
 Lines 400-403    Link Here 
400
} // namespace ns3
400
} // namespace ns3
401
401
402
402
403
#endif // __LOG_H__
403
#endif /* LOG_H */
(-)a/src/core/model/random-variable.h (-4 / +3 lines)
 Lines 19-26    Link Here 
19
// Author: Hadi Arbabi<marbabi@cs.odu.edu>
19
// Author: Hadi Arbabi<marbabi@cs.odu.edu>
20
//
20
//
21
21
22
#ifndef __random_variable_h
22
#ifndef NS3_RANDOM_VARIABLE_H
23
#define __random_variable_h
23
#define NS3_RANDOM_VARIABLE_H
24
24
25
#include <vector>
25
#include <vector>
26
#include <algorithm>
26
#include <algorithm>
 Lines 817-821    Link Here 
817
817
818
} // namespace ns3
818
} // namespace ns3
819
819
820
820
#endif /* NS3_RANDOM_VARIABLE_H */
821
#endif
(-)a/src/core/model/ref-count-base.h (-3 / +3 lines)
 Lines 20-27    Link Here 
20
 * Authors: Gustavo Carneiro <gjcarneiro@gmail.com>,
20
 * Authors: Gustavo Carneiro <gjcarneiro@gmail.com>,
21
 *          Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
21
 *          Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
22
 */
22
 */
23
#ifndef __REF_COUNT_BASE_H__
23
#ifndef REF_COUNT_BASE_H
24
#define __REF_COUNT_BASE_H__
24
#define REF_COUNT_BASE_H
25
25
26
#include "simple-ref-count.h"
26
#include "simple-ref-count.h"
27
27
 Lines 45-48    Link Here 
45
45
46
} // namespace ns3
46
} // namespace ns3
47
47
48
#endif /* __REF_COUNT_BASE_H__*/
48
#endif /* REF_COUNT_BASE_H */
(-)a/src/core/model/unix-fd-reader.h (-2 / +1 lines)
 Lines 1-5    Link Here 
1
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
1
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
2
3
/*
2
/*
4
 * Copyright (c) 2010 The Boeing Company
3
 * Copyright (c) 2010 The Boeing Company
5
 *
4
 *
 Lines 110-113    Link Here 
110
109
111
} // namespace ns3
110
} // namespace ns3
112
111
113
#endif  // UNIX_FD_READER_H
112
#endif /* UNIX_FD_READER_H */
(-)a/src/csma/model/backoff.h (-2 / +1 lines)
 Lines 98-102    Link Here 
98
98
99
} // namespace ns3
99
} // namespace ns3
100
100
101
#endif // BACKOFF_H
101
#endif /* BACKOFF_H */
102
(-)a/src/csma/model/csma-net-device.h (-1 / +1 lines)
 Lines 712-715    Link Here 
712
712
713
}; // namespace ns3
713
}; // namespace ns3
714
714
715
#endif // CSMA_NET_DEVICE_H
715
#endif /* CSMA_NET_DEVICE_H */
(-)a/src/dsdv/doc/dsdv.h (-3 / +4 lines)
 Lines 29-36    Link Here 
29
 * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI),
29
 * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI),
30
 * US Department of Defense (DoD), and ITTC at The University of Kansas.
30
 * US Department of Defense (DoD), and ITTC at The University of Kansas.
31
 */
31
 */
32
#ifndef DSDV_H_
32
33
#define DSDV_H_
33
#ifndef DSDV_H
34
#define DSDV_H
34
35
35
/**
36
/**
36
 * \defgroup dsdv DSDV Routing
37
 * \defgroup dsdv DSDV Routing
 Lines 40-43    Link Here 
40
 * library document.
41
 * library document.
41
 */
42
 */
42
43
43
#endif /* DSDV_H_ */
44
#endif /* DSDV_H */
(-)a/src/dsdv/helper/dsdv-helper.h (-3 / +5 lines)
 Lines 28-35    Link Here 
28
 * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI),
28
 * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI),
29
 * US Department of Defense (DoD), and ITTC at The University of Kansas.
29
 * US Department of Defense (DoD), and ITTC at The University of Kansas.
30
 */
30
 */
31
#ifndef DSDVHELPER_H_
31
32
#define DSDVHELPER_H_
32
#ifndef DSDV_HELPER_H
33
#define DSDV_HELPER_H
33
34
34
#include "ns3/object-factory.h"
35
#include "ns3/object-factory.h"
35
#include "ns3/node.h"
36
#include "ns3/node.h"
 Lines 76-79    Link Here 
76
};
77
};
77
78
78
}
79
}
79
#endif /* DSDVHELPER_H_ */
80
81
#endif /* DSDV_HELPER_H */
(-)a/src/dsdv/model/dsdv-packet-queue.h (-3 / +4 lines)
 Lines 28-35    Link Here 
28
 * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI),
28
 * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI),
29
 * US Department of Defense (DoD), and ITTC at The University of Kansas.
29
 * US Department of Defense (DoD), and ITTC at The University of Kansas.
30
 */
30
 */
31
#ifndef __DSDV_PACKETQUEUE_H__
31
32
#define __DSDV_PACKETQUEUE_H__
32
#ifndef DSDV_PACKETQUEUE_H
33
#define DSDV_PACKETQUEUE_H
33
34
34
#include <vector>
35
#include <vector>
35
#include "ns3/ipv4-routing-protocol.h"
36
#include "ns3/ipv4-routing-protocol.h"
 Lines 196-199    Link Here 
196
};
197
};
197
}
198
}
198
}
199
}
199
#endif /* __DSDV_PACKETQUEUE_H__ */
200
#endif /* DSDV_PACKETQUEUE_H */
(-)a/src/dsdv/model/dsdv-packet.h (-3 / +5 lines)
 Lines 28-35    Link Here 
28
 * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI),
28
 * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI),
29
 * US Department of Defense (DoD), and ITTC at The University of Kansas.
29
 * US Department of Defense (DoD), and ITTC at The University of Kansas.
30
 */
30
 */
31
#ifndef DSDVPACKET_H_
31
32
#define DSDVPACKET_H_
32
#ifndef DSDV_PACKET_H
33
#define DSDV_PACKET_H
33
34
34
#include <iostream>
35
#include <iostream>
35
#include "ns3/header.h"
36
#include "ns3/header.h"
 Lines 108-111    Link Here 
108
}
109
}
109
}
110
}
110
}
111
}
111
#endif /* DSDVPACKET_H_ */
112
113
#endif /* DSDV_PACKET_H */
(-)a/src/dsdv/model/dsdv-routing-protocol.h (-3 / +5 lines)
 Lines 29-36    Link Here 
29
 * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI),
29
 * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI),
30
 * US Department of Defense (DoD), and ITTC at The University of Kansas.
30
 * US Department of Defense (DoD), and ITTC at The University of Kansas.
31
 */
31
 */
32
#ifndef DSDVROUTINGPROTOCOL_H_
32
33
#define DSDVROUTINGPROTOCOL_H_
33
#ifndef DSDV_ROUTING_PROTOCOL_H
34
#define DSDV_ROUTING_PROTOCOL_H
34
35
35
#include "dsdv-rtable.h"
36
#include "dsdv-rtable.h"
36
#include "dsdv-packet-queue.h"
37
#include "dsdv-packet-queue.h"
 Lines 192-195    Link Here 
192
193
193
}
194
}
194
}
195
}
195
#endif /* DSDVROUTINGPROTOCOL_H_ */
196
197
#endif /* DSDV_ROUTING_PROTOCOL_H */
(-)a/src/dsdv/model/dsdv-rtable.h (-3 / +4 lines)
 Lines 28-35    Link Here 
28
 * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI),
28
 * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI),
29
 * US Department of Defense (DoD), and ITTC at The University of Kansas.
29
 * US Department of Defense (DoD), and ITTC at The University of Kansas.
30
 */
30
 */
31
#ifndef __DSDV_RTABLE_H__
31
32
#define __DSDV_RTABLE_H__
32
#ifndef DSDV_RTABLE_H
33
#define DSDV_RTABLE_H
33
34
34
#include <cassert>
35
#include <cassert>
35
#include <map>
36
#include <map>
 Lines 345-348    Link Here 
345
};
346
};
346
}
347
}
347
}
348
}
348
#endif /*__DSDV_RTABLE_H__ */
349
#endif /* DSDV_RTABLE_H */
(-)a/src/emu/model/emu-encode-decode.h (-1 / +1 lines)
 Lines 29-33    Link Here 
29
29
30
} // namespace ns3
30
} // namespace ns3
31
31
32
#endif // EMU_ENCODE_DECODE_H
32
#endif /* EMU_ENCODE_DECODE_H */
33
33
(-)a/src/emu/model/emu-net-device.h (-2 / +1 lines)
 Lines 537-541    Link Here 
537
537
538
} // namespace ns3
538
} // namespace ns3
539
539
540
#endif // EMU_NET_DEVICE_H
540
#endif /* EMU_NET_DEVICE_H */
541
(-)a/src/energy/model/li-ion-energy-source.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Andrea Sacco <andrea.sacco85@gmail.com>
18
 * Author: Andrea Sacco <andrea.sacco85@gmail.com>
19
 */
19
 */
20
20
21
#ifndef LI_ION_ENERGY_SOURCE
21
#ifndef LI_ION_ENERGY_SOURCE_H
22
#define LI_ION_ENERGY_SOURCE
22
#define LI_ION_ENERGY_SOURCE_H
23
23
24
#include "ns3/traced-value.h"
24
#include "ns3/traced-value.h"
25
#include "ns3/energy-source.h"
25
#include "ns3/energy-source.h"
 Lines 201-204    Link Here 
201
201
202
} // namespace ns3
202
} // namespace ns3
203
203
204
#endif /* LI_ION_ENERGY_SOURCE */
204
#endif /* LI_ION_ENERGY_SOURCE_H */
(-)a/src/energy/model/simple-device-energy-model.h (-3 / +4 lines)
 Lines 4-11    Link Here 
4
 *  Created on: 09/ago/2010
4
 *  Created on: 09/ago/2010
5
 *      Author: socket
5
 *      Author: socket
6
 */
6
 */
7
#ifndef SIMPLE_DEVICE_ENERGY_MODEL_H_
7
8
#define SIMPLE_DEVICE_ENERGY_MODEL_H_
8
#ifndef SIMPLE_DEVICE_ENERGY_MODEL_H
9
#define SIMPLE_DEVICE_ENERGY_MODEL_H
9
10
10
#include "ns3/device-energy-model.h"
11
#include "ns3/device-energy-model.h"
11
#include "ns3/nstime.h"
12
#include "ns3/nstime.h"
 Lines 105-108    Link Here 
105
106
106
} // namespace ns3
107
} // namespace ns3
107
108
108
#endif /* SIMPLE_DEVICE_ENERGY_MODEL_H_ */
109
#endif /* SIMPLE_DEVICE_ENERGY_MODEL_H */
(-)a/src/flow-monitor/model/flow-classifier.h (-4 / +3 lines)
 Lines 18-25    Link Here 
18
// Author: Gustavo J. A. M. Carneiro  <gjc@inescporto.pt> <gjcarneiro@gmail.com>
18
// Author: Gustavo J. A. M. Carneiro  <gjc@inescporto.pt> <gjcarneiro@gmail.com>
19
//
19
//
20
20
21
#ifndef __FLOW_CLASSIFIER_H__
21
#ifndef FLOW_CLASSIFIER_H
22
#define __FLOW_CLASSIFIER_H__
22
#define FLOW_CLASSIFIER_H
23
23
24
#include "ns3/simple-ref-count.h"
24
#include "ns3/simple-ref-count.h"
25
#include <ostream>
25
#include <ostream>
 Lines 62-66    Link Here 
62
62
63
} // namespace ns3
63
} // namespace ns3
64
64
65
#endif
65
#endif /* FLOW_CLASSIFIER_H */
66
(-)a/src/flow-monitor/model/flow-monitor.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
// Author: Gustavo J. A. M. Carneiro  <gjc@inescporto.pt> <gjcarneiro@gmail.com>
18
// Author: Gustavo J. A. M. Carneiro  <gjc@inescporto.pt> <gjcarneiro@gmail.com>
19
//
19
//
20
20
21
#ifndef __FLOW_MONITOR_H__
21
#ifndef FLOW_MONITOR_H
22
#define __FLOW_MONITOR_H__
22
#define FLOW_MONITOR_H
23
23
24
#include <vector>
24
#include <vector>
25
#include <map>
25
#include <map>
 Lines 243-247    Link Here 
243
243
244
} // namespace ns3
244
} // namespace ns3
245
245
246
#endif
246
#endif /* FLOW_MONITOR_H */
247
247
(-)a/src/flow-monitor/model/flow-probe.h (-4 / +3 lines)
 Lines 18-25    Link Here 
18
// Author: Gustavo J. A. M. Carneiro  <gjc@inescporto.pt> <gjcarneiro@gmail.com>
18
// Author: Gustavo J. A. M. Carneiro  <gjc@inescporto.pt> <gjcarneiro@gmail.com>
19
//
19
//
20
20
21
#ifndef __FLOW_PROBE_H__
21
#ifndef FLOW_PROBE_H
22
#define __FLOW_PROBE_H__
22
#define FLOW_PROBE_H
23
23
24
#include <map>
24
#include <map>
25
#include <vector>
25
#include <vector>
 Lines 87-91    Link Here 
87
87
88
} // namespace ns3
88
} // namespace ns3
89
89
90
#endif
90
#endif /* FLOW_PROBE_H */
91
(-)a/src/flow-monitor/model/histogram.h (-4 / +3 lines)
 Lines 18-25    Link Here 
18
// Author: Pedro Fortuna  <pedro.fortuna@inescporto.pt> <pedro.fortuna@gmail.com>
18
// Author: Pedro Fortuna  <pedro.fortuna@inescporto.pt> <pedro.fortuna@gmail.com>
19
//
19
//
20
20
21
#ifndef __NS3_HISTOGRAM_H__
21
#ifndef NS3_HISTOGRAM_H
22
#define __NS3_HISTOGRAM_H__
22
#define NS3_HISTOGRAM_H
23
23
24
#include <vector>
24
#include <vector>
25
#include <stdint.h>
25
#include <stdint.h>
 Lines 60-64    Link Here 
60
60
61
} // namespace ns3
61
} // namespace ns3
62
62
63
#endif
63
#endif /* NS3_HISTOGRAM_H */
64
(-)a/src/flow-monitor/model/ipv4-flow-classifier.h (-4 / +3 lines)
 Lines 18-25    Link Here 
18
// Author: Gustavo J. A. M. Carneiro  <gjc@inescporto.pt> <gjcarneiro@gmail.com>
18
// Author: Gustavo J. A. M. Carneiro  <gjc@inescporto.pt> <gjcarneiro@gmail.com>
19
//
19
//
20
20
21
#ifndef __IPV4_FLOW_CLASSIFIER_H__
21
#ifndef IPV4_FLOW_CLASSIFIER_H
22
#define __IPV4_FLOW_CLASSIFIER_H__
22
#define IPV4_FLOW_CLASSIFIER_H
23
23
24
#include <stdint.h>
24
#include <stdint.h>
25
#include <map>
25
#include <map>
 Lines 74-78    Link Here 
74
74
75
} // namespace ns3
75
} // namespace ns3
76
76
77
#endif
77
#endif /* IPV4_FLOW_CLASSIFIER_H */
78
(-)a/src/flow-monitor/model/ipv4-flow-probe.h (-4 / +3 lines)
 Lines 18-25    Link Here 
18
// Author: Gustavo J. A. M. Carneiro  <gjc@inescporto.pt> <gjcarneiro@gmail.com>
18
// Author: Gustavo J. A. M. Carneiro  <gjc@inescporto.pt> <gjcarneiro@gmail.com>
19
//
19
//
20
20
21
#ifndef __IPV4_FLOW_PROBE_H__
21
#ifndef IPV4_FLOW_PROBE_H
22
#define __IPV4_FLOW_PROBE_H__
22
#define IPV4_FLOW_PROBE_H
23
23
24
#include "ns3/flow-probe.h"
24
#include "ns3/flow-probe.h"
25
#include "ns3/ipv4-flow-classifier.h"
25
#include "ns3/ipv4-flow-classifier.h"
 Lines 82-86    Link Here 
82
82
83
} // namespace ns3
83
} // namespace ns3
84
84
85
#endif
85
#endif /* IPV4_FLOW_PROBE_H */
86
(-)a/src/internet/model/ipv4-packet-info-tag.h (-4 / +3 lines)
 Lines 18-25    Link Here 
18
 * Authors: Hajime Tazaki <tazaki@sfc.wide.ad.jp>
18
 * Authors: Hajime Tazaki <tazaki@sfc.wide.ad.jp>
19
 */
19
 */
20
20
21
#ifndef __IPV4_PACKET_INFO_TAG_H__
21
#ifndef IPV4_PACKET_INFO_TAG_H
22
#define __IPV4_PACKET_INFO_TAG_H__
22
#define IPV4_PACKET_INFO_TAG_H
23
23
24
#include "ns3/tag.h"
24
#include "ns3/tag.h"
25
#include "ns3/ipv4-address.h"
25
#include "ns3/ipv4-address.h"
 Lines 86-90    Link Here 
86
};
86
};
87
} //namespace ns3
87
} //namespace ns3
88
88
89
#endif /* __IPV4_PACKET_INFO_TAG_H__ */
89
#endif /* IPV4_PACKET_INFO_TAG_H */
90
(-)a/src/internet/model/ipv6-packet-info-tag.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Authors: Hajime Tazaki <tazaki@sfc.wide.ad.jp>
18
 * Authors: Hajime Tazaki <tazaki@sfc.wide.ad.jp>
19
 */
19
 */
20
20
21
#ifndef __IPV6_PACKET_INFO_TAG_H__
21
#ifndef IPV6_PACKET_INFO_TAG_H
22
#define __IPV6_PACKET_INFO_TAG_H__
22
#define IPV6_PACKET_INFO_TAG_H
23
23
24
#include "ns3/tag.h"
24
#include "ns3/tag.h"
25
#include "ns3/ipv6-address.h"
25
#include "ns3/ipv6-address.h"
 Lines 91-95    Link Here 
91
};
91
};
92
} //namespace ns3
92
} //namespace ns3
93
93
94
#endif /* __IPV6_PACKET_INFO_TAG_H__ */
94
#endif /* IPV6_PACKET_INFO_TAG_H */
95
95
(-)a/src/internet/model/pending-data.h (-3 / +3 lines)
 Lines 21-28    Link Here 
21
// Georgia Tech Network Simulator - Data Descriptors
21
// Georgia Tech Network Simulator - Data Descriptors
22
// George F. Riley.  Georgia Tech, Spring 2002
22
// George F. Riley.  Georgia Tech, Spring 2002
23
23
24
#ifndef __datapdu_h__
24
#ifndef PENDING_DATA_H
25
#define __datapdu_h__
25
#define PENDING_DATA_H
26
26
27
#include "ns3/packet.h"
27
#include "ns3/packet.h"
28
#include "pending-data.h"
28
#include "pending-data.h"
 Lines 114-118    Link Here 
114
};
114
};
115
115
116
} //namepsace ns3
116
} //namepsace ns3
117
#endif
118
117
118
#endif /* PENDING_DATA_H */
(-)a/src/internet/model/rtt-estimator.h (-5 / +3 lines)
 Lines 22-29    Link Here 
22
// George F. Riley.  Georgia Tech, Spring 2002
22
// George F. Riley.  Georgia Tech, Spring 2002
23
23
24
24
25
#ifndef __rtt_estimator_h__
25
#ifndef RTT_ESTIMATOR_H
26
#define __rtt_estimator_h__
26
#define RTT_ESTIMATOR_H
27
27
28
#include <deque>
28
#include <deque>
29
#include "ns3/sequence-number.h"
29
#include "ns3/sequence-number.h"
 Lines 114-120    Link Here 
114
  int64x64_t   variance;   // Current variance
114
  int64x64_t   variance;   // Current variance
115
};
115
};
116
} //namespace ns3
116
} //namespace ns3
117
#endif
118
117
119
118
#endif /* RTT_ESTIMATOR_H */
120
(-)a/src/internet/model/sim_errno.h (-3 / +3 lines)
 Lines 1-5    Link Here 
1
#ifndef NETWORK_SIMULATION_CRADLE_ERR_H_
1
#ifndef NSC_SIM_ERRNO_H
2
#define NETWORK_SIMULATION_CRADLE_ERR_H_
2
#define NSC_SIM_ERRNO_H
3
3
4
// list of network stack errors that may happen in a simulation,
4
// list of network stack errors that may happen in a simulation,
5
// and can be handled by the simulator in a sane way.
5
// and can be handled by the simulator in a sane way.
 Lines 32-35    Link Here 
32
  NSC_ETIMEDOUT = -140,
32
  NSC_ETIMEDOUT = -140,
33
};
33
};
34
34
35
#endif
35
#endif /* NSC_SIM_ERRNO_H */
(-)a/src/internet/model/sim_interface.h (-3 / +5 lines)
 Lines 1-5    Link Here 
1
#ifndef __SIM_INTERFACE_H__
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
#define __SIM_INTERFACE_H__
3
/*
2
/*
4
  Network Simulation Cradle
3
  Network Simulation Cradle
5
  Copyright (C) 2003-2005 Sam Jansen
4
  Copyright (C) 2003-2005 Sam Jansen
 Lines 20-25    Link Here 
20
19
21
*/
20
*/
22
21
22
#ifndef NSC_SIM_INTERFACE_H
23
#define NSC_SIM_INTERFACE_H
24
23
#define NSC_VERSION 0x000500
25
#define NSC_VERSION 0x000500
24
26
25
struct INetStack
27
struct INetStack
 Lines 197-200    Link Here 
197
#define CREATE_STACK_FUNC(a,b,c) extern "C" INetStack *nsc_create_stack ( \
199
#define CREATE_STACK_FUNC(a,b,c) extern "C" INetStack *nsc_create_stack ( \
198
    ISendCallback *a, IInterruptCallback *b, FRandom c)
200
    ISendCallback *a, IInterruptCallback *b, FRandom c)
199
201
200
#endif
202
#endif /* NSC_SIM_INTERFACE_H */
(-)a/src/internet/model/tcp-rx-buffer.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Adrian Sai-wah Tam <adrian.sw.tam@gmail.com>
18
 * Author: Adrian Sai-wah Tam <adrian.sw.tam@gmail.com>
19
 */
19
 */
20
20
21
#ifndef __TCP_RX_BUFFER_H__
21
#ifndef TCP_RX_BUFFER_H
22
#define __TCP_RX_BUFFER_H__
22
#define TCP_RX_BUFFER_H
23
23
24
#include <map>
24
#include <map>
25
#include "ns3/traced-value.h"
25
#include "ns3/traced-value.h"
 Lines 86-89    Link Here 
86
86
87
} //namepsace ns3
87
} //namepsace ns3
88
88
89
#endif /* __TCP_RX_BUFFER_H__ */
89
#endif /* TCP_RX_BUFFER_H */
(-)a/src/internet/model/tcp-socket.h (-2 / +2 lines)
 Lines 20-27    Link Here 
20
 *          Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
20
 *          Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
21
 */
21
 */
22
22
23
#ifndef __TCP_SOCKET_H__
23
#ifndef TCP_SOCKET_H
24
#define __TCP_SOCKET_H__
24
#define TCP_SOCKET_H
25
25
26
#include "ns3/socket.h"
26
#include "ns3/socket.h"
27
#include "ns3/traced-callback.h"
27
#include "ns3/traced-callback.h"
(-)a/src/internet/model/tcp-tx-buffer.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Adrian Sai-wah Tam <adrian.sw.tam@gmail.com>
18
 * Author: Adrian Sai-wah Tam <adrian.sw.tam@gmail.com>
19
 */
19
 */
20
20
21
#ifndef __TCP_TX_BUFFER_H__
21
#ifndef TCP_TX_BUFFER_H
22
#define __TCP_TX_BUFFER_H__
22
#define TCP_TX_BUFFER_H
23
23
24
#include <list>
24
#include <list>
25
#include "ns3/traced-value.h"
25
#include "ns3/traced-value.h"
 Lines 118-121    Link Here 
118
118
119
} // namepsace ns3
119
} // namepsace ns3
120
120
121
#endif
121
#endif /* TCP_TX_BUFFER_H */
(-)a/src/internet/model/udp-socket.h (-2 / +2 lines)
 Lines 20-27    Link Here 
20
 *          Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
20
 *          Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
21
 */
21
 */
22
22
23
#ifndef __UDP_SOCKET_H__
23
#ifndef UDP_SOCKET_H
24
#define __UDP_SOCKET_H__
24
#define UDP_SOCKET_H
25
25
26
#include "ns3/socket.h"
26
#include "ns3/socket.h"
27
#include "ns3/traced-callback.h"
27
#include "ns3/traced-callback.h"
(-)a/src/lte/model/bearer-qos-parameters.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Giuseppe Piro  <g.piro@poliba.it>
18
 * Author: Giuseppe Piro  <g.piro@poliba.it>
19
 */
19
 */
20
20
21
#ifndef BEARER_QOS_PARAMETERS_H_
21
#ifndef BEARER_QOS_PARAMETERS_H
22
#define BEARER_QOS_PARAMETERS_H_
22
#define BEARER_QOS_PARAMETERS_H
23
23
24
#include "ns3/object.h"
24
#include "ns3/object.h"
25
25
 Lines 156-159    Link Here 
156
156
157
157
158
}
158
}
159
#endif /* BEARER_QOS_PARAMETERS_H_ */
159
#endif /* BEARER_QOS_PARAMETERS_H */
(-)a/src/lte/model/jakes-fading-realizations.h (-47 / +44 lines)
 Lines 1-47    Link Here 
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 TELEMATICS LAB, DEE - Politecnico di Bari
3
 * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari
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
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 * GNU General Public License for more details.
12
 * GNU General Public License for more details.
13
 *
13
 *
14
 * You should have received a copy of the GNU General Public License
14
 * You should have received a copy of the GNU General Public License
15
 * along with this program; if not, write to the Free Software
15
 * along with this program; if not, write to the Free Software
16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
 *
17
 *
18
 * Author: Giuseppe Piro  <g.piro@poliba.it>
18
 * Author: Giuseppe Piro  <g.piro@poliba.it>
19
 */
19
 */
20
20
21
21
#ifndef JAKES_FADING_REALIZATIONS_H
22
22
#define JAKES_FADING_REALIZATIONS_H
23
#ifndef MULTIPATH_H_
23
24
#define MULTIPATH_H_
24
#include "JakesTraces/multipath_v0_M6.h"
25
25
#include "JakesTraces/multipath_v0_M8.h"
26
#include "JakesTraces/multipath_v0_M6.h"
26
#include "JakesTraces/multipath_v0_M10.h"
27
#include "JakesTraces/multipath_v0_M8.h"
27
#include "JakesTraces/multipath_v0_M12.h"
28
#include "JakesTraces/multipath_v0_M10.h"
28
29
#include "JakesTraces/multipath_v0_M12.h"
29
#include "JakesTraces/multipath_v3_M6.h"
30
30
#include "JakesTraces/multipath_v3_M8.h"
31
#include "JakesTraces/multipath_v3_M6.h"
31
#include "JakesTraces/multipath_v3_M10.h"
32
#include "JakesTraces/multipath_v3_M8.h"
32
#include "JakesTraces/multipath_v3_M12.h"
33
#include "JakesTraces/multipath_v3_M10.h"
33
34
#include "JakesTraces/multipath_v3_M12.h"
34
#include "JakesTraces/multipath_v30_M6.h"
35
35
#include "JakesTraces/multipath_v30_M8.h"
36
#include "JakesTraces/multipath_v30_M6.h"
36
#include "JakesTraces/multipath_v30_M10.h"
37
#include "JakesTraces/multipath_v30_M8.h"
37
#include "JakesTraces/multipath_v30_M12.h"
38
#include "JakesTraces/multipath_v30_M10.h"
38
39
#include "JakesTraces/multipath_v30_M12.h"
39
#include "JakesTraces/multipath_v120_M6.h"
40
40
#include "JakesTraces/multipath_v120_M8.h"
41
#include "JakesTraces/multipath_v120_M6.h"
41
#include "JakesTraces/multipath_v120_M10.h"
42
#include "JakesTraces/multipath_v120_M8.h"
42
#include "JakesTraces/multipath_v120_M12.h"
43
#include "JakesTraces/multipath_v120_M10.h"
43
44
#include "JakesTraces/multipath_v120_M12.h"
44
#endif /* JAKES_FADING_REALIZATIONS_H */
45
46
47
#endif /* MULTIPATH_H_ */
(-)a/src/lte/model/ue-record.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Giuseppe Piro  <g.piro@poliba.it>
18
 * Author: Giuseppe Piro  <g.piro@poliba.it>
19
 */
19
 */
20
20
21
#ifndef UE_RECORD_H_
21
#ifndef UE_RECORD_H
22
#define UE_RECORD_H_
22
#define UE_RECORD_H
23
23
24
#include "ns3/net-device.h"
24
#include "ns3/net-device.h"
25
#include "ns3/object.h"
25
#include "ns3/object.h"
 Lines 118-121    Link Here 
118
}
118
}
119
; // namespace ns3
119
; // namespace ns3
120
120
121
#endif /* UE_RECORD_H_ */
121
#endif /* UE_RECORD_H */
(-)a/src/mesh/helper/flame/flame-installer.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Authors: Kirill Andreev <andreev@iitp.ru>
18
 * Authors: Kirill Andreev <andreev@iitp.ru>
19
 */
19
 */
20
20
21
#ifndef FLAME_STACK_INSTALLER_H
21
#ifndef FLAME_INSTALLER_H
22
#define FLAME_STACK_INSTALLER_H
22
#define FLAME_INSTALLER_H
23
23
24
#include "ns3/mesh-stack-installer.h"
24
#include "ns3/mesh-stack-installer.h"
25
25
 Lines 75-79    Link Here 
75
75
76
} //namespace ns3
76
} //namespace ns3
77
77
78
#endif // FLAME_STACK_INSTALLER_H
78
#endif /* FLAME_INSTALLER_H */
79
79
(-)a/src/mesh/model/dot11s/ie-dot11s-peer-management.h (-3 / +4 lines)
 Lines 19-26    Link Here 
19
 *          Aleksey Kovalenko <kovalenko@iitp.ru>
19
 *          Aleksey Kovalenko <kovalenko@iitp.ru>
20
 */
20
 */
21
21
22
#ifndef MESH_PEER_MAN_ELEMENT
22
#ifndef IE_DOT11S_PEER_MANAGEMENT_H
23
#define MESH_PEER_MAN_ELEMENT
23
#define IE_DOT11S_PEER_MANAGEMENT_H
24
24
25
#include "ns3/mesh-information-element-vector.h"
25
#include "ns3/mesh-information-element-vector.h"
26
26
 Lines 98-101    Link Here 
98
std::ostream &operator << (std::ostream &os, const IePeerManagement &peerMan);
98
std::ostream &operator << (std::ostream &os, const IePeerManagement &peerMan);
99
} // namespace dot11s
99
} // namespace dot11s
100
} //namespace ns3
100
} //namespace ns3
101
#endif
101
102
#endif /* IE_DOT11S_PEER_MANAGEMENT_H */
(-)a/src/mesh/model/dot11s/peer-link.h (-3 / +6 lines)
 Lines 19-26    Link Here 
19
 *          Aleksey Kovalenko <kovalenko@iitp.ru>
19
 *          Aleksey Kovalenko <kovalenko@iitp.ru>
20
 */
20
 */
21
21
22
#ifndef PEERLLINK_H_
22
#ifndef PEER_LINK_H
23
#define PEERLLINK_H_
23
#define PEER_LINK_H
24
24
25
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
26
#include "ns3/object.h"
26
#include "ns3/object.h"
 Lines 30-37    Link Here 
30
#include "ns3/ie-dot11s-beacon-timing.h"
30
#include "ns3/ie-dot11s-beacon-timing.h"
31
#include "ns3/ie-dot11s-peer-management.h"
31
#include "ns3/ie-dot11s-peer-management.h"
32
#include "ns3/ie-dot11s-configuration.h"
32
#include "ns3/ie-dot11s-configuration.h"
33
33
namespace ns3 {
34
namespace ns3 {
34
namespace dot11s {
35
namespace dot11s {
36
35
class PeerManagementProtocolMac;
37
class PeerManagementProtocolMac;
36
/**
38
/**
37
 * \ingroup dot11s
39
 * \ingroup dot11s
 Lines 258-261    Link Here 
258
260
259
} // namespace dot11s
261
} // namespace dot11s
260
} //namespace ns3
262
} //namespace ns3
261
#endif /* PEERLLINK_H_ */
263
264
#endif /* PEER_LINK_H */
(-)a/src/mesh/model/dot11s/peer-management-protocol-mac.h (-3 / +4 lines)
 Lines 18-25    Link Here 
18
 * Author: Kirill Andreev <andreev@iitp.ru>
18
 * Author: Kirill Andreev <andreev@iitp.ru>
19
 */
19
 */
20
20
21
#ifndef PEER_MANAGER_MAC_PLUGIN_H_
21
#ifndef PEER_MANAGEMENT_PROTOCOL_MAC_H
22
#define PEER_MANAGER_MAC_PLUGIN_H_
22
#define PEER_MANAGEMENT_PROTOCOL_MAC_H
23
23
24
#include "ns3/mesh-wifi-interface-mac-plugin.h"
24
#include "ns3/mesh-wifi-interface-mac-plugin.h"
25
25
 Lines 131-135    Link Here 
131
131
132
} // namespace dot11s
132
} // namespace dot11s
133
} //namespace ns3
133
} //namespace ns3
134
#endif
135
134
135
#endif /* PEER_MANAGEMENT_PROTOCOL_MAC_H */
136
(-)a/src/mesh/model/mesh-wifi-beacon.h (-4 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Pavel Boyko <boyko@iitp.ru>
18
 * Author: Pavel Boyko <boyko@iitp.ru>
19
 */
19
 */
20
20
21
#ifndef MESHWIFIBEACON_H_
21
#ifndef MESH_WIFI_BEACON_H
22
#define MESHWIFIBEACON_H_
22
#define MESH_WIFI_BEACON_H
23
23
24
#include "ns3/object.h"
24
#include "ns3/object.h"
25
#include "ns3/packet.h"
25
#include "ns3/packet.h"
 Lines 72-76    Link Here 
72
72
73
}
73
}
74
74
75
75
#endif /* MESH_WIFI_BEACON_H */
76
#endif /* MESHWIFIBEACON_H_ */
(-)a/src/mesh/model/mesh-wifi-interface-mac-plugin.h (-3 / +4 lines)
 Lines 18-25    Link Here 
18
 * Author: Pavel Boyko <boyko@iitp.ru>
18
 * Author: Pavel Boyko <boyko@iitp.ru>
19
 */
19
 */
20
20
21
#ifndef MESHWIFIINTERFACEMACPLUGIN_H_
21
#ifndef MESH_WIFI_INTERFACE_MAC_PLUGIN_H
22
#define MESHWIFIINTERFACEMACPLUGIN_H_
22
#define MESH_WIFI_INTERFACE_MAC_PLUGIN_H
23
23
24
#include "ns3/wifi-mac-header.h"
24
#include "ns3/wifi-mac-header.h"
25
#include "ns3/packet.h"
25
#include "ns3/packet.h"
 Lines 68-71    Link Here 
68
};
68
};
69
69
70
} // namespace ns3
70
} // namespace ns3
71
#endif /* MESHWIFIINTERFACEMACPLUGIN_H_ */
71
72
#endif /* MESH_WIFI_INTERFACE_MAC_PLUGIN_H */
(-)a/src/mesh/model/mesh-wifi-interface-mac.h (-3 / +4 lines)
 Lines 19-26    Link Here 
19
 *          Pavel Boyko <boyko@iitp.ru>
19
 *          Pavel Boyko <boyko@iitp.ru>
20
 */
20
 */
21
21
22
#ifndef MESHWIFIINTERFACEMAC_H_
22
#ifndef MESH_WIFI_INTERFACE_MAC_H
23
#define MESHWIFIINTERFACEMAC_H_
23
#define MESH_WIFI_INTERFACE_MAC_H
24
24
25
#include <stdint.h>
25
#include <stdint.h>
26
#include <map>
26
#include <map>
 Lines 34-39    Link Here 
34
#include "ns3/mesh-wifi-interface-mac-plugin.h"
34
#include "ns3/mesh-wifi-interface-mac-plugin.h"
35
#include "ns3/event-id.h"
35
#include "ns3/event-id.h"
36
#include "qos-utils.h"
36
#include "qos-utils.h"
37
37
namespace ns3 {
38
namespace ns3 {
38
39
39
class WifiMacHeader;
40
class WifiMacHeader;
 Lines 189-192    Link Here 
189
190
190
} // namespace ns3
191
} // namespace ns3
191
192
192
#endif /* MESHWIFIINTERFACEMAC_H_ */
193
#endif /* MESH_WIFI_INTERFACE_MAC_H */
(-)a/src/mesh/test/dot11s/pmp-regression.h (-1 / +2 lines)
 Lines 17-22    Link Here 
17
 *
17
 *
18
 * Authors: Pavel Boyko <boyko@iitp.ru>
18
 * Authors: Pavel Boyko <boyko@iitp.ru>
19
 */
19
 */
20
20
#ifndef PMP_REGRESSION_H
21
#ifndef PMP_REGRESSION_H
21
#define PMP_REGRESSION_H
22
#define PMP_REGRESSION_H
22
#include "ns3/test.h"
23
#include "ns3/test.h"
 Lines 58-62    Link Here 
58
  void CheckResults ();
59
  void CheckResults ();
59
  void DoRun ();
60
  void DoRun ();
60
};
61
};
61
#endif // PMP_REGRESSION_H
62
#endif /* PMP_REGRESSION_H */
62
63
(-)a/src/network/model/application.h (-3 / +4 lines)
 Lines 18-25    Link Here 
18
 * Author: George F. Riley<riley@ece.gatech.edu>
18
 * Author: George F. Riley<riley@ece.gatech.edu>
19
 */
19
 */
20
20
21
#ifndef __APPLICATION_H__
21
#ifndef APPLICATION_H
22
#define __APPLICATION_H__
22
#define APPLICATION_H
23
23
24
#include "ns3/event-id.h"
24
#include "ns3/event-id.h"
25
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
 Lines 131-134    Link Here 
131
};
131
};
132
132
133
} //namespace ns3
133
} //namespace ns3
134
#endif
134
135
#endif /* APPLICATION_H */
(-)a/src/network/model/nix-vector.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Authors: Josh Pelkey <jpelkey@gatech.edu>
18
 * Authors: Josh Pelkey <jpelkey@gatech.edu>
19
 */
19
 */
20
20
21
#ifndef __NIX_VECTOR_H__
21
#ifndef NIX_VECTOR_H
22
#define __NIX_VECTOR_H__
22
#define NIX_VECTOR_H
23
23
24
#include "ns3/ptr.h"
24
#include "ns3/ptr.h"
25
#include "ns3/simple-ref-count.h"
25
#include "ns3/simple-ref-count.h"
 Lines 185-188    Link Here 
185
};
185
};
186
} // namespace ns3
186
} // namespace ns3
187
187
188
#endif
188
#endif /* NIX_VECTOR_H */
(-)a/src/network/model/socket.h (-5 / +3 lines)
 Lines 20-27    Link Here 
20
 *          Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
20
 *          Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
21
 */
21
 */
22
22
23
#ifndef __SOCKET_H__
23
#ifndef NS3_SOCKET_H
24
#define __SOCKET_H__
24
#define NS3_SOCKET_H
25
25
26
#include "ns3/callback.h"
26
#include "ns3/callback.h"
27
#include "ns3/ptr.h"
27
#include "ns3/ptr.h"
 Lines 688-693    Link Here 
688
688
689
} //namespace ns3
689
} //namespace ns3
690
690
691
#endif /* SOCKET_H */
691
#endif /* NS3_SOCKET_H */
692
693
(-)a/src/network/utils/inet6-socket-address.h (-2 / +1 lines)
 Lines 18-24    Link Here 
18
 * Author: Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
18
 * Author: Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
19
 */
19
 */
20
20
21
#ifndef INET6_SOCKET_ADDRESS_H 
21
#ifndef INET6_SOCKET_ADDRESS_H
22
#define INET6_SOCKET_ADDRESS_H
22
#define INET6_SOCKET_ADDRESS_H
23
23
24
#include <stdint.h>
24
#include <stdint.h>
 Lines 139-142    Link Here 
139
} /* namespace ns3 */
139
} /* namespace ns3 */
140
140
141
#endif /* INET6_SOCKET_ADDRESS_H */
141
#endif /* INET6_SOCKET_ADDRESS_H */
142
(-)a/src/network/utils/output-stream-wrapper.h (-1 / +1 lines)
 Lines 90-93    Link Here 
90
90
91
} //namespace ns3
91
} //namespace ns3
92
92
93
#endif // OUTPUT_STREAM_WRAPPER_H
93
#endif /* OUTPUT_STREAM_WRAPPER_H */
(-)a/src/network/utils/pcap-file-wrapper.h (-1 / +1 lines)
 Lines 201-204    Link Here 
201
201
202
} //namespace ns3
202
} //namespace ns3
203
203
204
#endif // PCAP_FILE_WRAPPER_H
204
#endif /* PCAP_FILE_WRAPPER_H */
(-)a/src/network/utils/sequence-number.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
// Author: Gustavo J. A. M. Carneiro  <gjc@inescporto.pt> <gjcarneiro@gmail.com>
18
// Author: Gustavo J. A. M. Carneiro  <gjc@inescporto.pt> <gjcarneiro@gmail.com>
19
//
19
//
20
20
21
#ifndef __NS3_SEQ_NUM_H__
21
#ifndef NS3_SEQ_NUM_H
22
#define __NS3_SEQ_NUM_H__
22
#define NS3_SEQ_NUM_H
23
23
24
#include <limits>
24
#include <limits>
25
#include <iostream>
25
#include <iostream>
 Lines 293-298    Link Here 
293
293
294
} // namespace ns3
294
} // namespace ns3
295
295
296
#endif
296
#endif /* NS3_SEQ_NUM_H */
297
297
298
298
(-)a/src/nix-vector-routing/model/ipv4-nix-vector-routing.h (-3 / +4 lines)
 Lines 18-25    Link Here 
18
 * Authors: Josh Pelkey <jpelkey@gatech.edu>
18
 * Authors: Josh Pelkey <jpelkey@gatech.edu>
19
 */
19
 */
20
20
21
#ifndef __IPV4_NIX_VECTOR_ROUTING_H__
21
#ifndef IPV4_NIX_VECTOR_ROUTING_H
22
#define __IPV4_NIX_VECTOR_ROUTING_H__
22
#define IPV4_NIX_VECTOR_ROUTING_H
23
23
24
#include <map>
24
#include <map>
25
25
 Lines 167-170    Link Here 
167
  uint32_t m_totalNeighbors;
167
  uint32_t m_totalNeighbors;
168
};
168
};
169
} // namespace ns3
169
} // namespace ns3
170
#endif
170
171
#endif /* IPV4_NIX_VECTOR_ROUTING_H */
(-)a/src/olsr/model/olsr-repositories.h (-3 / +3 lines)
 Lines 25-32    Link Here 
25
/// \brief	Here are defined all data structures needed by an OLSR node.
25
/// \brief	Here are defined all data structures needed by an OLSR node.
26
///
26
///
27
27
28
#ifndef __OLSR_REPOSITORIES_H__
28
#ifndef OLSR_REPOSITORIES_H
29
#define __OLSR_REPOSITORIES_H__
29
#define OLSR_REPOSITORIES_H
30
30
31
#include <set>
31
#include <set>
32
#include <vector>
32
#include <vector>
 Lines 301-304    Link Here 
301
301
302
                }}; // namespace ns3, olsr
302
                }}; // namespace ns3, olsr
303
303
304
#endif  /* __OLSR_REPOSITORIES_H__ */
304
#endif /* OLSR_REPOSITORIES_H */
(-)a/src/olsr/model/olsr-routing-protocol.h (-4 / +3 lines)
 Lines 20-28    Link Here 
20
 *          Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
20
 *          Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
21
 */
21
 */
22
22
23
23
#ifndef OLSR_AGENT_IMPL_H
24
#ifndef __OLSR_AGENT_IMPL_H__
24
#define OLSR_AGENT_IMPL_H
25
#define __OLSR_AGENT_IMPL_H__
26
25
27
#include "olsr-header.h"
26
#include "olsr-header.h"
28
#include "ns3/test.h"
27
#include "ns3/test.h"
 Lines 306-309    Link Here 
306
}
305
}
307
}  // namespace ns3
306
}  // namespace ns3
308
307
309
#endif
308
#endif /* OLSR_AGENT_IMPL_H */
(-)a/src/olsr/model/olsr-state.h (-3 / +3 lines)
 Lines 22-29    Link Here 
22
22
23
/// \brief	This header file declares and defines internal state of an OLSR node.
23
/// \brief	This header file declares and defines internal state of an OLSR node.
24
24
25
#ifndef __OLSR_STATE_H__
25
#ifndef OLSR_STATE_H
26
#define __OLSR_STATE_H__
26
#define OLSR_STATE_H
27
27
28
#include "olsr-repositories.h"
28
#include "olsr-repositories.h"
29
29
 Lines 177-180    Link Here 
177
177
178
} // namespace ns3
178
} // namespace ns3
179
179
180
#endif
180
#endif /* OLSR_STATE_H */
(-)a/src/olsr/test/bug780-test.h (-3 / +5 lines)
 Lines 16-23    Link Here 
16
 * Authors: Pavel Boyko <boyko@iitp.ru>
16
 * Authors: Pavel Boyko <boyko@iitp.ru>
17
 */
17
 */
18
18
19
#ifndef BUG780_REGRESSIONTEST_H_
19
#ifndef BUG780_TEST_H
20
#define BUG780_REGRESSIONTEST_H_
20
#define BUG780_TEST_H
21
21
#include "ns3/test.h"
22
#include "ns3/test.h"
22
#include "ns3/nstime.h"
23
#include "ns3/nstime.h"
23
#include "ns3/node-container.h"
24
#include "ns3/node-container.h"
 Lines 46-49    Link Here 
46
47
47
}
48
}
48
}
49
}
49
#endif
50
51
#endif /* BUG780_TEST_H */
(-)a/src/olsr/test/hello-regression-test.h (-3 / +5 lines)
 Lines 18-25    Link Here 
18
 * Authors: Pavel Boyko <boyko@iitp.ru>
18
 * Authors: Pavel Boyko <boyko@iitp.ru>
19
 */
19
 */
20
20
21
#ifndef HELLOREGRESSIONTEST_H_
21
#ifndef HELLO_REGRESSION_TEST_H
22
#define HELLOREGRESSIONTEST_H_
22
#define HELLO_REGRESSION_TEST_H
23
23
#include "ns3/test.h"
24
#include "ns3/test.h"
24
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
25
#include "ns3/node-container.h"
26
#include "ns3/node-container.h"
 Lines 66-69    Link Here 
66
67
67
}
68
}
68
}
69
}
69
#endif /* HELLOREGRESSIONTEST_H_ */
70
71
#endif /* HELLO_REGRESSION_TEST_H */
(-)a/src/olsr/test/tc-regression-test.h (-3 / +5 lines)
 Lines 18-25    Link Here 
18
 * Authors: Pavel Boyko <boyko@iitp.ru>
18
 * Authors: Pavel Boyko <boyko@iitp.ru>
19
 */
19
 */
20
20
21
#ifndef TCREGRESSIONTEST_H_
21
#ifndef TC_REGRESSION_TEST_H
22
#define TCREGRESSIONTEST_H_
22
#define TC_REGRESSION_TEST_H
23
23
#include "ns3/test.h"
24
#include "ns3/test.h"
24
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
25
#include "ns3/node-container.h"
26
#include "ns3/node-container.h"
 Lines 93-96    Link Here 
93
94
94
}
95
}
95
}
96
}
96
#endif /* TCREGRESSIONTEST_H_ */
97
98
#endif /* TC_REGRESSION_TEST_H */
(-)a/src/point-to-point/model/point-to-point-net-device.h (-2 / +1 lines)
 Lines 468-472    Link Here 
468
468
469
} // namespace ns3
469
} // namespace ns3
470
470
471
#endif // POINT_TO_POINT_NET_DEVICE_H
471
#endif /* POINT_TO_POINT_NET_DEVICE_H */
472
(-)a/src/propagation/model/cost231-propagation-loss-model.h (-3 / +3 lines)
 Lines 19-26    Link Here 
19
 *                              <amine.ismail@udcast.com>
19
 *                              <amine.ismail@udcast.com>
20
 */
20
 */
21
21
22
#ifndef COST231_PROPAGATION_LOSS_MODEL_H_
22
#ifndef COST231_PROPAGATION_LOSS_MODEL_H
23
#define COST231_PROPAGATION_LOSS_MODEL_H_
23
#define COST231_PROPAGATION_LOSS_MODEL_H
24
24
25
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
26
#include "ns3/propagation-loss-model.h"
26
#include "ns3/propagation-loss-model.h"
 Lines 92-95    Link Here 
92
92
93
}
93
}
94
94
95
#endif /* COST231PROPAGATIONMODEL_H_ */
95
#endif /* COST231PROPAGATIONMODEL_H */
(-)a/src/spectrum/model/aloha-noack-net-device.h (-1 / +1 lines)
 Lines 227-230    Link Here 
227
227
228
} // namespace ns3
228
} // namespace ns3
229
229
230
#endif // ALOHA_NOACK_NET_DEVICE_H
230
#endif /* ALOHA_NOACK_NET_DEVICE_H */
(-)a/src/spectrum/model/non-communicating-net-device.h (-1 / +1 lines)
 Lines 134-137    Link Here 
134
134
135
} // namespace ns3
135
} // namespace ns3
136
136
137
#endif // NON_COMMUNICATING_NET_DEVICE_H
137
#endif /* NON_COMMUNICATING_NET_DEVICE_H */
(-)a/src/stats/model/basic-data-calculators.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
19
 */
19
 */
20
20
21
#ifndef __BASIC_DATA_CALCULATORS_H__
21
#ifndef BASIC_DATA_CALCULATORS_H
22
#define __BASIC_DATA_CALCULATORS_H__
22
#define BASIC_DATA_CALCULATORS_H
23
23
24
#include "data-calculator.h"
24
#include "data-calculator.h"
25
#include "data-output-interface.h"
25
#include "data-output-interface.h"
 Lines 263-266    Link Here 
263
};
263
};
264
264
265
265
266
#endif // __BASIC_DATA_CALCULATORS_H__
266
#endif /* BASIC_DATA_CALCULATORS_H */
(-)a/src/stats/model/data-calculator.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
19
 */
19
 */
20
20
21
#ifndef __DATA_CALCULATOR_H__
21
#ifndef DATA_CALCULATOR_H
22
#define __DATA_CALCULATOR_H__
22
#define DATA_CALCULATOR_H
23
23
24
#include "ns3/object.h"
24
#include "ns3/object.h"
25
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
 Lines 124-127    Link Here 
124
};
124
};
125
125
126
126
127
#endif // __DATA_CALCULATOR_H__
127
#endif /* DATA_CALCULATOR_H */
(-)a/src/stats/model/data-collector.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
19
 */
19
 */
20
20
21
#ifndef __DATA_COLLECTOR_H__
21
#ifndef DATA_COLLECTOR_H
22
#define __DATA_COLLECTOR_H__
22
#define DATA_COLLECTOR_H
23
23
24
#include <list>
24
#include <list>
25
#include <string>
25
#include <string>
 Lines 89-92    Link Here 
89
// end namespace ns3
89
// end namespace ns3
90
};
90
};
91
91
92
#endif // __DATA_COLLECTOR_H__
92
#endif /* DATA_COLLECTOR_H */
(-)a/src/stats/model/data-output-interface.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
19
 */
19
 */
20
20
21
#ifndef __DATA_OUTPUT_INTERFACE_H__
21
#ifndef DATA_OUTPUT_INTERFACE_H
22
#define __DATA_OUTPUT_INTERFACE_H__
22
#define DATA_OUTPUT_INTERFACE_H
23
23
24
#include "ns3/object.h"
24
#include "ns3/object.h"
25
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
 Lines 91-94    Link Here 
91
};
91
};
92
92
93
93
94
#endif // __DATA_OUTPUT_INTERFACE_H__
94
#endif /* DATA_OUTPUT_INTERFACE_H */
(-)a/src/stats/model/omnet-data-output.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
19
 */
19
 */
20
20
21
#ifndef __OMNET_DATA_OUTPUT_H__
21
#ifndef OMNET_DATA_OUTPUT_H
22
#define __OMNET_DATA_OUTPUT_H__
22
#define OMNET_DATA_OUTPUT_H
23
23
24
#include "ns3/nstime.h"
24
#include "ns3/nstime.h"
25
25
 Lines 85-88    Link Here 
85
};
85
};
86
86
87
87
88
#endif // __OMNET_DATA_OUTPUT_H__
88
#endif /* OMNET_DATA_OUTPUT_H */
(-)a/src/stats/model/packet-data-calculators.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
19
 */
19
 */
20
20
21
#ifndef __PACKET_DATA_CALCULATORS_H__
21
#ifndef PACKET_DATA_CALCULATORS_H
22
#define __PACKET_DATA_CALCULATORS_H__
22
#define PACKET_DATA_CALCULATORS_H
23
23
24
#include "ns3/packet.h"
24
#include "ns3/packet.h"
25
#include "ns3/mac48-address.h"
25
#include "ns3/mac48-address.h"
 Lines 73-76    Link Here 
73
};
73
};
74
74
75
75
76
#endif // __PACKET_DATA_CALCULATORS_H__
76
#endif /* PACKET_DATA_CALCULATORS_H */
(-)a/src/stats/model/sqlite-data-output.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
19
 */
19
 */
20
20
21
#ifndef __SQLITE_DATA_OUTPUT_H__
21
#ifndef SQLITE_DATA_OUTPUT_H
22
#define __SQLITE_DATA_OUTPUT_H__
22
#define SQLITE_DATA_OUTPUT_H
23
23
24
#include "ns3/nstime.h"
24
#include "ns3/nstime.h"
25
25
 Lines 94-97    Link Here 
94
};
94
};
95
95
96
96
97
#endif // __SQLITE_DATA_OUTPUT_H__
97
#endif /* SQLITE_DATA_OUTPUT_H */
(-)a/src/stats/model/time-data-calculators.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
18
 * Author: Joe Kopena (tjkopena@cs.drexel.edu)
19
 */
19
 */
20
20
21
#ifndef __TIME_DATA_CALCULATORS_H__
21
#ifndef TIME_DATA_CALCULATORS_H
22
#define __TIME_DATA_CALCULATORS_H__
22
#define TIME_DATA_CALCULATORS_H
23
23
24
#include "ns3/nstime.h"
24
#include "ns3/nstime.h"
25
25
 Lines 61-64    Link Here 
61
};
61
};
62
62
63
63
64
#endif // __TIME_DATA_CALCULATORS_H__
64
#endif /* TIME_DATA_CALCULATORS_H */
(-)a/src/tap-bridge/model/tap-encode-decode.h (-1 / +1 lines)
 Lines 29-33    Link Here 
29
29
30
} // namespace ns3
30
} // namespace ns3
31
31
32
#endif // TAP_ENCODE_DECODE_H
32
#endif /* TAP_ENCODE_DECODE_H */
33
33
(-)a/src/topology-read/model/inet-topology-reader.h (-3 / +3 lines)
 Lines 19-26    Link Here 
19
 * Author: Valerio Sartini (valesar@gmail.com)
19
 * Author: Valerio Sartini (valesar@gmail.com)
20
 */
20
 */
21
21
22
#ifndef __INET_TOPOLOGY_READER_H__
22
#ifndef INET_TOPOLOGY_READER_H
23
#define __INET_TOPOLOGY_READER_H__
23
#define INET_TOPOLOGY_READER_H
24
24
25
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
26
26
 Lines 76-79    Link Here 
76
};
76
};
77
77
78
78
79
#endif // __INET_TOPOLOGY_READER_H__
79
#endif /* INET_TOPOLOGY_READER_H */
(-)a/src/topology-read/model/orbis-topology-reader.h (-4 / +3 lines)
 Lines 19-26    Link Here 
19
 * Author: Valerio Sartini (valesar@gmail.com)
19
 * Author: Valerio Sartini (valesar@gmail.com)
20
 */
20
 */
21
21
22
#ifndef __ORBIS_TOPOLOGY_READER_H__
22
#ifndef ORBIS_TOPOLOGY_READER_H
23
#define __ORBIS_TOPOLOGY_READER_H__
23
#define ORBIS_TOPOLOGY_READER_H
24
24
25
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
26
26
 Lines 71-76    Link Here 
71
};
71
};
72
72
73
73
74
#endif // __ORBIS_TOPOLOGY_READER_H__
74
#endif /* ORBIS_TOPOLOGY_READER_H */
75
75
76
(-)a/src/topology-read/model/rocketfuel-topology-reader.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Hajime Tazaki (tazaki@sfc.wide.ad.jp)
18
 * Author: Hajime Tazaki (tazaki@sfc.wide.ad.jp)
19
 */
19
 */
20
20
21
#ifndef __ROCKETFUEL_TOPOLOGY_READER_H__
21
#ifndef ROCKETFUEL_TOPOLOGY_READER_H
22
#define __ROCKETFUEL_TOPOLOGY_READER_H__
22
#define ROCKETFUEL_TOPOLOGY_READER_H
23
23
24
#include "ns3/nstime.h"
24
#include "ns3/nstime.h"
25
25
 Lines 84-89    Link Here 
84
};
84
};
85
85
86
86
87
#endif // __ROCKETFUEL_TOPOLOGY_READER_H__
87
#endif /* ROCKETFUEL_TOPOLOGY_READER_H */
88
88
89
89
(-)a/src/topology-read/model/topology-reader.h (-3 / +3 lines)
 Lines 19-26    Link Here 
19
 * Author: Valerio Sartini (valesar@gmail.com)
19
 * Author: Valerio Sartini (valesar@gmail.com)
20
 */
20
 */
21
21
22
#ifndef __TOPOLOGY_READER_H__
22
#ifndef TOPOLOGY_READER_H
23
#define __TOPOLOGY_READER_H__
23
#define TOPOLOGY_READER_H
24
24
25
#include <string>
25
#include <string>
26
#include <map>
26
#include <map>
 Lines 197-200    Link Here 
197
};
197
};
198
198
199
199
200
#endif // __TOPOLOGY_READER_H__
200
#endif /* TOPOLOGY_READER_H */
(-)a/src/uan/examples/uan-cw-example.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANCWEXAMPLE_H
21
#ifndef UAN_CW_EXAMPLE_H
22
#define UANCWEXAMPLE_H
22
#define UAN_CW_EXAMPLE_H
23
23
24
#include "ns3/network-module.h"
24
#include "ns3/network-module.h"
25
#include "ns3/tools-module.h"
25
#include "ns3/tools-module.h"
 Lines 64-67    Link Here 
64
  Experiment ();
64
  Experiment ();
65
};
65
};
66
66
67
#endif //UANCWEXAMPLE_H
67
#endif /* UAN_CW_EXAMPLE_H */
(-)a/src/uan/examples/uan-rc-example.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANRCEXAMPLE_H
21
#ifndef UAN_RC_EXAMPLE_H
22
#define UANRCEXAMPLE_H
22
#define UAN_RC_EXAMPLE_H
23
23
24
#include "ns3/network-module.h"
24
#include "ns3/network-module.h"
25
#include "ns3/tools-module.h"
25
#include "ns3/tools-module.h"
 Lines 61-64    Link Here 
61
61
62
};
62
};
63
63
64
#endif //UANRCEXAMPLE_H
64
#endif /* UAN_RC_EXAMPLE_H */
(-)a/src/uan/helper/uan-helper.h (-5 / +3 lines)
 Lines 15-26    Link Here 
15
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
 *
16
 *
17
 * Author: Leonard Tracy <lentracy@u.washington.edu>
17
 * Author: Leonard Tracy <lentracy@u.washington.edu>
18
 *
19
 *
20
 */
18
 */
21
19
22
#ifndef UANHELPER_H_
20
#ifndef UAN_HELPER_H
23
#define UANHELPER_H_
21
#define UAN_HELPER_H
24
22
25
#include <string>
23
#include <string>
26
#include "ns3/attribute.h"
24
#include "ns3/attribute.h"
 Lines 226-229    Link Here 
226
224
227
} // end namespace ns3
225
} // end namespace ns3
228
226
229
#endif /* UANHELPER_H_ */
227
#endif /* UAN_HELPER_H */
(-)a/src/uan/model/uan-address.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANADDRESS_H
21
#ifndef UAN_ADDRESS_H
22
#define UANADDRESS_H
22
#define UAN_ADDRESS_H
23
23
24
#include "ns3/address.h"
24
#include "ns3/address.h"
25
#include <iostream>
25
#include <iostream>
 Lines 126-129    Link Here 
126
126
127
} // namespace ns3
127
} // namespace ns3
128
128
129
#endif // UANADDRESS_H
129
#endif /* UAN_ADDRESS_H */
(-)a/src/uan/model/uan-channel.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANCHANNEL_H
21
#ifndef UAN_CHANNEL_H
22
#define UANCHANNEL_H
22
#define UAN_CHANNEL_H
23
23
24
#include "ns3/net-device.h"
24
#include "ns3/net-device.h"
25
#include "ns3/channel.h"
25
#include "ns3/channel.h"
 Lines 112-115    Link Here 
112
112
113
}
113
}
114
114
115
#endif // UANCHANNEL_H
115
#endif /* UAN_CHANNEL_H */
(-)a/src/uan/model/uan-header-common.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANHEADERCOMMON_H
21
#ifndef UAN_HEADER_COMMON_H
22
#define UANHEADERCOMMON_H
22
#define UAN_HEADER_COMMON_H
23
23
24
#include "ns3/header.h"
24
#include "ns3/header.h"
25
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
 Lines 93-96    Link Here 
93
93
94
}
94
}
95
95
96
#endif // UANHEADERCOMMON_H
96
#endif /* UAN_HEADER_COMMON_H */
(-)a/src/uan/model/uan-header-rc.h (-3 / +3 lines)
 Lines 19-26    Link Here 
19
 */
19
 */
20
20
21
21
22
#ifndef UANHEADERRC_H
22
#ifndef UAN_HEADER_RC_H
23
#define UANHEADERRC_H
23
#define UAN_HEADER_RC_H
24
24
25
#include "ns3/header.h"
25
#include "ns3/header.h"
26
#include "ns3/nstime.h"
26
#include "ns3/nstime.h"
 Lines 372-375    Link Here 
372
372
373
}
373
}
374
374
375
#endif // UANHEADERRC_H
375
#endif /* UAN_HEADER_RC_H */
(-)a/src/uan/model/uan-mac-aloha.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANMACALOHA_H
21
#ifndef UAN_MAC_ALOHA_H
22
#define UANMACALOHA_H
22
#define UAN_MAC_ALOHA_H
23
23
24
#include "uan-mac.h"
24
#include "uan-mac.h"
25
#include "uan-address.h"
25
#include "uan-address.h"
 Lines 82-85    Link Here 
82
82
83
}
83
}
84
84
85
#endif // UANMACALOHA_H
85
#endif /* UAN_MAC_ALOHA_H */
(-)a/src/uan/model/uan-mac-cw.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANMACCW_H
21
#ifndef UAN_MAC_CW_H
22
#define UANMACCW_H
22
#define UAN_MAC_CW_H
23
23
24
#include "ns3/uan-mac.h"
24
#include "ns3/uan-mac.h"
25
#include "ns3/nstime.h"
25
#include "ns3/nstime.h"
 Lines 126-129    Link Here 
126
126
127
}
127
}
128
128
129
#endif // UANMACCW_H
129
#endif /* UAN_MAC_CW_H */
(-)a/src/uan/model/uan-mac-rc-gw.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANMACRCGW_H
21
#ifndef UAN_MAC_RC_GW_H
22
#define UANMACRCGW_H
22
#define UAN_MAC_RC_GW_H
23
23
24
#include "uan-mac.h"
24
#include "uan-mac.h"
25
#include "uan-address.h"
25
#include "uan-address.h"
 Lines 164-167    Link Here 
164
164
165
}
165
}
166
166
167
#endif // UANMACRCGW_H
167
#endif /* UAN_MAC_RC_GW_H */
(-)a/src/uan/model/uan-mac-rc.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANMACRC_H
21
#ifndef UAN_MAC_RC_H
22
#define UANMACRC_H
22
#define UAN_MAC_RC_H
23
23
24
#include "uan-mac.h"
24
#include "uan-mac.h"
25
#include "uan-address.h"
25
#include "uan-address.h"
 Lines 214-217    Link Here 
214
214
215
}
215
}
216
216
217
#endif // UANMACRC_H
217
#endif /* UAN_MAC_RC_H */
(-)a/src/uan/model/uan-mac.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANMAC_H
21
#ifndef UAN_MAC_H
22
#define UANMAC_H
22
#define UAN_MAC_H
23
23
24
#include "ns3/address.h"
24
#include "ns3/address.h"
25
#include "ns3/object.h"
25
#include "ns3/object.h"
 Lines 93-96    Link Here 
93
93
94
}
94
}
95
95
96
#endif // UANMAC_H
96
#endif /* UAN_MAC_H */
(-)a/src/uan/model/uan-net-device.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANNETDEVICE_H
21
#ifndef UAN_NET_DEVICE_H
22
#define UANNETDEVICE_H
22
#define UAN_NET_DEVICE_H
23
23
24
#include "ns3/net-device.h"
24
#include "ns3/net-device.h"
25
#include "ns3/pointer.h"
25
#include "ns3/pointer.h"
 Lines 154-157    Link Here 
154
154
155
} // namespace ns3
155
} // namespace ns3
156
156
157
#endif // UANNETDEVICE_H 
157
#endif /* UAN_NET_DEVICE_H */
(-)a/src/uan/model/uan-noise-model-default.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANNOISEMODELDEFAULT_H
21
#ifndef UAN_NOISE_MODEL_DEFAULT_H
22
#define UANNOISEMODELDEFAULT_H
22
#define UAN_NOISE_MODEL_DEFAULT_H
23
23
24
#include "ns3/uan-noise-model.h"
24
#include "ns3/uan-noise-model.h"
25
#include "ns3/attribute.h"
25
#include "ns3/attribute.h"
 Lines 63-66    Link Here 
63
63
64
}
64
}
65
65
66
#endif // UANNOISEMODELDEFAULT_H
66
#endif /* UAN_NOISE_MODEL_DEFAULT_H */
(-)a/src/uan/model/uan-noise-model.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANNOISEMODEL_H
21
#ifndef UAN_NOISE_MODEL_H
22
#define UANNOISEMODEL_H
22
#define UAN_NOISE_MODEL_H
23
23
24
#include "ns3/object.h"
24
#include "ns3/object.h"
25
25
 Lines 44-47    Link Here 
44
44
45
} // namespace ns3
45
} // namespace ns3
46
46
47
#endif // UANNOISEMODEL_H
47
#endif /* UAN_NOISE_MODEL_H */
(-)a/src/uan/model/uan-phy-dual.h (-3 / +3 lines)
 Lines 19-26    Link Here 
19
 *         Andrea Sacco <andrea.sacco85@gmail.com>
19
 *         Andrea Sacco <andrea.sacco85@gmail.com>
20
 */
20
 */
21
21
22
#ifndef UANPHYDUAL_H
22
#ifndef UAN_PHY_DUAL_H
23
#define UANPHYDUAL_H
23
#define UAN_PHY_DUAL_H
24
24
25
#include "ns3/uan-phy.h"
25
#include "ns3/uan-phy.h"
26
26
 Lines 279-282    Link Here 
279
279
280
}
280
}
281
281
282
#endif // UANPHYDUAL_H
282
#endif /* UAN_PHY_DUAL_H */
(-)a/src/uan/model/uan-phy-gen.h (-3 / +3 lines)
 Lines 19-26    Link Here 
19
 *         Andrea Sacco <andrea.sacco85@gmail.com>
19
 *         Andrea Sacco <andrea.sacco85@gmail.com>
20
 */
20
 */
21
21
22
#ifndef UANPHYGEN_H
22
#ifndef UAN_PHY_GEN_H
23
#define UANPHYGEN_H
23
#define UAN_PHY_GEN_H
24
24
25
25
26
#include "uan-phy.h"
26
#include "uan-phy.h"
 Lines 261-264    Link Here 
261
261
262
} // namespace ns3
262
} // namespace ns3
263
263
264
#endif // UANPHYGEN_H
264
#endif /* UAN_PHY_GEN_H */
(-)a/src/uan/model/uan-phy.h (-3 / +3 lines)
 Lines 20-27    Link Here 
20
 */
20
 */
21
21
22
22
23
#ifndef UANPHY_H
23
#ifndef UAN_PHY_H
24
#define UANPHY_H
24
#define UAN_PHY_H
25
25
26
#include "ns3/object.h"
26
#include "ns3/object.h"
27
#include "ns3/uan-mac.h"
27
#include "ns3/uan-mac.h"
 Lines 378-381    Link Here 
378
378
379
}
379
}
380
380
381
#endif // UANPHY_H
381
#endif /* UAN_PHY_H */
(-)a/src/uan/model/uan-prop-model-ideal.h (-3 / +4 lines)
 Lines 18-29    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANPROPMODELIDEAL_H_
21
#ifndef UAN_PROP_MODEL_IDEAL_H
22
#define UANPROPMODELIDEAL_H_
22
#define UAN_PROP_MODEL_IDEAL_H
23
23
24
#include "uan-prop-model.h"
24
#include "uan-prop-model.h"
25
#include "ns3/mobility-model.h"
25
#include "ns3/mobility-model.h"
26
#include "ns3/nstime.h"
26
#include "ns3/nstime.h"
27
27
namespace ns3 {
28
namespace ns3 {
28
29
29
/**
30
/**
 Lines 47-50    Link Here 
47
48
48
}
49
}
49
50
50
#endif /*UANPROPMODELIDEAL_H_*/
51
#endif /* UAN_PROP_MODEL_IDEAL_H */
(-)a/src/uan/model/uan-prop-model-thorp.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANPROPMODELTHORP_H_
21
#ifndef UAN_PROP_MODEL_THORP_H
22
#define UANPROPMODELTHORP_H_
22
#define UAN_PROP_MODEL_THORP_H
23
23
24
#include "uan-prop-model.h"
24
#include "uan-prop-model.h"
25
25
 Lines 51-54    Link Here 
51
51
52
}
52
}
53
53
54
#endif /* UANPROPMODELTHORP_H_ */
54
#endif /* UAN_PROP_MODEL_THORP_H */
(-)a/src/uan/model/uan-prop-model.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANPROPMODEL_H_
21
#ifndef UAN_PROP_MODEL_H
22
#define UANPROPMODEL_H_
22
#define UAN_PROP_MODEL_H
23
23
24
#include "ns3/object.h"
24
#include "ns3/object.h"
25
#include "ns3/mobility-model.h"
25
#include "ns3/mobility-model.h"
 Lines 251-254    Link Here 
251
251
252
}
252
}
253
253
254
#endif /*UANPROPMODEL_H_*/
254
#endif /* UAN_PROP_MODEL_H */
(-)a/src/uan/model/uan-transducer-hd.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANTRANSDUCERHD_H_
21
#ifndef UAN_TRANSDUCER_HD_H
22
#define UANTRANSDUCERHD_H_
22
#define UAN_TRANSDUCER_HD_H
23
23
24
#include "uan-transducer.h"
24
#include "uan-transducer.h"
25
#include "ns3/simulator.h"
25
#include "ns3/simulator.h"
 Lines 69-72    Link Here 
69
69
70
}
70
}
71
71
72
#endif /*UANTRANSDUCERSIMPLE_H_*/
72
#endif /* UAN_TRANSDUCER_HD_H */
(-)a/src/uan/model/uan-transducer.h (-3 / +5 lines)
 Lines 17-24    Link Here 
17
 *
17
 *
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
#ifndef UANTRANSDUCER_H_
20
21
#define UANTRANSDUCER_H_
21
#ifndef UAN_TRANSDUCER_H
22
#define UAN_TRANSDUCER_H
22
23
23
#include "ns3/object.h"
24
#include "ns3/object.h"
24
#include "ns3/packet.h"
25
#include "ns3/packet.h"
 Lines 26-31    Link Here 
26
#include "ns3/uan-prop-model.h"
27
#include "ns3/uan-prop-model.h"
27
28
28
#include <list>
29
#include <list>
30
29
namespace ns3 {
31
namespace ns3 {
30
32
31
class UanPhy;
33
class UanPhy;
 Lines 195-198    Link Here 
195
197
196
} // namespace ns3
198
} // namespace ns3
197
199
198
#endif /*UANTRANSDUCER_H_*/
200
#endif /* UAN_TRANSDUCER_H */
(-)a/src/uan/model/uan-tx-mode.h (-3 / +3 lines)
 Lines 18-25    Link Here 
18
 * Author: Leonard Tracy <lentracy@gmail.com>
18
 * Author: Leonard Tracy <lentracy@gmail.com>
19
 */
19
 */
20
20
21
#ifndef UANTXMODE_H
21
#ifndef UAN_TX_MODE_H
22
#define UANTXMODE_H
22
#define UAN_TX_MODE_H
23
23
24
#include "ns3/object.h"
24
#include "ns3/object.h"
25
#include <map>
25
#include <map>
 Lines 205-208    Link Here 
205
205
206
} // namespace ns3
206
} // namespace ns3
207
207
208
#endif // UANTXMODE_H
208
#endif /* UAN_TX_MODE_H */
(-)a/src/wimax/model/bvec.h (-3 / +6 lines)
 Lines 18-28    Link Here 
18
 * Author: Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
18
 * Author: Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
19
 *                              <amine.ismail@udcast.com>
19
 *                              <amine.ismail@udcast.com>
20
 */
20
 */
21
#ifndef BVEC_H_
21
22
#define BVEC_H_
22
#ifndef BVEC_H
23
#define BVEC_H
24
23
#include <vector>
25
#include <vector>
24
26
25
namespace ns3 {
27
namespace ns3 {
26
typedef std::vector<bool> bvec;
28
typedef std::vector<bool> bvec;
27
}
29
}
28
#endif /* BVEC_H_ */
30
31
#endif /* BVEC_H */
(-)a/src/wimax/model/cs-parameters.h (-3 / +5 lines)
 Lines 20-29    Link Here 
20
 *
20
 *
21
 */
21
 */
22
22
23
#ifndef WIMAX_CS_PARAMETERS_H
24
#define WIMAX_CS_PARAMETERS_H
25
23
#include "ipcs-classifier-record.h"
26
#include "ipcs-classifier-record.h"
24
#include "wimax-tlv.h"
27
#include "wimax-tlv.h"
25
#ifndef CSPARAMETERS_H_
28
26
#define CSPARAMETERS_H_
27
namespace ns3 {
29
namespace ns3 {
28
30
29
/**
31
/**
 Lines 76-79    Link Here 
76
};
78
};
77
79
78
}
80
}
79
#endif /* CSPARAMETERS_H_ */
81
#endif /* WIMAX_CS_PARAMETERS_H */
(-)a/src/wimax/model/default-traces.h (-3 / +3 lines)
 Lines 33-40    Link Here 
33
33
34
34
35
35
36
#ifndef DEFAULTTRACES_H_
36
#ifndef WIMAX_DEFAULT_TRACES_H
37
#define DEFAULTTRACES_H_
37
#define WIMAX_DEFAULT_TRACES_H
38
38
39
double modulation0[6][29] = {
39
double modulation0[6][29] = {
40
40
 Lines 831-834    Link Here 
831
    0.01943 }
831
    0.01943 }
832
};
832
};
833
833
834
#endif /* DEFAULTTRACES_H_ */
834
#endif /* WIMAX_DEFAULT_TRACES_H */
(-)a/src/wimax/model/ipcs-classifier-record.h (-3 / +3 lines)
 Lines 19-26    Link Here 
19
 *
19
 *
20
 */
20
 */
21
21
22
#ifndef IPCS_CLASSIFIER_RECORD_H_
22
#ifndef IPCS_CLASSIFIER_RECORD_H
23
#define IPCS_CLASSIFIER_RECORD_H_
23
#define IPCS_CLASSIFIER_RECORD_H
24
24
25
#include <stdint.h>
25
#include <stdint.h>
26
#include "ns3/ipv4-address.h"
26
#include "ns3/ipv4-address.h"
 Lines 168-171    Link Here 
168
}
168
}
169
; // namespace ns3
169
; // namespace ns3
170
170
171
#endif /* IPCS_CLASSIFIER_RECORD2_H_ */
171
#endif /* IPCS_CLASSIFIER_RECORD_H */
(-)a/src/wimax/model/ipcs-classifier.h (-3 / +4 lines)
 Lines 19-26    Link Here 
19
 *
19
 *
20
 */
20
 */
21
21
22
#ifndef IPCSCLASSIFIER_H_
22
#ifndef IPCS_CLASSIFIER_H
23
#define IPCSCLASSIFIER_H_
23
#define IPCS_CLASSIFIER_H
24
24
#include <stdint.h>
25
#include <stdint.h>
25
#include <vector>
26
#include <vector>
26
#include "ss-service-flow-manager.h"
27
#include "ss-service-flow-manager.h"
 Lines 50-53    Link Here 
50
}
51
}
51
; // namespace ns3
52
; // namespace ns3
52
53
53
#endif /* IPCSCLASSIFIER_H_ */
54
#endif /* IPCS_CLASSIFIER_H */
(-)a/src/wimax/model/simple-ofdm-send-param.h (-4 / +5 lines)
 Lines 19-33    Link Here 
19
 *                              <amine.ismail@udcast.com>
19
 *                              <amine.ismail@udcast.com>
20
 */
20
 */
21
21
22
#ifndef SIMPLE_OFDM_SEND_PARAM_H
23
#define SIMPLE_OFDM_SEND_PARAM_H
24
22
#include <list>
25
#include <list>
23
#include "wimax-channel.h"
26
#include "wimax-channel.h"
24
#include "bvec.h"
27
#include "bvec.h"
25
#include "wimax-phy.h"
28
#include "wimax-phy.h"
26
#include "ns3/propagation-loss-model.h"
29
#include "ns3/propagation-loss-model.h"
27
30
28
#ifndef SIMPLEOFDMSENDPARAM_H_
29
#define SIMPLEOFDMSENDPARAM_H_
30
31
namespace ns3 {
31
namespace ns3 {
32
32
33
/**
33
/**
 Lines 121-124    Link Here 
121
121
122
};
122
};
123
} // namespace ns3
123
} // namespace ns3
124
#endif /* SIMPLEOFDMSENDPARAM_H_ */
124
125
#endif /* SIMPLE_OFDM_SEND_PARAM_H */
(-)a/src/wimax/model/snr-to-block-error-rate-manager.h (-3 / +3 lines)
 Lines 20-27    Link Here 
20
 */
20
 */
21
21
22
22
23
#ifndef SNRTOBLOCKERRORRATEMANAGER_H_
23
#ifndef SNR_TO_BLOCK_ERROR_RATE_MANAGER_H
24
#define SNRTOBLOCKERRORRATEMANAGER_H_
24
#define SNR_TO_BLOCK_ERROR_RATE_MANAGER_H
25
25
26
#include "ns3/snr-to-block-error-rate-record.h"
26
#include "ns3/snr-to-block-error-rate-record.h"
27
#include <vector>
27
#include <vector>
 Lines 101-104    Link Here 
101
};
101
};
102
}
102
}
103
103
104
#endif /* SNRTOBLOCKERRORRATEMANAGER_H_ */
104
#endif /* SNR_TO_BLOCK_ERROR_RATE_MANAGER_H */
(-)a/src/wimax/model/snr-to-block-error-rate-record.h (-3 / +4 lines)
 Lines 19-26    Link Here 
19
 *                              <amine.ismail@udcast.com>
19
 *                              <amine.ismail@udcast.com>
20
 */
20
 */
21
21
22
#ifndef SNRTOBLOCKERRORRATERECORD_H_
22
#ifndef SNR_TO_BLOCK_ERROR_RATE_RECORD_H
23
#define SNRTOBLOCKERRORRATERECORD_H_
23
#define SNR_TO_BLOCK_ERROR_RATE_RECORD_H
24
24
namespace ns3 {
25
namespace ns3 {
25
26
26
/**
27
/**
 Lines 109-112    Link Here 
109
110
110
}
111
}
111
112
112
#endif /* SNRTOBLOCKERRORRATE_H_ */
113
#endif /* SNR_TO_BLOCK_ERROR_RATE_RECORD_H */
(-)a/src/wimax/model/wimax-tlv.h (-7 / +6 lines)
 Lines 19-24    Link Here 
19
 *
19
 *
20
 */
20
 */
21
21
22
#ifndef WIMAX_TLV_H
23
#define WIMAX_TLV_H
24
25
#define WIMAX_TLV_EXTENDED_LENGTH_MASK 0x80
26
22
#include "ns3/ipv4-address.h"
27
#include "ns3/ipv4-address.h"
23
#include <stdlib.h>
28
#include <stdlib.h>
24
#include "ns3/log.h"
29
#include "ns3/log.h"
 Lines 27-38    Link Here 
27
#include "ns3/header.h"
32
#include "ns3/header.h"
28
#include <vector>
33
#include <vector>
29
34
30
#ifndef WIMAXTLV_H_
31
#define WIMAXTLV_H_
32
#define WIMAX_TLV_EXTENDED_LENGTH_MASK 0x80
33
34
35
36
namespace ns3 {
35
namespace ns3 {
37
36
38
/**
37
/**
 Lines 372-375    Link Here 
372
371
373
}
372
}
374
373
375
#endif /* TLV_H_ */
374
#endif /* WIMAX_TLV_H */

Return to bug 1203