View | Details | Raw Unified | Return to bug 1595
Collapse All | Expand All

(-)a/src/dsr/helper/dsr-main-helper.h (-2 lines)
 Lines 58-65    Link Here 
58
  DsrMainHelper (const DsrMainHelper &);
58
  DsrMainHelper (const DsrMainHelper &);
59
  void Install (DsrHelper &dsrHelper, NodeContainer nodes);
59
  void Install (DsrHelper &dsrHelper, NodeContainer nodes);
60
  void SetDsrHelper (DsrHelper &dsrHelper);
60
  void SetDsrHelper (DsrHelper &dsrHelper);
61
  void SetRouteCache (Ptr<dsr::RouteCache> routeCache);
62
  void SetRreqTable (Ptr<dsr::RreqTable> rreqTable);
63
61
64
private:
62
private:
65
  void Install (Ptr<Node> node);
63
  void Install (Ptr<Node> node);
(-)a/src/dsr/model/dsr-maintain-buff.h (-1 lines)
 Lines 213-219    Link Here 
213
  bool Dequeue (Ipv4Address dst, MaintainBuffEntry & entry);
213
  bool Dequeue (Ipv4Address dst, MaintainBuffEntry & entry);
214
  // / Remove all packets with destination IP address dst
214
  // / Remove all packets with destination IP address dst
215
  void DropPacketWithNextHop (Ipv4Address nextHop);
215
  void DropPacketWithNextHop (Ipv4Address nextHop);
216
  bool FindMaintainEntry (Ptr<Packet> packet, Ipv4Address ourAdd, Ipv4Address src, Ipv4Address nextHop, Ipv4Address dst, NetworkKey networkKey);
217
  // / Finds whether a packet with destination dst exists in the queue
216
  // / Finds whether a packet with destination dst exists in the queue
218
  bool Find (Ipv4Address nextHop);
217
  bool Find (Ipv4Address nextHop);
219
  // / Number of entries
218
  // / Number of entries
(-)a/src/dsr/model/dsr-option-header.h (-16 lines)
 Lines 338-353    Link Here 
338
   */
338
   */
339
  Ipv4Address GetNodeAddress (uint8_t index) const;
339
  Ipv4Address GetNodeAddress (uint8_t index) const;
340
  /**
340
  /**
341
   * \brief Set the data length.
342
   * \param dataLength the data length
343
   */
344
  void SetDataLength (uint32_t dataLength);
345
  /**
346
   * \brief Get the data length.
347
   * \return the data length
348
   */
349
  uint32_t GetDataLength () const;
350
  /**
351
   * \brief Set the request id number.
341
   * \brief Set the request id number.
352
   * \param the identification number
342
   * \param the identification number
353
   */
343
   */
 Lines 512-523    Link Here 
512
   * \return the router IPv4 Address
502
   * \return the router IPv4 Address
513
   */
503
   */
514
  Ipv4Address GetNodeAddress (uint8_t index) const;
504
  Ipv4Address GetNodeAddress (uint8_t index) const;
515
  /*
516
   * \brief Search the next hop Ipv4 address
517
   * \param Our own IP address
518
   * \return The next hop address of the route
519
   */
520
  Ipv4Address SearchNextHop (Ipv4Address ipv4Address);
521
  /**
505
  /**
522
   * \brief Print some informations about the packet.
506
   * \brief Print some informations about the packet.
523
   * \param os output stream
507
   * \param os output stream
(-)a/src/dsr/model/dsr-options.h (-8 lines)
 Lines 153-166    Link Here 
153
   */
153
   */
154
  void RemoveDuplicates (std::vector<Ipv4Address>& vec);
154
  void RemoveDuplicates (std::vector<Ipv4Address>& vec);
155
  /*
155
  /*
156
   * \brief Schedule the intermediate node route request broadcast
157
   * \param the original packet
158
   * \param rrepHeader The rrep header
159
   * \param source address
160
   * \param destination address
161
   */
162
  void ScheduleReply (Ptr<Packet> &packet, std::vector<Ipv4Address> &nodeList, Ipv4Address &source, Ipv4Address &destination);
163
  /*
164
   * \brief Get the node id with Ipv4Address
156
   * \brief Get the node id with Ipv4Address
165
   * \return the id of the node
157
   * \return the id of the node
166
   */
158
   */
(-)a/src/dsr/model/dsr-rcache.h (-6 lines)
 Lines 320-331    Link Here 
320
  void RemoveLastEntry (std::list<RouteCacheEntry> & rtVector);
320
  void RemoveLastEntry (std::list<RouteCacheEntry> & rtVector);
321
  // / Define the vector of route entries.
321
  // / Define the vector of route entries.
322
  typedef std::list<RouteCacheEntry::IP_VECTOR> routeVector;
322
  typedef std::list<RouteCacheEntry::IP_VECTOR> routeVector;
323
  // / Get the destination address of the route.
324
  Ipv4Address GetDestination (void) const;
325
  // / Remove all packets with destination IP address dst
326
  void DropPathWithDst (Ipv4Address dst);
327
  // / To know if the two entries are the same
328
  bool IsEqual (RouteCacheEntry ca);
329
  // /\name Fields
323
  // /\name Fields
330
  // \{
324
  // \{
331
  bool GetSubRoute () const
325
  bool GetSubRoute () const
(-)a/src/dsr/model/dsr-routing.h (-18 lines)
 Lines 327-341    Link Here 
327
   */
327
   */
328
  void SendErrorRequest (DsrOptionRerrUnreachHeader &rerr, uint8_t protocol);
328
  void SendErrorRequest (DsrOptionRerrUnreachHeader &rerr, uint8_t protocol);
329
  /*
329
  /*
330
   * \brief Send the route request and increment the request count
331
   * \param the original packet
332
   * \param source address
333
   * \param destination address
334
   */
335
  void SendRequestAndIncrement (Ptr<Packet> packet,
336
                                Ipv4Address source,
337
                                Ipv4Address destination);
338
  /*
339
   * \brief Forward the route request if the node is not the destination
330
   * \brief Forward the route request if the node is not the destination
340
   * \param the original packet
331
   * \param the original packet
341
   * \param source address
332
   * \param source address
 Lines 390-399    Link Here 
390
                  Ipv4Address realDst,
381
                  Ipv4Address realDst,
391
                  uint8_t protocol,
382
                  uint8_t protocol,
392
                  Ptr<Ipv4Route> route);
383
                  Ptr<Ipv4Route> route);
393
  /*
394
   * Get the node using the ip address
395
   */
396
  Ptr<Node> GetNodeWithAddress (Ipv4Address ipv4Address);
397
  /**
384
  /**
398
   * \param p packet to forward up
385
   * \param p packet to forward up
399
   * \param header IPv4 Header information
386
   * \param header IPv4 Header information
 Lines 423-433    Link Here 
423
  IpL4Protocol::DownTargetCallback GetDownTarget (void) const;
410
  IpL4Protocol::DownTargetCallback GetDownTarget (void) const;
424
  IpL4Protocol::DownTargetCallback6 GetDownTarget6 (void) const;
411
  IpL4Protocol::DownTargetCallback6 GetDownTarget6 (void) const;
425
  /**
412
  /**
426
   * \brief Get the extension number.
427
   * \return extension number
428
   */
429
  uint8_t GetExtensionNumber () const;
430
  /**
431
   * \brief Process method
413
   * \brief Process method
432
   * Called from Ipv4L3Protocol::Receive.
414
   * Called from Ipv4L3Protocol::Receive.
433
   *
415
   *

Return to bug 1595