Table Of Contents

Previous topic

Global DCE Configurations

Next topic

Aspect-based Tracing

This Page

DCE Cradle

This document describes what DCE Cradle is, how we can use it, how we extend it.

Tutorials and how to reproduce the experiment of WNS3 2013 paper is available DCE Cradle Tutorial.

What is DCE Cradle?

DCE Cradle enables us to use Linux kernel via Direct Code Execution from the ns-3 native socket application. Applications can access it via ns-3 socket API. Currently (20th Nov. 2012) the following sockets are available:

  • IPv4 UDP
  • IPv4 TCP
  • IPv4 RAW socket
  • IPv4 DCCP

Installing DCE Cradle

DCE Cradle is already integrated in ns-3-dce module. You can just build and install DCE as instructed in the parent document.

How to use it

OnOffHelper onoff = OnOffHelper ("ns3::LinuxTcpSocketFactory",
                                 InetSocketAddress (interfaces.GetAddress (1), 9));

How to extend it

(To be added)


The project originally started during GSoC project 2012

the paper (to be added if it will be published)