model/linux/linux-dccp6-socket-factory.cc
author Hajime Tazaki <tazaki@sfc.wide.ad.jp>
Tue, 07 Jan 2014 00:26:21 +0900
changeset 541 de7335a01743
permissions -rw-r--r--
Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
541
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
     1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
     2
/*
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
     3
 * Copyright (c) 2013 Hajime Tazaki
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
     4
 *
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License version 2 as
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
     7
 * published by the Free Software Foundation;
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
     8
 *
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    12
 * GNU General Public License for more details.
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    13
 *
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    17
 *
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    18
 * Author: Hajime Tazaki <tazaki@sfc.wide.ad.jp>
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    19
 */
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    20
#include "linux-dccp6-socket-factory.h"
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    21
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    22
namespace ns3 {
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    23
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    24
NS_OBJECT_ENSURE_REGISTERED (LinuxDccp6SocketFactory);
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    25
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    26
TypeId LinuxDccp6SocketFactory::GetTypeId (void)
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    27
{
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    28
  static TypeId tid = TypeId ("ns3::LinuxDccp6SocketFactory")
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    29
    .SetParent<SocketFactory> ()
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    30
  ;
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    31
  return tid;
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    32
}
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    33
de7335a01743 Bug 1713 - Ipv6 address configuration support for LinuxStackHelper
Hajime Tazaki <tazaki@sfc.wide.ad.jp>
parents:
diff changeset
    34
} // namespace ns3