OLD | NEW |
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) 2008 INRIA | 3 * Copyright (c) 2008 INRIA |
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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 void SetPcapDataLinkType (enum SupportedPcapDataLinkTypes dlt); | 245 void SetPcapDataLinkType (enum SupportedPcapDataLinkTypes dlt); |
246 | 246 |
247 private: | 247 private: |
248 /** | 248 /** |
249 * \param node the node on which we wish to create a wifi PHY | 249 * \param node the node on which we wish to create a wifi PHY |
250 * \param device the device within which this PHY will be created | 250 * \param device the device within which this PHY will be created |
251 * \returns a newly-created PHY object. | 251 * \returns a newly-created PHY object. |
252 * | 252 * |
253 * This method implements the pure virtual method defined in \ref ns3::WifiPhy
Helper. | 253 * This method implements the pure virtual method defined in \ref ns3::WifiPhy
Helper. |
254 */ | 254 */ |
255 virtual Ptr<WifiPhy> Create (Ptr<Node> node, Ptr<WifiNetDevice> device) const; | 255 virtual Ptr<WifiPhy> Create (Ptr<Node> node, Ptr<NetDevice> device) const; |
256 | 256 |
257 /** | 257 /** |
258 * @brief Enable pcap output the indicated net device. | 258 * @brief Enable pcap output the indicated net device. |
259 * | 259 * |
260 * NetDevice-specific implementation mechanism for hooking the trace and | 260 * NetDevice-specific implementation mechanism for hooking the trace and |
261 * writing to the trace file. | 261 * writing to the trace file. |
262 * | 262 * |
263 * @param prefix Filename prefix to use for pcap files. | 263 * @param prefix Filename prefix to use for pcap files. |
264 * @param nd Net device for which you want to enable tracing. | 264 * @param nd Net device for which you want to enable tracing. |
265 * @param promiscuous If true capture all possible packets available at the de
vice. | 265 * @param promiscuous If true capture all possible packets available at the de
vice. |
(...skipping 23 matching lines...) Expand all Loading... |
289 | 289 |
290 ObjectFactory m_phy; | 290 ObjectFactory m_phy; |
291 ObjectFactory m_errorRateModel; | 291 ObjectFactory m_errorRateModel; |
292 Ptr<YansWifiChannel> m_channel; | 292 Ptr<YansWifiChannel> m_channel; |
293 uint32_t m_pcapDlt; | 293 uint32_t m_pcapDlt; |
294 }; | 294 }; |
295 | 295 |
296 } // namespace ns3 | 296 } // namespace ns3 |
297 | 297 |
298 #endif /* YANS_WIFI_HELPER_H */ | 298 #endif /* YANS_WIFI_HELPER_H */ |
OLD | NEW |