code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * 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 distribu...
zy901002-gpsr
src/mesh/test/flame/flame-test-suite.cc
C++
gpl2
3,709
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * 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 distribu...
zy901002-gpsr
src/mesh/test/flame/flame-regression.h
C++
gpl2
2,892
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * 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 distribu...
zy901002-gpsr
src/mesh/test/mesh-information-element-vector-test-suite.cc
C++
gpl2
5,657
#! /usr/bin/env python ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- # A list of C++ examples to run in order to ensure that they remain # buildable and runnable over time. Each tuple in the list contains # # (example_name, do_run, do_valgrind_run). # # See test.py for more i...
zy901002-gpsr
src/mesh/test/examples-to-run.py
Python
gpl2
599
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * * 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 dis...
zy901002-gpsr
src/mesh/examples/mesh.cc
C++
gpl2
8,556
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): obj = bld.create_ns3_program('mesh', ['internet', 'mobility', 'wifi', 'mesh']) obj.source = 'mesh.cc'
zy901002-gpsr
src/mesh/examples/wscript
Python
gpl2
211
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * * 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 dis...
zy901002-gpsr
src/mesh/helper/dot11s/dot11s-installer.cc
C++
gpl2
4,025
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * * 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 dis...
zy901002-gpsr
src/mesh/helper/dot11s/dot11s-installer.h
C++
gpl2
1,944
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * * 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 dis...
zy901002-gpsr
src/mesh/helper/mesh-stack-installer.h
C++
gpl2
1,564
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * * 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 dis...
zy901002-gpsr
src/mesh/helper/mesh-helper.h
C++
gpl2
8,293
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * * 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 dis...
zy901002-gpsr
src/mesh/helper/flame/flame-installer.h
C++
gpl2
1,883
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * * 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 dis...
zy901002-gpsr
src/mesh/helper/flame/flame-installer.cc
C++
gpl2
1,924
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * * 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 dis...
zy901002-gpsr
src/mesh/helper/mesh-helper.cc
C++
gpl2
7,173
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * 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 distribu...
zy901002-gpsr
src/mesh/doc/mesh.h
C
gpl2
6,434
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): obj = bld.create_ns3_module('mesh', ['internet', 'wifi', 'bridge', 'applications']) obj.source = [ 'model/mesh-information-element-vector.cc', 'model/mesh-point-device.cc', 'model/mesh-l...
zy901002-gpsr
src/mesh/wscript
Python
gpl2
3,783
#ifndef GodLocationService_H #define GodLocationService_H #include "ns3/node.h" #include "ns3/node-list.h" #include "ns3/ipv4-routing-protocol.h" #include "ns3/ipv4-interface.h" #include "ns3/ipv4-l3-protocol.h" #include "god.h" #include "ns3/location-service.h" #include "ns3/vector.h" #include <map> namespace ns3 { ...
zy901002-gpsr
src/location-service/model/god.h
C++
gpl2
1,042
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * * 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 ...
zy901002-gpsr
src/location-service/model/location-service.cc
C++
gpl2
956
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * * 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 ...
zy901002-gpsr
src/location-service/model/location-service.h
C++
gpl2
1,713
#define NS_LOG_APPEND_CONTEXT \ if (m_ipv4) { std::clog << "[node " << m_ipv4->GetObject<Node> ()->GetId () << "] "; } #include "god.h" #include "ns3/log.h" #include "ns3/mobility-model.h" #include "ns3/node-list.h" #include "ns3/node.h" NS_LOG_COMPONENT_DEFINE ("GodLocationServi...
zy901002-gpsr
src/location-service/model/god.cc
C++
gpl2
1,938
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- # def options(opt): # pass # def configure(conf): # conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H') def build(bld): module = bld.create_ns3_module('location-service', ['network']) module.source...
zy901002-gpsr
src/location-service/wscript
Python
gpl2
618
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INESC Porto * * 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 distr...
zy901002-gpsr
src/visualizer/model/pyviz.cc
C++
gpl2
38,851
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Gustavo Carneiro * * 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 ...
zy901002-gpsr
src/visualizer/model/visual-simulator-impl.h
C++
gpl2
2,695
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Gustavo Carneiro * * 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 ...
zy901002-gpsr
src/visualizer/model/visual-simulator-impl.cc
C++
gpl2
4,597
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2011 University of Washington * * 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 progra...
zy901002-gpsr
src/visualizer/model/dummy-file-for-static-builds.cc
C++
gpl2
851
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INESC Porto * * 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 distr...
zy901002-gpsr
src/visualizer/model/pyviz.h
C++
gpl2
7,397
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
zy901002-gpsr
src/visualizer/bindings/modulegen__gcc_ILP32.py
Python
gpl2
325,182
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
zy901002-gpsr
src/visualizer/bindings/modulegen__gcc_LP64.py
Python
gpl2
325,182
callback_classes = [ ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empt...
zy901002-gpsr
src/visualizer/bindings/callbacks_list.py
Python
gpl2
856
import math import ns.wifi import ns.network import goocanvas from visualizer.base import Link, transform_distance_canvas_to_simulation class WifiLink(Link): def __init__(self, parent_canvas_item, sta, dev): self.node1 = sta self.dev = dev self.node2 = None # ap self.canvas_item = g...
zy901002-gpsr
src/visualizer/visualizer/plugins/wifi_intrastructure_link.py
Python
gpl2
4,933
import gtk import ns.core import ns.network from visualizer.base import InformationWindow NODE_STATISTICS_MEMORY = 10 class StatisticsCollector(object): """ Collects interface statistics for all nodes. """ class NetDevStats(object): __slots__ = ['rxPackets', 'rxBytes', 'txPackets', 'txBytes'...
zy901002-gpsr
src/visualizer/visualizer/plugins/interface_statistics.py
Python
gpl2
6,565
import gtk import ns.core import ns.network import ns.internet from visualizer.base import InformationWindow class ShowIpv4RoutingTable(InformationWindow): ( COLUMN_DESTINATION, COLUMN_NEXT_HOP, COLUMN_INTERFACE, COLUMN_TYPE, COLUMN_PRIO ) = range(5) def __ini...
zy901002-gpsr
src/visualizer/visualizer/plugins/ipv4_routing_table.py
Python
gpl2
4,880
import gtk import ns.core import ns.network import ns.internet import ns.olsr from visualizer.base import InformationWindow class ShowOlsrRoutingTable(InformationWindow): ( COLUMN_DESTINATION, COLUMN_NEXT_HOP, COLUMN_INTERFACE, COLUMN_NUM_HOPS, ) = range(4) def __init...
zy901002-gpsr
src/visualizer/visualizer/plugins/olsr.py
Python
gpl2
3,935
import gobject import gtk import ns.core import ns.network import ns.visualizer from visualizer.base import InformationWindow from visualizer.higcontainer import HIGContainer from kiwi.ui.objectlist import ObjectList, Column class ShowLastPackets(InformationWindow): class PacketList(gtk.ScrolledWindow): ...
zy901002-gpsr
src/visualizer/visualizer/plugins/show_last_packets.py
Python
gpl2
9,460
import ns.point_to_point import ns.csma import ns.wifi import ns.bridge import ns.internet import ns.mesh import ns.wimax import ns.wimax import gobject import os.path import sys PIXELS_PER_METER = 3.0 # pixels-per-meter, at 100% zoom level class PyVizObject(gobject.GObject): __gtype_name__ = "PyVizObject" ...
zy901002-gpsr
src/visualizer/visualizer/base.py
Python
gpl2
3,660
import gtk import gobject try: from gazpacho.widgets.base.base import SimpleContainerAdaptor except ImportError: pass #root_library = 'hig' class HIGContainer(gtk.Bin): __gtype_name__ = 'HIGContainer' __gproperties__ = { 'title': (str, 'Group Title', 'the group title', '', g...
zy901002-gpsr
src/visualizer/visualizer/higcontainer.py
Python
gpl2
3,560
import goocanvas import core import math import pango import gtk class Axes(object): def __init__(self, viz): self.viz = viz self.color = 0x8080C0FF self.hlines = goocanvas.Path(parent=viz.canvas.get_root_item(), stroke_color_rgba=self.color) self.hlines.lower(None) self.vl...
zy901002-gpsr
src/visualizer/visualizer/hud.py
Python
gpl2
5,462
""" Backend to the console plugin. @author: Eitan Isaacson @organization: IBM Corporation @copyright: Copyright (c) 2007 IBM Corporation @license: BSD All rights reserved. This program and the accompanying materials are made available under the terms of the BSD which accompanies this distribution, and is available ...
zy901002-gpsr
src/visualizer/visualizer/ipython_view.py
Python
gpl2
10,362
from core import start, register_plugin, set_bounds, add_initialization_hook
zy901002-gpsr
src/visualizer/visualizer/__init__.py
Python
gpl2
79
# -*- Mode: python; coding: utf-8 -*- from __future__ import division #from __future__ import with_statement LAYOUT_ALGORITHM = 'neato' # ['neato'|'dot'|'twopi'|'circo'|'fdp'|'nop'] REPRESENT_CHANNELS_AS_NODES = 1 DEFAULT_NODE_SIZE = 3.0 # default node size in meters DEFAULT_TRANSMISSIONS_MEMORY = 5 # default number o...
zy901002-gpsr
src/visualizer/visualizer/core.py
Python
gpl2
60,240
import gobject import rsvg #import cairo import goocanvas import os.path class SvgItem(goocanvas.ItemSimple): # setup our custom properties __gproperties__ = { 'x': (float, # property type 'X', # property nick name ...
zy901002-gpsr
src/visualizer/visualizer/svgitem.py
Python
gpl2
5,073
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- import Options def configure(conf): # If Python was explicitly disabled, then add this module to the # list of modules that won't be built if they are enabled. if Options.options.python_disable: conf.env['MODULES_NO...
zy901002-gpsr
src/visualizer/wscript
Python
gpl2
1,715
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * * 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 progra...
zy901002-gpsr
src/applications/model/udp-echo-server.h
C++
gpl2
1,562
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDCAST * * 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 prog...
zy901002-gpsr
src/applications/model/udp-client.h
C++
gpl2
1,955
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * * 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 p...
zy901002-gpsr
src/applications/model/ping6.cc
C++
gpl2
7,087
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Telecom Bretagne * Copyright (c) 2009 Strasbourg University * * 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...
zy901002-gpsr
src/applications/model/radvd.h
C++
gpl2
3,639
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // // 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; // //...
zy901002-gpsr
src/applications/model/onoff-application.h
C++
gpl2
5,858
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * * 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 progra...
zy901002-gpsr
src/applications/model/udp-echo-server.cc
C++
gpl2
3,524
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 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...
zy901002-gpsr
src/applications/model/seq-ts-header.h
C++
gpl2
1,810
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA, UDCAST * * 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 di...
zy901002-gpsr
src/applications/model/packet-loss-counter.cc
C++
gpl2
3,002
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * * 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 p...
zy901002-gpsr
src/applications/model/ping6.h
C++
gpl2
3,563
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * * 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 pr...
zy901002-gpsr
src/applications/model/udp-trace-client.h
C++
gpl2
4,024
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * * 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 progra...
zy901002-gpsr
src/applications/model/radvd-prefix.h
C++
gpl2
4,361
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 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...
zy901002-gpsr
src/applications/model/seq-ts-header.cc
C++
gpl2
2,119
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDCAST * * 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 pro...
zy901002-gpsr
src/applications/model/udp-server.cc
C++
gpl2
4,312
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * * 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 progra...
zy901002-gpsr
src/applications/model/udp-echo-client.cc
C++
gpl2
7,920
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * * 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 progra...
zy901002-gpsr
src/applications/model/radvd-interface.h
C++
gpl2
9,676
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * * 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 progra...
zy901002-gpsr
src/applications/model/packet-sink.cc
C++
gpl2
5,549
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // // 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; // //...
zy901002-gpsr
src/applications/model/onoff-application.cc
C++
gpl2
8,077
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Telecom Bretagne * Copyright (c) 2009 Strasbourg University * * 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...
zy901002-gpsr
src/applications/model/radvd.cc
C++
gpl2
8,673
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * 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 us...
zy901002-gpsr
src/applications/model/v4ping.h
C++
gpl2
2,493
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDCAST * * 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 prog...
zy901002-gpsr
src/applications/model/udp-server.h
C++
gpl2
2,616
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * * 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 pr...
zy901002-gpsr
src/applications/model/udp-trace-client.cc
C++
gpl2
7,395
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * * 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 progra...
zy901002-gpsr
src/applications/model/packet-sink.h
C++
gpl2
4,057
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * * 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 progra...
zy901002-gpsr
src/applications/model/radvd-interface.cc
C++
gpl2
6,638
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Georgia Institute of Technology * * 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; * * T...
zy901002-gpsr
src/applications/model/bulk-send-application.cc
C++
gpl2
6,446
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * 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 us...
zy901002-gpsr
src/applications/model/v4ping.cc
C++
gpl2
8,794
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDCAST * * 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 prog...
zy901002-gpsr
src/applications/model/udp-client.cc
C++
gpl2
4,584
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Georgia Institute of Technology * * 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; * * T...
zy901002-gpsr
src/applications/model/bulk-send-application.h
C++
gpl2
3,475
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * * 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 progra...
zy901002-gpsr
src/applications/model/radvd-prefix.cc
C++
gpl2
2,576
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * * 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 progra...
zy901002-gpsr
src/applications/model/udp-echo-client.h
C++
gpl2
4,986
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008,2009 INRIA, UDCAST * * 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 prog...
zy901002-gpsr
src/applications/model/packet-loss-counter.h
C++
gpl2
1,568
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
zy901002-gpsr
src/applications/bindings/modulegen__gcc_ILP32.py
Python
gpl2
567,201
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
zy901002-gpsr
src/applications/bindings/modulegen__gcc_LP64.py
Python
gpl2
567,201
callback_classes = [ ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', ...
zy901002-gpsr
src/applications/bindings/callbacks_list.py
Python
gpl2
1,249
import os def post_register_types(root_module): root_module.add_include('"ns3/network-module.h"')
zy901002-gpsr
src/applications/bindings/modulegen_customizations.py
Python
gpl2
103
/* We need to scan the complete network module so that all address * formats are pulled, otherwise just a few basic ones are seen, and * that affects implicit conversions detected by pybindgen. */ #include "ns3/network-module.h" #include "ns3/applications-module.h"
zy901002-gpsr
src/applications/bindings/scan-header.h
C
gpl2
271
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007,2008, 2009 INRIA, UDcast * * 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 pr...
zy901002-gpsr
src/applications/test/udp-client-server-test.cc
C++
gpl2
7,923
/* -*- 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...
zy901002-gpsr
src/applications/helper/udp-client-server-helper.cc
C++
gpl2
3,361
/* -*- 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...
zy901002-gpsr
src/applications/helper/packet-sink-helper.h
C++
gpl2
3,023
/* -*- 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...
zy901002-gpsr
src/applications/helper/udp-echo-helper.h
C++
gpl2
7,409
/* -*- 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...
zy901002-gpsr
src/applications/helper/udp-echo-helper.cc
C++
gpl2
3,627
/* -*- 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...
zy901002-gpsr
src/applications/helper/v4ping-helper.cc
C++
gpl2
1,887
/* -*- 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...
zy901002-gpsr
src/applications/helper/bulk-send-helper.h
C++
gpl2
3,665
/* -*- 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...
zy901002-gpsr
src/applications/helper/bulk-send-helper.cc
C++
gpl2
2,150
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * * 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 p...
zy901002-gpsr
src/applications/helper/ping6-helper.cc
C++
gpl2
1,958
/* -*- 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...
zy901002-gpsr
src/applications/helper/packet-sink-helper.cc
C++
gpl2
2,040
/* -*- 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...
zy901002-gpsr
src/applications/helper/udp-client-server-helper.h
C++
gpl2
5,536
#ifndef V4PING_HELPER_H #define V4PING_HELPER_H #include "ns3/node-container.h" #include "ns3/application-container.h" #include "ns3/object-factory.h" namespace ns3 { /** * \brief create a pinger application and associate it to a node * * This class creates one or multiple instances of ns3::V4Ping and associates ...
zy901002-gpsr
src/applications/helper/v4ping-helper.h
C++
gpl2
2,068
/* -*- 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...
zy901002-gpsr
src/applications/helper/on-off-helper.cc
C++
gpl2
2,045
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * * 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 p...
zy901002-gpsr
src/applications/helper/ping6-helper.h
C++
gpl2
2,644
/* -*- 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...
zy901002-gpsr
src/applications/helper/on-off-helper.h
C++
gpl2
3,511
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * 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 us...
zy901002-gpsr
src/applications/doc/applications.h
C
gpl2
989
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): module = bld.create_ns3_module('applications', ['internet', 'config-store', 'tools']) module.source = [ 'model/bulk-send-application.cc', 'model/onoff-application.cc', 'model/packet-sink....
zy901002-gpsr
src/applications/wscript
Python
gpl2
2,058
/* * 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 warran...
zy901002-gpsr
src/netanim/model/animation-interface.h
C++
gpl2
11,295
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * 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 us...
zy901002-gpsr
src/netanim/model/animation-interface.cc
C++
gpl2
32,617
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
zy901002-gpsr
src/netanim/bindings/modulegen__gcc_ILP32.py
Python
gpl2
255,592
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
zy901002-gpsr
src/netanim/bindings/modulegen__gcc_LP64.py
Python
gpl2
255,592
callback_classes = [ ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ]
zy901002-gpsr
src/netanim/bindings/callbacks_list.py
Python
gpl2
232
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * 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 us...
zy901002-gpsr
src/netanim/examples/grid-animation.cc
C++
gpl2
3,376
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * 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 us...
zy901002-gpsr
src/netanim/examples/dumbbell-animation.cc
C++
gpl2
4,044