X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FDefaultBundle%2FIPv6ExtOptionType.cc;fp=senf%2FPackets%2FDefaultBundle%2FIPv6ExtOptionType.cc;h=0000000000000000000000000000000000000000;hb=5a7344d1bc318ab9105b71d65a0cc86337dcd4d5;hp=549026d5b99edbd351031ef995733d0c9c71def6;hpb=a79c5e98760ea8232c13d8266eb7ca0ac5cdefd3;p=senf.git diff --git a/senf/Packets/DefaultBundle/IPv6ExtOptionType.cc b/senf/Packets/DefaultBundle/IPv6ExtOptionType.cc deleted file mode 100644 index 549026d..0000000 --- a/senf/Packets/DefaultBundle/IPv6ExtOptionType.cc +++ /dev/null @@ -1,51 +0,0 @@ -// $Id: IPv6ExtOptionType.cc 869 2008-06-09 13:57:27Z pug $ -// -// Copyright (C) 2009 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY -// Philipp.Batroff@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. - -/** \file - \brief IPv6Extension-Options non-inline non-template implementation */ - -#include "IPv6ExtOptionType.hh" -// Custom includes - -#define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// - -prefix_ senf::PacketInterpreterBase::range senf::IPv6GenericOptionTLVParser::value() - const -{ - senf::PacketData::iterator begin (boost::next(i(), 2 )); - return PacketInterpreterBase::range(begin, boost::next( begin, optionLength()) ); -} - -///////////////////////////////cc.e//////////////////////////////////////// -#undef prefix_ - - -// Local Variables: -// mode: c++ -// fill-column: 100 -// comment-column: 40 -// c-file-style: "senf" -// indent-tabs-mode: nil -// ispell-local-dictionary: "american" -// compile-command: "scons -u test" -// End: