2009-04-27 11:51:44 -05:00
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += qt staticlib
|
|
|
|
QT += network
|
|
|
|
LIBS += \
|
|
|
|
-lprotobuf
|
|
|
|
FORMS += \
|
|
|
|
mac.ui \
|
|
|
|
payload.ui \
|
|
|
|
eth2.ui \
|
|
|
|
dot3.ui \
|
|
|
|
llc.ui \
|
|
|
|
snap.ui \
|
2009-05-24 09:54:11 -05:00
|
|
|
vlan.ui \
|
2009-04-27 11:51:44 -05:00
|
|
|
ip4.ui \
|
|
|
|
tcp.ui \
|
|
|
|
udp.ui
|
|
|
|
PROTOS += \
|
|
|
|
protocol.proto \
|
|
|
|
mac.proto \
|
|
|
|
payload.proto \
|
|
|
|
eth2.proto \
|
|
|
|
dot3.proto \
|
|
|
|
llc.proto \
|
|
|
|
snap.proto \
|
2009-05-24 09:54:11 -05:00
|
|
|
vlan.proto \
|
2009-04-27 11:51:44 -05:00
|
|
|
ip4.proto \
|
|
|
|
tcp.proto \
|
|
|
|
udp.proto
|
|
|
|
HEADERS += \
|
|
|
|
abstractprotocol.h \
|
2009-09-23 09:53:26 -05:00
|
|
|
comboprotocol.h \
|
Protocol Framework basic code in place now. Cleanup pending.
- New Classes:
o ProtocolManager - singleton with which all protocols register
o ProtocolCollection - Aggregates all registered protocols; exports methods to work on all protocols
o StreamBase - aggregates ProtocolCollection with Stream Core and Control; the client/server side stream classes now derive from StreamBase leading to major reduction in their code (more cleanup pending)
- AbstractProtocol now supports the additional methods
o createInstance()
o protocolFrameSize()
o protocolFrameOffset(), protocolFramePayloadSize()
o protocolId(), payloadProtocolId()
o protocolFrameCksum(), protocolFramePayloadCksum()
0 constructor takes an extra param - frameProtoList
- Specific protocols - eth2, llc, snap, ip4, udp, tcp now return length, protocol id and cksums correctly (tcp/udp cksum pending)
- StreamConfigDialog - protocol controls for length, cksum and protocolid are automatically updated (not fully working yet)
2009-05-10 01:27:17 -05:00
|
|
|
protocolmanager.h \
|
2009-08-02 09:52:34 -05:00
|
|
|
protocollist.h \
|
|
|
|
protocollistiterator.h \
|
Protocol Framework basic code in place now. Cleanup pending.
- New Classes:
o ProtocolManager - singleton with which all protocols register
o ProtocolCollection - Aggregates all registered protocols; exports methods to work on all protocols
o StreamBase - aggregates ProtocolCollection with Stream Core and Control; the client/server side stream classes now derive from StreamBase leading to major reduction in their code (more cleanup pending)
- AbstractProtocol now supports the additional methods
o createInstance()
o protocolFrameSize()
o protocolFrameOffset(), protocolFramePayloadSize()
o protocolId(), payloadProtocolId()
o protocolFrameCksum(), protocolFramePayloadCksum()
0 constructor takes an extra param - frameProtoList
- Specific protocols - eth2, llc, snap, ip4, udp, tcp now return length, protocol id and cksums correctly (tcp/udp cksum pending)
- StreamConfigDialog - protocol controls for length, cksum and protocolid are automatically updated (not fully working yet)
2009-05-10 01:27:17 -05:00
|
|
|
streambase.h \
|
2009-04-27 11:51:44 -05:00
|
|
|
mac.h \
|
|
|
|
payload.h \
|
|
|
|
eth2.h \
|
|
|
|
dot3.h \
|
|
|
|
llc.h \
|
|
|
|
snap.h \
|
2009-05-24 09:54:11 -05:00
|
|
|
vlan.h \
|
2009-04-27 11:51:44 -05:00
|
|
|
ip4.h \
|
|
|
|
tcp.h \
|
|
|
|
udp.h
|
|
|
|
SOURCES += \
|
|
|
|
abstractprotocol.cpp \
|
Protocol Framework basic code in place now. Cleanup pending.
- New Classes:
o ProtocolManager - singleton with which all protocols register
o ProtocolCollection - Aggregates all registered protocols; exports methods to work on all protocols
o StreamBase - aggregates ProtocolCollection with Stream Core and Control; the client/server side stream classes now derive from StreamBase leading to major reduction in their code (more cleanup pending)
- AbstractProtocol now supports the additional methods
o createInstance()
o protocolFrameSize()
o protocolFrameOffset(), protocolFramePayloadSize()
o protocolId(), payloadProtocolId()
o protocolFrameCksum(), protocolFramePayloadCksum()
0 constructor takes an extra param - frameProtoList
- Specific protocols - eth2, llc, snap, ip4, udp, tcp now return length, protocol id and cksums correctly (tcp/udp cksum pending)
- StreamConfigDialog - protocol controls for length, cksum and protocolid are automatically updated (not fully working yet)
2009-05-10 01:27:17 -05:00
|
|
|
protocolmanager.cpp \
|
2009-08-02 09:52:34 -05:00
|
|
|
protocollist.cpp \
|
|
|
|
protocollistiterator.cpp \
|
Protocol Framework basic code in place now. Cleanup pending.
- New Classes:
o ProtocolManager - singleton with which all protocols register
o ProtocolCollection - Aggregates all registered protocols; exports methods to work on all protocols
o StreamBase - aggregates ProtocolCollection with Stream Core and Control; the client/server side stream classes now derive from StreamBase leading to major reduction in their code (more cleanup pending)
- AbstractProtocol now supports the additional methods
o createInstance()
o protocolFrameSize()
o protocolFrameOffset(), protocolFramePayloadSize()
o protocolId(), payloadProtocolId()
o protocolFrameCksum(), protocolFramePayloadCksum()
0 constructor takes an extra param - frameProtoList
- Specific protocols - eth2, llc, snap, ip4, udp, tcp now return length, protocol id and cksums correctly (tcp/udp cksum pending)
- StreamConfigDialog - protocol controls for length, cksum and protocolid are automatically updated (not fully working yet)
2009-05-10 01:27:17 -05:00
|
|
|
streambase.cpp \
|
2009-04-27 11:51:44 -05:00
|
|
|
mac.cpp \
|
|
|
|
payload.cpp \
|
|
|
|
eth2.cpp \
|
|
|
|
dot3.cpp \
|
|
|
|
llc.cpp \
|
|
|
|
snap.cpp \
|
2009-05-24 09:54:11 -05:00
|
|
|
vlan.cpp \
|
2009-04-27 11:51:44 -05:00
|
|
|
ip4.cpp \
|
|
|
|
tcp.cpp \
|
|
|
|
udp.cpp
|
|
|
|
|
|
|
|
protobuf_decl.name = protobuf header
|
|
|
|
protobuf_decl.input = PROTOS
|
|
|
|
protobuf_decl.output = ${QMAKE_FILE_BASE}.pb.h
|
|
|
|
protobuf_decl.commands = protoc --cpp_out="." ${QMAKE_FILE_NAME}
|
|
|
|
protobuf_decl.variable_out = GENERATED_FILES
|
|
|
|
QMAKE_EXTRA_COMPILERS += protobuf_decl
|
|
|
|
|
|
|
|
protobuf_impl.name = protobuf implementation
|
|
|
|
protobuf_impl.input = PROTOS
|
|
|
|
protobuf_impl.output = ${QMAKE_FILE_BASE}.pb.cc
|
|
|
|
protobuf_impl.depends = ${QMAKE_FILE_BASE}.pb.h
|
|
|
|
protobuf_impl.commands = $$escape_expand(\n)
|
|
|
|
protobuf_impl.variable_out = GENERATED_SOURCES
|
|
|
|
QMAKE_EXTRA_COMPILERS += protobuf_impl
|