A Discrete-Event Network Simulator
API
mesh-information-element-vector.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2009 IITP RAS
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation;
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16  *
17  * Authors: Kirill Andreev <andreev@iitp.ru>
18  * Pavel Boyko <boyko.iitp.ru>
19  */
20 
21 #ifndef MESH_INFORMATION_ELEMENT_VECTOR_H
22 #define MESH_INFORMATION_ELEMENT_VECTOR_H
23 
24 #include "ns3/wifi-information-element-vector.h"
25 
26 namespace ns3
27 {
28 
29 #define IE11S_MESH_PEERING_PROTOCOL_VERSION \
30  ((WifiInformationElementId)74) // to be removed (Protocol ID should be part of the Mesh Peering
31  // Management IE)
32 
34 {
35  public:
38 
43  static TypeId GetTypeId();
44  TypeId GetInstanceTypeId() const override;
45  uint32_t DeserializeSingleIe(Buffer::Iterator start) override;
46 };
47 
48 } // namespace ns3
49 
50 #endif
iterator in a Buffer instance
Definition: buffer.h:100
Introspection did not find any typical Config paths.
TypeId GetInstanceTypeId() const override
Get the most derived TypeId for this Object.
uint32_t DeserializeSingleIe(Buffer::Iterator start) override
Needed when you try to deserialize a lonely IE inside other header.
a unique identifier for an interface.
Definition: type-id.h:60
Every class exported by the ns3 library is enclosed in the ns3 namespace.