A Discrete-Event Network Simulator
API
block-ack-type.h
Go to the documentation of this file.
1/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/*
3 * Copyright (c) 2018
4 *
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
7 * published by the Free Software Foundation;
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
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
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 * Author: S├ębastien Deronne <sebastien.deronne@gmail.com>
19 */
20
21#ifndef BLOCK_ACK_TYPE_H
22#define BLOCK_ACK_TYPE_H
23
24#include <ostream>
25#include <vector>
26
27namespace ns3 {
28
34{
40 {
46 };
48 std::vector<uint8_t> m_bitmapLen;
49
53 BlockAckType ();
67 BlockAckType (Variant v, std::vector<uint8_t> l);
68};
69
75{
81 {
86 };
90
108 BlockAckReqType (Variant v, uint8_t nSeqControls);
109};
110
118std::ostream &operator << (std::ostream &os, const BlockAckType &type);
119
127std::ostream &operator << (std::ostream &os, const BlockAckReqType &type);
128
129} //namespace ns3
130
131#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:139
The different BlockAckRequest variants.
enum Variant m_variant
Block Ack Request variant.
uint8_t m_nSeqControls
Number of included Starting Sequence Control fields.
BlockAckReqType()
Default constructor for BlockAckReqType.
Variant
The BlockAckReq variants.
The different BlockAck variants.
BlockAckType()
Default constructor for BlockAckType.
Variant
The BlockAck variants.
enum Variant m_variant
Block Ack variant.
std::vector< uint8_t > m_bitmapLen
Length (bytes) of included bitmaps.