Alexander Afanasyev | c74a602 | 2011-08-15 20:01:35 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
Alexander Afanasyev | 7112f48 | 2011-08-17 14:05:57 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2011 University of California, Los Angeles |
| 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: Alexander Afanasyev <alexander.afanasyev@ucla.edu> |
| 19 | */ |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 20 | |
| 21 | #ifndef CCNX_L3_PROTOCOL_H |
| 22 | #define CCNX_L3_PROTOCOL_H |
| 23 | |
| 24 | #include <list> |
| 25 | #include <vector> |
| 26 | #include <stdint.h> |
| 27 | #include "ns3/ptr.h" |
| 28 | #include "ns3/net-device.h" |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 29 | #include "ns3/traced-callback.h" |
Ilya Moiseenko | d83eb0d | 2011-11-16 15:23:46 -0800 | [diff] [blame] | 30 | #include "ns3/nstime.h" |
| 31 | #include "ns3/simulator.h" |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 32 | |
Ilya Moiseenko | 172763c | 2011-10-28 13:21:53 -0700 | [diff] [blame] | 33 | #include "ns3/ccnx-producer-helper.h" |
Alexander Afanasyev | a67e28c | 2011-08-31 21:16:25 -0700 | [diff] [blame] | 34 | #include "ccnx-content-store.h" |
Alexander Afanasyev | a67e28c | 2011-08-31 21:16:25 -0700 | [diff] [blame] | 35 | #include "ccnx-pit.h" |
| 36 | #include "ccnx-fib.h" |
| 37 | |
Alexander Afanasyev | 45b92d4 | 2011-08-14 23:11:38 -0700 | [diff] [blame] | 38 | #include "ccnx.h" |
| 39 | |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 40 | namespace ns3 { |
| 41 | |
| 42 | class Packet; |
| 43 | class NetDevice; |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 44 | class Node; |
Alexander Afanasyev | 45b92d4 | 2011-08-14 23:11:38 -0700 | [diff] [blame] | 45 | class CcnxFace; |
| 46 | class CcnxRoute; |
Alexander Afanasyev | c74a602 | 2011-08-15 20:01:35 -0700 | [diff] [blame] | 47 | class CcnxForwardingStrategy; |
| 48 | class Header; |
| 49 | class CcnxInterestHeader; |
| 50 | class CcnxContentObjectHeader; |
Ilya Moiseenko | 172763c | 2011-10-28 13:21:53 -0700 | [diff] [blame] | 51 | |
| 52 | |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 53 | /** |
Alexander Afanasyev | 7112f48 | 2011-08-17 14:05:57 -0700 | [diff] [blame] | 54 | * \ingroup ccnx |
| 55 | * \brief Actual implementation of the Ccnx network layer |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 56 | * |
Alexander Afanasyev | 7112f48 | 2011-08-17 14:05:57 -0700 | [diff] [blame] | 57 | * \todo This description is incorrect. Should be changed accordingly |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 58 | * |
| 59 | * This class contains two distinct groups of trace sources. The |
| 60 | * trace sources 'Rx' and 'Tx' are called, respectively, immediately |
| 61 | * after receiving from the NetDevice and immediately before sending |
| 62 | * to a NetDevice for transmitting a packet. These are low level |
| 63 | * trace sources that include the CcnxHeader already serialized into |
| 64 | * the packet. In contrast, the Drop, SendOutgoing, UnicastForward, |
| 65 | * and LocalDeliver trace sources are slightly higher-level and pass |
| 66 | * around the CcnxHeader as an explicit parameter and not as part of |
| 67 | * the packet. |
| 68 | */ |
| 69 | class CcnxL3Protocol : public Ccnx |
| 70 | { |
| 71 | public: |
Alexander Afanasyev | 7112f48 | 2011-08-17 14:05:57 -0700 | [diff] [blame] | 72 | /** |
| 73 | * \brief Interface ID |
| 74 | * |
| 75 | * \return interface ID |
| 76 | */ |
Alexander Afanasyev | 56f79ea | 2011-08-17 23:54:27 -0700 | [diff] [blame] | 77 | static TypeId GetTypeId (); |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 78 | |
Alexander Afanasyev | 7112f48 | 2011-08-17 14:05:57 -0700 | [diff] [blame] | 79 | static const uint16_t ETHERNET_FRAME_TYPE; ///< \brief Ethernet Frame Type of CCNx |
Alexander Afanasyev | 0782718 | 2011-12-13 01:07:32 -0800 | [diff] [blame] | 80 | // static const uint16_t IP_PROTOCOL_TYPE; ///< \brief IP protocol type of CCNx |
| 81 | // static const uint16_t UDP_PORT; ///< \brief UDP port of CCNx |
Alexander Afanasyev | 7112f48 | 2011-08-17 14:05:57 -0700 | [diff] [blame] | 82 | |
| 83 | /** |
| 84 | * \brief Default constructor. Creates an empty stack without forwarding strategy set |
| 85 | */ |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 86 | CcnxL3Protocol(); |
| 87 | virtual ~CcnxL3Protocol (); |
| 88 | |
| 89 | /** |
| 90 | * \enum DropReason |
| 91 | * \brief Reason why a packet has been dropped. |
| 92 | */ |
| 93 | enum DropReason |
| 94 | { |
Alexander Afanasyev | cf133f0 | 2011-09-06 12:13:48 -0700 | [diff] [blame] | 95 | NDN_DUPLICATE_INTEREST, ///< \brief Duplicate Interest |
| 96 | NDN_SUPPRESSED_INTEREST, ///< \brief Suppressed Interest |
Ilya Moiseenko | 816de83 | 2011-12-15 16:32:24 -0800 | [diff] [blame] | 97 | NDN_UNSOLICITED_DATA, ///< \brief Unsolicited ContentObject(duplicate?) |
Ilya Moiseenko | 172763c | 2011-10-28 13:21:53 -0700 | [diff] [blame] | 98 | NDN_PIT_TIMER_EXPIRED, |
Alexander Afanasyev | cf133f0 | 2011-09-06 12:13:48 -0700 | [diff] [blame] | 99 | INTERFACE_DOWN, ///< \brief Interface is down |
Alexander Afanasyev | 78cf0c9 | 2011-09-01 19:57:14 -0700 | [diff] [blame] | 100 | |
Ilya Moiseenko | 816de83 | 2011-12-15 16:32:24 -0800 | [diff] [blame] | 101 | NACK_SUPPRESSED, |
| 102 | NACK_AFTER_SATISFIED, |
| 103 | NACK_NONDUPLICATE, |
| 104 | |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 105 | DROP_NO_ROUTE, /**< No route to host */ |
Alexander Afanasyev | bdc0d98 | 2011-12-16 01:15:26 -0800 | [diff] [blame] | 106 | }; |
Alexander Afanasyev | 78cf0c9 | 2011-09-01 19:57:14 -0700 | [diff] [blame] | 107 | |
| 108 | /** |
| 109 | * \enum DropReason |
| 110 | * \brief Description of where content object was originated |
| 111 | */ |
| 112 | enum ContentObjectSource |
| 113 | { |
| 114 | APPLICATION, |
| 115 | FORWARDED, |
| 116 | CACHED |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 117 | }; |
| 118 | |
Alexander Afanasyev | 7112f48 | 2011-08-17 14:05:57 -0700 | [diff] [blame] | 119 | /** |
| 120 | * \brief Assigns node to the CCNx stack |
| 121 | * |
| 122 | * \param node Simulation node |
| 123 | */ |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 124 | void SetNode (Ptr<Node> node); |
| 125 | |
Alexander Afanasyev | 7112f48 | 2011-08-17 14:05:57 -0700 | [diff] [blame] | 126 | //////////////////////////////////////////////////////////////////// |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 127 | // functions defined in base class Ccnx |
Alexander Afanasyev | 9825610 | 2011-08-14 01:00:02 -0700 | [diff] [blame] | 128 | |
Alexander Afanasyev | c74a602 | 2011-08-15 20:01:35 -0700 | [diff] [blame] | 129 | void SetForwardingStrategy (Ptr<CcnxForwardingStrategy> forwardingStrategy); |
Alexander Afanasyev | 56f79ea | 2011-08-17 23:54:27 -0700 | [diff] [blame] | 130 | Ptr<CcnxForwardingStrategy> GetForwardingStrategy () const; |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 131 | |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 132 | // virtual void SendInterest (const Ptr<CcnxFace> &face, |
| 133 | // const Ptr<const CcnxInterestHeader> &header, |
| 134 | // const Ptr<Packet> &packet); |
| 135 | // virtual void SendContentObject (const Ptr<CcnxFace> &face, |
| 136 | // const Ptr<const CcnxContentObjectHeader> &header, |
| 137 | // const Ptr<Packet> &packet); |
Alexander Afanasyev | 7112f48 | 2011-08-17 14:05:57 -0700 | [diff] [blame] | 138 | |
Alexander Afanasyev | c5a23e2 | 2011-09-07 00:37:36 -0700 | [diff] [blame] | 139 | virtual uint32_t |
| 140 | AddFace (const Ptr<CcnxFace> &face); |
| 141 | |
| 142 | virtual uint32_t |
| 143 | GetNFaces () const; |
| 144 | |
| 145 | virtual Ptr<CcnxFace> |
| 146 | GetFace (uint32_t face) const; |
Alexander Afanasyev | 7112f48 | 2011-08-17 14:05:57 -0700 | [diff] [blame] | 147 | |
Alexander Afanasyev | c5a23e2 | 2011-09-07 00:37:36 -0700 | [diff] [blame] | 148 | virtual void |
| 149 | RemoveFace (Ptr<CcnxFace> face); |
Alexander Afanasyev | 52e9aa9 | 2011-11-15 20:23:20 -0800 | [diff] [blame] | 150 | |
| 151 | virtual Ptr<CcnxFace> |
| 152 | GetFaceByNetDevice (Ptr<NetDevice> netDevice) const; |
Alexander Afanasyev | c5a23e2 | 2011-09-07 00:37:36 -0700 | [diff] [blame] | 153 | |
Ilya Moiseenko | 172763c | 2011-10-28 13:21:53 -0700 | [diff] [blame] | 154 | Ptr<CcnxPit> GetPit(); |
Ilya Moiseenko | d83eb0d | 2011-11-16 15:23:46 -0800 | [diff] [blame] | 155 | |
Alexander Afanasyev | a46844b | 2011-11-21 19:13:26 -0800 | [diff] [blame] | 156 | // void ScheduleLeakage(); |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 157 | private: |
| 158 | void |
| 159 | Receive (const Ptr<CcnxFace> &face, const Ptr<const Packet> &p); |
| 160 | |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 161 | /** |
Alexander Afanasyev | 78cf0c9 | 2011-09-01 19:57:14 -0700 | [diff] [blame] | 162 | * \brief Actual processing of incoming CCNx interests. Note, interests do not have payload |
Alexander Afanasyev | c74a602 | 2011-08-15 20:01:35 -0700 | [diff] [blame] | 163 | * |
| 164 | * Processing Interest packets |
Alexander Afanasyev | 78cf0c9 | 2011-09-01 19:57:14 -0700 | [diff] [blame] | 165 | * @param face incoming face |
| 166 | * @param header deserialized Interest header |
| 167 | * @param packet original packet |
Alexander Afanasyev | 9825610 | 2011-08-14 01:00:02 -0700 | [diff] [blame] | 168 | */ |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 169 | void |
Alexander Afanasyev | a67e28c | 2011-08-31 21:16:25 -0700 | [diff] [blame] | 170 | OnInterest (const Ptr<CcnxFace> &face, |
| 171 | Ptr<CcnxInterestHeader> &header, |
Alexander Afanasyev | 78cf0c9 | 2011-09-01 19:57:14 -0700 | [diff] [blame] | 172 | const Ptr<const Packet> &p); |
Alexander Afanasyev | c74a602 | 2011-08-15 20:01:35 -0700 | [diff] [blame] | 173 | |
Alexander Afanasyev | a46844b | 2011-11-21 19:13:26 -0800 | [diff] [blame] | 174 | /** |
| 175 | * \brief Processing of incoming CCNx NACKs. Note, these packets, like interests, do not have payload |
| 176 | * |
| 177 | * Processing NACK packets |
| 178 | * @param face incoming face |
| 179 | * @param header deserialized Interest header |
| 180 | * @param packet original packet |
| 181 | */ |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 182 | void |
Alexander Afanasyev | a46844b | 2011-11-21 19:13:26 -0800 | [diff] [blame] | 183 | OnNack (const Ptr<CcnxFace> &face, |
| 184 | Ptr<CcnxInterestHeader> &header, |
| 185 | const Ptr<const Packet> &p); |
Alexander Afanasyev | c74a602 | 2011-08-15 20:01:35 -0700 | [diff] [blame] | 186 | |
| 187 | /** |
Alexander Afanasyev | 0ab833e | 2011-08-18 15:49:13 -0700 | [diff] [blame] | 188 | * \brief Actual processing of incoming CCNx content objects |
Alexander Afanasyev | c74a602 | 2011-08-15 20:01:35 -0700 | [diff] [blame] | 189 | * |
| 190 | * Processing ContentObject packets |
Alexander Afanasyev | 78cf0c9 | 2011-09-01 19:57:14 -0700 | [diff] [blame] | 191 | * @param face incoming face |
| 192 | * @param header deserialized ContentObject header |
| 193 | * @param payload data packet payload |
| 194 | * @param packet original packet |
Alexander Afanasyev | c74a602 | 2011-08-15 20:01:35 -0700 | [diff] [blame] | 195 | */ |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 196 | void |
Alexander Afanasyev | a67e28c | 2011-08-31 21:16:25 -0700 | [diff] [blame] | 197 | OnData (const Ptr<CcnxFace> &face, |
| 198 | Ptr<CcnxContentObjectHeader> &header, |
Alexander Afanasyev | 78cf0c9 | 2011-09-01 19:57:14 -0700 | [diff] [blame] | 199 | Ptr<Packet> &payload, |
| 200 | const Ptr<const Packet> &packet); |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 201 | |
| 202 | protected: |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 203 | virtual void DoDispose (void); |
Alexander Afanasyev | 7112f48 | 2011-08-17 14:05:57 -0700 | [diff] [blame] | 204 | |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 205 | /** |
| 206 | * This function will notify other components connected to the node that a new stack member is now connected |
| 207 | * This will be used to notify Layer 3 protocol of layer 4 protocol stack to connect them together. |
| 208 | */ |
| 209 | virtual void NotifyNewAggregate (); |
Alexander Afanasyev | 9825610 | 2011-08-14 01:00:02 -0700 | [diff] [blame] | 210 | |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 211 | private: |
Alexander Afanasyev | 7112f48 | 2011-08-17 14:05:57 -0700 | [diff] [blame] | 212 | CcnxL3Protocol(const CcnxL3Protocol &); ///< copy constructor is disabled |
| 213 | CcnxL3Protocol &operator = (const CcnxL3Protocol &); ///< copy operator is disabled |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 214 | |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 215 | /// \brief Set buckets leak interval |
| 216 | void |
| 217 | SetBucketLeakInterval (Time interval); |
| 218 | |
| 219 | /// \brief Get buckets leak interval |
| 220 | Time |
| 221 | GetBucketLeakInterval () const; |
Alexander Afanasyev | cf133f0 | 2011-09-06 12:13:48 -0700 | [diff] [blame] | 222 | |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 223 | /// \brief Periodically generate pre-calculated number of tokens (leak buckets) |
Alexander Afanasyev | 9d313d4 | 2011-11-25 13:36:15 -0800 | [diff] [blame] | 224 | void |
| 225 | LeakBuckets (); |
| 226 | |
| 227 | void |
| 228 | GiveUpInterest (const CcnxPitEntry &pitEntry, |
| 229 | Ptr<CcnxInterestHeader> header); |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 230 | |
Alexander Afanasyev | 9825610 | 2011-08-14 01:00:02 -0700 | [diff] [blame] | 231 | private: |
Alexander Afanasyev | 0ab833e | 2011-08-18 15:49:13 -0700 | [diff] [blame] | 232 | uint32_t m_faceCounter; ///< \brief counter of faces. Increased every time a new face is added to the stack |
Alexander Afanasyev | 9825610 | 2011-08-14 01:00:02 -0700 | [diff] [blame] | 233 | typedef std::vector<Ptr<CcnxFace> > CcnxFaceList; |
Alexander Afanasyev | 0ab833e | 2011-08-18 15:49:13 -0700 | [diff] [blame] | 234 | CcnxFaceList m_faces; ///< \brief list of faces that belongs to ccnx stack on this node |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 235 | |
Alexander Afanasyev | 0ab833e | 2011-08-18 15:49:13 -0700 | [diff] [blame] | 236 | Ptr<Node> m_node; ///< \brief node on which ccnx stack is installed |
| 237 | Ptr<CcnxForwardingStrategy> m_forwardingStrategy; ///< \brief smart pointer to the selected forwarding strategy |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 238 | |
Alexander Afanasyev | a46844b | 2011-11-21 19:13:26 -0800 | [diff] [blame] | 239 | // Ptr<CcnxRit> m_rit; ///< \brief RIT (recently interest table) |
Alexander Afanasyev | cf133f0 | 2011-09-06 12:13:48 -0700 | [diff] [blame] | 240 | Ptr<CcnxPit> m_pit; ///< \brief PIT (pending interest table) |
Alexander Afanasyev | c5a23e2 | 2011-09-07 00:37:36 -0700 | [diff] [blame] | 241 | Ptr<CcnxFib> m_fib; ///< \brief FIB |
Alexander Afanasyev | cf133f0 | 2011-09-06 12:13:48 -0700 | [diff] [blame] | 242 | Ptr<CcnxContentStore> m_contentStore; ///< \brief Content store (for caching purposes only) |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 243 | |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 244 | Time m_bucketLeakInterval; |
| 245 | EventId m_bucketLeakEvent; |
Alexander Afanasyev | a67e28c | 2011-08-31 21:16:25 -0700 | [diff] [blame] | 246 | |
Ilya Moiseenko | 816de83 | 2011-12-15 16:32:24 -0800 | [diff] [blame] | 247 | TracedCallback<Ptr<const CcnxInterestHeader>, |
Alexander Afanasyev | bdc0d98 | 2011-12-16 01:15:26 -0800 | [diff] [blame] | 248 | Ptr<Ccnx>, Ptr<const CcnxFace> > m_receivedInterestsTrace; |
| 249 | |
Ilya Moiseenko | 816de83 | 2011-12-15 16:32:24 -0800 | [diff] [blame] | 250 | TracedCallback<Ptr<const CcnxInterestHeader>, |
Alexander Afanasyev | bdc0d98 | 2011-12-16 01:15:26 -0800 | [diff] [blame] | 251 | Ptr<Ccnx>, Ptr<const CcnxFace> > m_transmittedInterestsTrace; |
| 252 | |
Ilya Moiseenko | 816de83 | 2011-12-15 16:32:24 -0800 | [diff] [blame] | 253 | TracedCallback<Ptr<const CcnxInterestHeader>, |
Alexander Afanasyev | bdc0d98 | 2011-12-16 01:15:26 -0800 | [diff] [blame] | 254 | DropReason, |
| 255 | Ptr<Ccnx>, Ptr<const CcnxFace> > m_droppedInterestsTrace; |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 256 | |
Ilya Moiseenko | 816de83 | 2011-12-15 16:32:24 -0800 | [diff] [blame] | 257 | TracedCallback<Ptr<const CcnxContentObjectHeader>, |
Alexander Afanasyev | bdc0d98 | 2011-12-16 01:15:26 -0800 | [diff] [blame] | 258 | Ptr<const Packet>,/*payload*/ |
| 259 | Ptr<Ccnx>, Ptr<const CcnxFace> > m_receivedDataTrace; |
| 260 | |
Ilya Moiseenko | 816de83 | 2011-12-15 16:32:24 -0800 | [diff] [blame] | 261 | TracedCallback<Ptr<const CcnxContentObjectHeader>, |
| 262 | Ptr<const Packet>,/*payload*/ |
| 263 | ContentObjectSource, |
| 264 | Ptr<Ccnx>, Ptr<const CcnxFace> > m_transmittedDataTrace; |
| 265 | TracedCallback<Ptr<const CcnxContentObjectHeader>, |
| 266 | Ptr<const Packet>,/*payload*/ |
| 267 | DropReason, |
| 268 | Ptr<Ccnx>, Ptr<const CcnxFace> > m_droppedDataTrace; |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 269 | }; |
| 270 | |
| 271 | } // Namespace ns3 |
| 272 | |
| 273 | #endif /* CCNX_L3_PROTOCOL_H */ |