X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FINet%2FRawInetSocketHandle.cc;h=680967698bb09d0e904796ea2f6976adaf10bb30;hb=63b650afb727cce067817ce9451eecb932446bf3;hp=1e16bf565d8f89c04a7688601e5660d4189942a8;hpb=52d44a2033ffdac443e52f5dd1f075c5fe2774ef;p=senf.git diff --git a/Socket/Protocols/INet/RawInetSocketHandle.cc b/Socket/Protocols/INet/RawInetSocketHandle.cc index 1e16bf5..6809676 100644 --- a/Socket/Protocols/INet/RawInetSocketHandle.cc +++ b/Socket/Protocols/INet/RawInetSocketHandle.cc @@ -1,7 +1,9 @@ +// $Id$ +// // Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum NETwork research (NET) -// David Wagner +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// David Wagner // // 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 @@ -32,7 +34,7 @@ ///////////////////////////////cc.p//////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// -// senf::UDPv4SocketProtocol +// senf::RawV4SocketProtocol prefix_ void senf::RawV4SocketProtocol::init_client() const @@ -47,7 +49,7 @@ senf::RawV4SocketProtocol::init_client(int const & protocol) int sock = ::socket(PF_INET, SOCK_RAW, protocol); if (sock < 0) throwErrno(); - body().fd(sock); + fd(sock); } prefix_ void @@ -65,7 +67,7 @@ prefix_ std::auto_ptr senf::RawV4SocketProtocol::clone() } /////////////////////////////////////////////////////////////////////////// -// senf::UDPv6SocketProtocol:: +// senf::RawV6SocketProtocol:: prefix_ void senf::RawV6SocketProtocol::init_client() const @@ -79,7 +81,7 @@ prefix_ void senf::RawV6SocketProtocol::init_client(int const & protocol) int sock = ::socket(PF_INET6,SOCK_RAW,protocol); if (sock < 0) throwErrno(); - body().fd(sock); + fd(sock); } prefix_ void @@ -98,3 +100,15 @@ prefix_ std::auto_ptr senf::RawV6SocketProtocol::clone() ///////////////////////////////cc.e//////////////////////////////////////// #undef prefix_ +//#include "RawInetSocketHandle.mpp" + + +// 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: