Export more IPv6 includes.

This commit is contained in:
Sebastien Vincent
2009-09-16 18:56:29 +02:00
parent 28f016ad5b
commit afeae4240d
45 changed files with 159 additions and 50 deletions

View File

@@ -22,9 +22,10 @@
#include "ns3/assert.h"
#include "ns3/address-utils.h"
#include "icmpv6-header.h"
#include "ns3/log.h"
#include "icmpv6-header.h"
namespace ns3
{

View File

@@ -24,16 +24,15 @@
#include "ns3/assert.h"
#include "ns3/packet.h"
#include "ns3/node.h"
#include "ns3/boolean.h"
#include "ns3/ipv6-routing-protocol.h"
#include "ns3/ipv6-route.h"
#include "ipv6-raw-socket-factory-impl.h"
#include "icmpv6-l4-protocol.h"
#include "icmpv6-header.h"
#include "ipv6-l3-protocol.h"
#include "ipv6-end-point.h"
#include "ns3/ipv6-static-routing-helper.h"
#include "ipv6-interface.h"
#include "icmpv6-l4-protocol.h"
#include "ndisc-cache.h"
namespace ns3
{

View File

@@ -24,15 +24,10 @@
#define ICMPV6_L4_PROTOCOL_H
#include <list>
#include "ns3/ipv6-address.h"
#include "ns3/ptr.h"
#include "ns3/socket.h"
#include "ns3/buffer.h"
#include "ns3/boolean.h"
#include "icmpv6-header.h"
#include "ipv6-l4-protocol.h"
#include "ndisc-cache.h"
#include "ipv6-l3-protocol.h"
namespace ns3
{
@@ -41,6 +36,7 @@ class NetDevice;
class Node;
class Packet;
class TraceContext;
class NdiscCache;
/**
* \class Icmpv6L4Protocol

View File

@@ -1,3 +1,23 @@
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2008 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
*/
#include "ipv4-raw-socket-factory-impl.h"
#include "ipv4-l3-protocol.h"
#include "ns3/socket.h"

View File

@@ -1,3 +1,23 @@
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2008 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
*/
#ifndef IPV4_RAW_SOCKET_FACTORY_IMPL_H
#define IPV4_RAW_SOCKET_FACTORY_IMPL_H

View File

@@ -18,11 +18,10 @@
* Author: Mehdi Benamor <benamor.mehdi@ensi.rnu.tn>
*/
#include <stdlib.h>
#include "ns3/log.h"
#include "ns3/packet.h"
#include "ns3/node.h"
#include "ipv6-l3-protocol.h"
#include "ipv6-autoconfigured-prefix.h"
NS_LOG_COMPONENT_DEFINE ("Ipv6AutoconfiguredPrefix");

View File

@@ -21,14 +21,14 @@
#ifndef IPV6_AUTOCONFIGURED_PREFIX_H
#define IPV6_AUTOCONFIGURED_PREFIX_H
#include <stdint.h>
#include <list>
#include <vector>
#include <ostream>
#include "ns3/timer.h"
#include "ns3/ipv6-address.h"
#include "ipv6-l3-protocol.h"
#include "ipv6-interface.h"
namespace ns3
{

View File

@@ -18,11 +18,12 @@
* Author: Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
*/
#include "ipv6-end-point.h"
#include "ns3/packet.h"
#include "ns3/log.h"
#include "ns3/simulator.h"
#include "ipv6-end-point.h"
namespace ns3
{

View File

@@ -22,6 +22,7 @@
#define IPV6_END_POINT_H
#include <stdint.h>
#include "ns3/ipv6-address.h"
#include "ns3/callback.h"

View File

@@ -18,14 +18,16 @@
* Author: Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
*/
#include "ns3/log.h"
#include "ns3/node.h"
#include "ns3/packet.h"
#include "ipv6-interface.h"
#include "ns3/net-device.h"
#include "loopback-net-device.h"
#include "ns3/log.h"
#include "ns3/node.h"
#include <ns3/packet.h>
#include "ipv6-l3-protocol.h"
#include "icmpv6-l4-protocol.h"
#include "ndisc-cache.h"
namespace ns3
{

View File

@@ -29,14 +29,13 @@
#include "ns3/object.h"
#include "ns3/timer.h"
#include "ndisc-cache.h"
namespace ns3
{
class NetDevice;
class Packet;
class Node;
class NdiscCache;
/**
* \class Ipv6Interface

View File

@@ -35,6 +35,7 @@
#include "ipv6-raw-socket-impl.h"
#include "ipv6-autoconfigured-prefix.h"
#include "icmpv6-l4-protocol.h"
#include "ndisc-cache.h"
namespace ns3
{

View File

@@ -24,7 +24,6 @@
#include <list>
#include "ns3/traced-callback.h"
#include "ns3/net-device.h"
#include "ns3/ipv6.h"
#include "ns3/ipv6-address.h"

View File

@@ -18,9 +18,10 @@
* Author: Sebastien Vincent <vincent@clarinet.u-strasbg.fr>
*/
#include "ipv6-l4-protocol.h"
#include "ns3/uinteger.h"
#include "ipv6-l4-protocol.h"
namespace ns3
{

View File

@@ -22,14 +22,14 @@
#define IPV6_L4_PROTOCOL_H
#include "ns3/object.h"
#include "ipv6-interface.h"
#include "ns3/ipv6-header.h"
namespace ns3
{
class Packet;
class Ipv6Address;
class TraceContext;
class Ipv6Interface;
/**
* \class Ipv6L4Protocol

View File

@@ -1,6 +1,27 @@
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2008 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
*/
#include "ns3/socket.h"
#include "ipv6-raw-socket-factory-impl.h"
#include "ipv6-l3-protocol.h"
#include "ns3/socket.h"
namespace ns3
{

View File

@@ -1,3 +1,23 @@
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2008 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
*/
#ifndef IPV6_RAW_SOCKET_FACTORY_IMPL_H
#define IPV6_RAW_SOCKET_FACTORY_IMPL_H

View File

@@ -27,10 +27,9 @@
#include "ns3/ipv6-routing-protocol.h"
#include "ipv6-l3-protocol.h"
#include "ipv6-raw-socket-impl.h"
#include "icmpv6-header.h"
#include "icmpv6-l4-protocol.h"
#include "ipv6-raw-socket-impl.h"
namespace ns3
{

View File

@@ -23,12 +23,14 @@
#include "ns3/simulator.h"
#include "ns3/test.h"
#include "ns3/log.h"
#include "ns3/boolean.h"
#include "ns3/inet6-socket-address.h"
#include "ns3/node.h"
#include "ns3/csma-net-device.h"
#include "icmpv6-l4-protocol.h"
#include "ipv6-interface.h"
#include "ipv6-l3-protocol.h"
#include "icmpv6-l4-protocol.h"
namespace ns3
{

View File

@@ -23,6 +23,7 @@
#include "ns3/node.h"
#include "ipv6-l3-protocol.h"
#include "ipv6-interface.h"
#include "icmpv6-l4-protocol.h"
#include "ndisc-cache.h"

View File

@@ -33,8 +33,6 @@
#include "ns3/timer.h"
#include "ns3/sgi-hashmap.h"
#include "ipv6-interface.h"
namespace ns3
{

View File

@@ -129,6 +129,9 @@ def build(bld):
'icmpv4-l4-protocol.h',
'ipv4-l4-protocol.h',
'arp-cache.h',
'icmpv6-l4-protocol.h',
'ipv6-l4-protocol.h',
'ndisc-cache.h',
]
if bld.env['NSC_ENABLED']: