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) 2009 INRIA, UDcast | 3 * Copyright (c) 2009 INRIA, UDcast |
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 Ptr<Packet> CreateDsaAck (void); | 84 Ptr<Packet> CreateDsaAck (void); |
85 | 85 |
86 void ScheduleDsaReq (const ServiceFlow *serviceFlow); | 86 void ScheduleDsaReq (const ServiceFlow *serviceFlow); |
87 | 87 |
88 void ProcessDsaRsp (const DsaRsp &dsaRsp); | 88 void ProcessDsaRsp (const DsaRsp &dsaRsp); |
89 | 89 |
90 | 90 |
91 private: | 91 private: |
92 Ptr<SubscriberStationNetDevice> m_device; | 92 Ptr<SubscriberStationNetDevice> m_device; |
93 | 93 |
94 uint32_t m_sfidIndex; | |
95 | |
96 uint8_t m_maxDsaReqRetries; | 94 uint8_t m_maxDsaReqRetries; |
97 | 95 |
98 EventId m_dsaRspTimeoutEvent; | 96 EventId m_dsaRspTimeoutEvent; |
99 EventId m_dsaAckTimeoutEvent; | 97 EventId m_dsaAckTimeoutEvent; |
100 | 98 |
101 DsaReq m_dsaReq; | 99 DsaReq m_dsaReq; |
102 DsaAck m_dsaAck; | 100 DsaAck m_dsaAck; |
103 | 101 |
104 uint16_t m_currentTransactionId; | 102 uint16_t m_currentTransactionId; |
105 uint16_t m_transactionIdIndex; | 103 uint16_t m_transactionIdIndex; |
106 uint8_t m_dsaReqRetries; | 104 uint8_t m_dsaReqRetries; |
107 | 105 |
108 // pointer to the service flow currently being configured | 106 // pointer to the service flow currently being configured |
109 ServiceFlow *m_pendingServiceFlow; | 107 ServiceFlow *m_pendingServiceFlow; |
110 | 108 |
111 | 109 |
112 }; | 110 }; |
113 | 111 |
114 } // namespace ns3 | 112 } // namespace ns3 |
115 | 113 |
116 #endif /* SS_SERVICE_FLOW_MANAGER_H */ | 114 #endif /* SS_SERVICE_FLOW_MANAGER_H */ |
OLD | NEW |