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

Socket: Introduce sub-directory structure for concrete protocols

parent fc49240d
No related branches found
No related tags found
No related merge requests found
Showing
with 48 additions and 28 deletions
......@@ -33,7 +33,7 @@
#include "Packets/DefaultBundle/EthernetPacket.hh"
#include "Packets/MPEGDVBBundle/DatagramSection.hh"
#include "Utils/membind.hh"
#include "Socket/DVBDemuxHandles.hh"
#include "Socket/Protocols/DVB/DVBDemuxHandles.hh"
#include "Packets/ParseInt.hh"
#include "Packets/Packet.hh"
#include "Packets/PacketData.hh"
......
......@@ -33,7 +33,7 @@
#include "Packets/DefaultBundle/EthernetPacket.hh"
#include "Packets/MPEGDVBBundle/TransportPacket.hh"
#include "Utils/membind.hh"
#include "Socket/DVBDemuxHandles.hh"
#include "Socket/Protocols/DVB/DVBDemuxHandles.hh"
#include "Packets/ParseInt.hh"
#include "Packets/Packet.hh"
#include "Packets/PacketData.hh"
......
......@@ -22,7 +22,7 @@
#include <string>
#include <iostream>
#include "Socket/DVBFrontendHandle.hh"
#include "Socket/Protocols/DVB/DVBFrontendHandle.hh"
#define prefix_
///////////////////////////////cc.p////////////////////////////////////////
......
......@@ -28,7 +28,7 @@
#include <fstream>
#include <string>
#include <iomanip>
#include "Socket/UDPSocketHandle.hh"
#include "Socket/Protocols/INet/UDPSocketHandle.hh"
#include "Scheduler/Scheduler.hh"
#include "Packets/DefaultBundle/EthernetPacket.hh"
#include "Utils/membind.hh"
......
......@@ -29,7 +29,7 @@
#include <string>
#include <iostream>
#include <iomanip>
#include "Socket/PacketSocketHandle.hh"
#include "Socket/Protocols/PacketSocketHandle.hh"
#include "Scheduler/Scheduler.hh"
#include "Utils/membind.hh"
#include "Packets/DefaultBundle/EthernetPacket.hh"
......
......@@ -23,8 +23,8 @@
// Custom includes
#include <iostream>
#include <sstream>
#include "Socket/TCPSocketHandle.hh"
#include "Socket/INetAddressing.hh"
#include "Socket/Protocols/INet/TCPSocketHandle.hh"
#include "Socket/Protocols/INet/INetAddressing.hh"
int main(int argc, char const * argv[])
......
......@@ -29,8 +29,8 @@
#include <iostream>
#include "Scheduler/Scheduler.hh"
#include "Utils/membind.hh"
#include "Socket/TCPSocketHandle.hh"
#include "Socket/INetAddressing.hh"
#include "Socket/Protocols/INet/TCPSocketHandle.hh"
#include "Socket/Protocols/INet/INetAddressing.hh"
class Server
......
......@@ -28,7 +28,7 @@
#include "IpV6Extensions.hh"
#include "IpV6Packet.hh"
#include "UDPPacket.hh"
#include "Socket/INetAddressing.hh"
#include "Socket/Protocols/INet/INetAddressing.hh"
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/test_tools.hpp>
......
......@@ -26,7 +26,7 @@
// Custom includes
#include "EthernetPacket.hh"
#include "Socket/INetAddressing.hh"
#include "Socket/Protocols/INet/INetAddressing.hh"
//#include "IpV6Packet.mpp"
#define prefix_
......
......@@ -26,7 +26,7 @@
// Custom includes
#include "IpV6Packet.hh"
#include "Socket/INetAddressing.hh"
#include "Socket/Protocols/INet/INetAddressing.hh"
#include "Packets/DataPacket.hh"
#include <boost/test/auto_unit_test.hpp>
......
......@@ -3,4 +3,5 @@
PROJECT_NAME = libSocket
TAGFILES = "$(TOPDIR)/Utils/doc/Utils.tag"
GENERATE_TAGFILE = doc/Socket.tag
RECURSIVE = Yes
......@@ -30,7 +30,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include "SocketHandle.hh"
#include "Socket/SocketHandle.hh"
//#include "BSDSocketProtocol.mpp"
#define prefix_
......
......@@ -28,7 +28,7 @@
// Custom includes
#include <sys/time.h>
#include "SocketProtocol.hh"
#include "Socket/SocketProtocol.hh"
//#include "BSDSocketProtocol.mpp"
///////////////////////////////hh.p////////////////////////////////////////
......
File moved
......@@ -28,11 +28,11 @@
#define HH_DVBDemuxHandles_ 1
// Custom includes
#include "BufferingPolicy.hh"
#include "FramingPolicy.hh"
#include "CommunicationPolicy.hh"
#include "ReadWritePolicy.hh"
#include "ProtocolClientSocketHandle.hh"
#include "Socket/BufferingPolicy.hh"
#include "Socket/FramingPolicy.hh"
#include "Socket/CommunicationPolicy.hh"
#include "Socket/ReadWritePolicy.hh"
#include "Socket/ProtocolClientSocketHandle.hh"
#include "DVBDemuxProtocol.hh"
//#include "DVBDemuxHandles.mpp"
......
......@@ -33,7 +33,7 @@
#include <string>
#include <sys/ioctl.h>
#include <linux/sockios.h>
#include "SocketHandle.hh"
#include "Socket/SocketHandle.hh"
//#include "DVBDemuxProtocol.mpp"
#define prefix_
......
......@@ -30,7 +30,7 @@
#include <linux/dvb/dmx.h>
// Custom includes
#include "SocketProtocol.hh"
#include "Socket/SocketProtocol.hh"
//#include "DVBProtocol.mpp"
///////////////////////////////hh.p////////////////////////////////////////
......
......@@ -36,7 +36,7 @@
#include <linux/sockios.h>
#include <stdio.h>
#include <fcntl.h>
#include "SocketHandle.hh"
#include "Socket/SocketHandle.hh"
#include "Utils/Exception.hh"
......
......@@ -28,12 +28,12 @@
#define HH_DVBFrontendHandle_ 1
// Custom includes
#include "BufferingPolicy.hh"
#include "FramingPolicy.hh"
#include "CommunicationPolicy.hh"
#include "ReadWritePolicy.hh"
#include "ProtocolClientSocketHandle.hh"
#include "SocketProtocol.hh"
#include "Socket/BufferingPolicy.hh"
#include "Socket/FramingPolicy.hh"
#include "Socket/CommunicationPolicy.hh"
#include "Socket/ReadWritePolicy.hh"
#include "Socket/ProtocolClientSocketHandle.hh"
#include "Socket/SocketProtocol.hh"
#include <linux/dvb/frontend.h>
......
# -*- 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')
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