A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
block-ack-type.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018
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 * Author: Sébastien Deronne <sebastien.deronne@gmail.com>
18 */
19
20#ifndef BLOCK_ACK_TYPE_H
21#define BLOCK_ACK_TYPE_H
22
23#include <cstdint>
24#include <ostream>
25#include <vector>
26
27namespace ns3
28{
29
35{
41 {
47 };
48
50 std::vector<uint8_t> m_bitmapLen;
51
69 BlockAckType(Variant v, std::vector<uint8_t> l);
70};
71
77{
83 {
88 };
89
93
111 BlockAckReqType(Variant v, uint8_t nSeqControls);
112};
113
121std::ostream& operator<<(std::ostream& os, const BlockAckType& type);
122
130std::ostream& operator<<(std::ostream& os, const BlockAckReqType& type);
131
132} // namespace ns3
133
134#endif /* BLOCK_ACK_TYPE_H */
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::ostream & operator<<(std::ostream &os, const Angles &a)
Definition: angles.cc:129
The different BlockAckRequest variants.
uint8_t m_nSeqControls
Number of included Starting Sequence Control fields.
BlockAckReqType()
Default constructor for BlockAckReqType.
Variant
The BlockAckReq variants.
Variant m_variant
Block Ack Request variant.
The different BlockAck variants.
BlockAckType()
Default constructor for BlockAckType.
Variant
The BlockAck variants.
Variant m_variant
Block Ack variant.
std::vector< uint8_t > m_bitmapLen
Length (bytes) of included bitmaps.