File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -542,6 +542,18 @@ Ipv4FreeBSD::GetWeakEsModel (void) const
542542 return m_weakEsModel;
543543}
544544
545+ void
546+ Ipv4FreeBSD::SetStrongEndSystemModel (bool model)
547+ {
548+ m_strongEsModel = model;
549+ }
550+
551+ bool
552+ Ipv4FreeBSD::GetStrongEndSystemModel () const
553+ {
554+ return m_strongEsModel;
555+ }
556+
545557void
546558Ipv4FreeBSD::InstallNode (Ptr<Node> node)
547559{
Original file line number Diff line number Diff line change @@ -356,13 +356,16 @@ class Ipv4FreeBSD : public Ipv4
356356 virtual bool GetIpForward (void ) const ;
357357 virtual void SetWeakEsModel (bool model);
358358 virtual bool GetWeakEsModel (void ) const ;
359+ virtual void SetStrongEndSystemModel (bool model);
360+ virtual bool GetStrongEndSystemModel () const ;
359361 uint32_t AddIpv4Interface (Ptr<Ipv4Interface> interface);
360362 Ptr<Ipv4Interface> GetInterface (uint32_t i) const ;
361363
362364 typedef std::vector<Ptr<Ipv4Interface> > Ipv4InterfaceList;
363365 Ptr<Ipv4RoutingProtocol> m_routingProtocol;
364366 bool m_ipForward;
365367 bool m_weakEsModel;
368+ bool m_strongEsModel;
366369 Ipv4InterfaceList m_interfaces;
367370 uint64_t m_nanoSec;
368371};
Original file line number Diff line number Diff line change @@ -522,6 +522,18 @@ Ipv4Linux::GetWeakEsModel (void) const
522522 return m_weakEsModel;
523523}
524524
525+ void
526+ Ipv4Linux::SetStrongEndSystemModel (bool model)
527+ {
528+ m_strongEsModel = model;
529+ }
530+
531+ bool
532+ Ipv4Linux::GetStrongEndSystemModel () const
533+ {
534+ return m_strongEsModel;
535+ }
536+
525537void
526538Ipv4Linux::InstallNode (Ptr<Node> node)
527539{
Original file line number Diff line number Diff line change @@ -355,13 +355,16 @@ class Ipv4Linux : public Ipv4
355355 virtual bool GetIpForward (void ) const ;
356356 virtual void SetWeakEsModel (bool model);
357357 virtual bool GetWeakEsModel (void ) const ;
358+ virtual void SetStrongEndSystemModel (bool model);
359+ virtual bool GetStrongEndSystemModel () const ;
358360 uint32_t AddIpv4Interface (Ptr<Ipv4Interface> interface);
359361 Ptr<Ipv4Interface> GetInterface (uint32_t i) const ;
360362
361363 typedef std::vector<Ptr<Ipv4Interface> > Ipv4InterfaceList;
362364 Ptr<Ipv4RoutingProtocol> m_routingProtocol;
363365 bool m_ipForward;
364366 bool m_weakEsModel;
367+ bool m_strongEsModel;
365368 Ipv4InterfaceList m_interfaces;
366369 uint64_t m_nanoSec;
367370};
Original file line number Diff line number Diff line change @@ -453,6 +453,18 @@ Ipv6Linux::GetWeakEsModel (void) const
453453 return m_weakEsModel;
454454}
455455
456+ void
457+ Ipv6Linux::SetStrongEndSystemModel (bool model)
458+ {
459+ m_strongEsModel = model;
460+ }
461+
462+ bool
463+ Ipv6Linux::GetStrongEndSystemModel () const
464+ {
465+ return m_strongEsModel;
466+ }
467+
456468void
457469Ipv6Linux::InstallNode (Ptr<Node> node)
458470{
Original file line number Diff line number Diff line change @@ -327,6 +327,8 @@ class Ipv6Linux : public Ipv6
327327
328328 virtual void SetWeakEsModel (bool model);
329329 virtual bool GetWeakEsModel (void ) const ;
330+ virtual void SetStrongEndSystemModel (bool model);
331+ virtual bool GetStrongEndSystemModel () const ;
330332 uint32_t AddIpv6Interface (Ptr<Ipv6Interface> interface);
331333 Ptr<Ipv6Interface> GetInterface (uint32_t i) const ;
332334
@@ -336,6 +338,7 @@ class Ipv6Linux : public Ipv6
336338 bool m_mtuDiscover;
337339 Ptr<Ipv6PmtuCache> m_pmtuCache;
338340 bool m_weakEsModel;
341+ bool m_strongEsModel;
339342 Ipv6InterfaceList m_interfaces;
340343 uint64_t m_nanoSec;
341344};
You can’t perform that action at this time.
0 commit comments