model/linux/ipv4-linux.cc
changeset 546 d7753e122d06
parent 541 de7335a01743
child 556 a86d42b748b4
equal deleted inserted replaced
545:5c0050741a8f 546:d7753e122d06
    31 #include "linux-stack-helper.h"
    31 #include "linux-stack-helper.h"
    32 #include "linux-ipv4-raw-socket-factory-impl.h"
    32 #include "linux-ipv4-raw-socket-factory-impl.h"
    33 #include "linux-udp-socket-factory-impl.h"
    33 #include "linux-udp-socket-factory-impl.h"
    34 #include "linux-tcp-socket-factory-impl.h"
    34 #include "linux-tcp-socket-factory-impl.h"
    35 #include "linux-dccp-socket-factory-impl.h"
    35 #include "linux-dccp-socket-factory-impl.h"
       
    36 #include "linux-sctp-socket-factory-impl.h"
    36 
    37 
    37 NS_LOG_COMPONENT_DEFINE ("Ipv4Linux");
    38 NS_LOG_COMPONENT_DEFINE ("Ipv4Linux");
    38 
    39 
    39 namespace ns3 {
    40 namespace ns3 {
    40 
    41 
   516   node->AggregateObject (udpFactory);
   517   node->AggregateObject (udpFactory);
   517   Ptr<LinuxTcpSocketFactoryImpl> tcpFactory = CreateObject<LinuxTcpSocketFactoryImpl> ();
   518   Ptr<LinuxTcpSocketFactoryImpl> tcpFactory = CreateObject<LinuxTcpSocketFactoryImpl> ();
   518   node->AggregateObject (tcpFactory);
   519   node->AggregateObject (tcpFactory);
   519   Ptr<LinuxDccpSocketFactoryImpl> dccpFactory = CreateObject<LinuxDccpSocketFactoryImpl> ();
   520   Ptr<LinuxDccpSocketFactoryImpl> dccpFactory = CreateObject<LinuxDccpSocketFactoryImpl> ();
   520   node->AggregateObject (dccpFactory);
   521   node->AggregateObject (dccpFactory);
       
   522   Ptr<LinuxSctpSocketFactoryImpl> sctpFactory = CreateObject<LinuxSctpSocketFactoryImpl> ();
       
   523   node->AggregateObject (sctpFactory);
   521 }
   524 }
   522 Ptr<Ipv4Interface>
   525 Ptr<Ipv4Interface>
   523 Ipv4Linux::GetInterface (uint32_t index) const
   526 Ipv4Linux::GetInterface (uint32_t index) const
   524 {
   527 {
   525   if (index < m_interfaces.size ())
   528   if (index < m_interfaces.size ())