Skip to content
Snippets Groups Projects
Commit 4c4fa2f0 authored by g0dil's avatar g0dil
Browse files

Socket: Moved PacketSocketHandle and related stuff into 'Raw' subdir

Socket: Added complete MACAddress class
Packets/DefaultBundle: Make EthernetPacket use the MACAddress class
parent c34aad6a
No related branches found
No related tags found
No related merge requests found
# -*- python -*-
Import('env')
import SENFSCons, glob
###########################################################################
sources = SENFSCons.GlobSources()
allob = []
allob.extend(
SENFSCons.Objects( env, sources = sources, LIBS = [ 'Socket', 'Utils' ] ) )
for sc in glob.glob("*/SConscript"):
ob = SConscript(sc)
if ob : allob.extend(ob)
Return('allob')
// $Id: main.test.cc 296 2007-07-10 20:39:34Z g0dil $
//
// Copyright (C) 2006
// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
// Stefan Bund <stefan.bund@fokus.fraunhofer.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// 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.
// Definition of non-inline non-template functions
//#include "test.hh"
//#include "test.ih"
// Custom includes
#define BOOST_AUTO_TEST_MAIN
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/test_tools.hpp>
#define prefix_
///////////////////////////////cc.p////////////////////////////////////////
///////////////////////////////cc.e////////////////////////////////////////
#undef prefix_
// Local Variables:
// mode: c++
// fill-column: 100
// c-file-style: "senf"
// indent-tabs-mode: nil
// ispell-local-dictionary: "american"
// compile-command: "scons -u test"
// comment-column: 40
// End:
......@@ -44,9 +44,6 @@ prefix_ void * senf::pool_alloc_mixin<Self>::operator new(size_t size)
template <class Self>
prefix_ void senf::pool_alloc_mixin<Self>::operator delete(void * p, size_t size)
{
// When deriving from Self you may not change the class's size without
// inheriting from pool_alloc_mixin again. See pool_alloc_mixin documentation.
BOOST_ASSERT( size == sizeof(Self) );
#ifndef NDEBUG
allocCounter(-1);
#endif
......
......@@ -15,6 +15,7 @@ const
createAfter
createBefore
DataPacket
dd
de
DefaultBundle
defaultInit
......@@ -31,6 +32,7 @@ EthernetPacketType
EthernetParser
ethertype
EthVLan
EUI
ExampleListPolicy
ExampleVectorPolicy
ExtendedParser
......@@ -73,6 +75,7 @@ ListPolicy
MACAddress
mainpage
mixin
multicast
MyList
MyVector
namespace
......@@ -117,6 +120,7 @@ ParseListN
parseNextAs
ParseVec
png
pre
prev
protocolbundle
protocolbundles
......@@ -151,6 +155,7 @@ stefan
STL
struct
structors
SyntaxException
SystemException
templated
todo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment