2009-04-27 11:51:44 -05:00
|
|
|
<ui version="4.0" >
|
|
|
|
<class>udp</class>
|
|
|
|
<widget class="QWidget" name="udp" >
|
|
|
|
<property name="geometry" >
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>217</width>
|
|
|
|
<height>144</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle" >
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" >
|
|
|
|
<item row="0" column="0" >
|
|
|
|
<layout class="QGridLayout" >
|
|
|
|
<item row="0" column="0" >
|
|
|
|
<widget class="QLabel" name="label_35" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>Source Port</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1" >
|
|
|
|
<widget class="QLineEdit" name="leUdpSrcPort" />
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0" >
|
|
|
|
<widget class="QLabel" name="label_38" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>Destination Port</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1" >
|
|
|
|
<widget class="QLineEdit" name="leUdpDstPort" />
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0" >
|
|
|
|
<widget class="QCheckBox" name="cbUdpLengthOverride" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>Override Length</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1" >
|
|
|
|
<widget class="QLineEdit" name="leUdpLength" >
|
|
|
|
<property name="enabled" >
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0" >
|
|
|
|
<widget class="QCheckBox" name="cbUdpCksumOverride" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>Override Checksum</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1" >
|
|
|
|
<widget class="QLineEdit" name="leUdpCksum" >
|
|
|
|
<property name="enabled" >
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="inputMask" >
|
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
|
|
|
<string>>HH HH; </string>
|
2009-04-27 11:51:44 -05:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1" >
|
|
|
|
<spacer>
|
|
|
|
<property name="orientation" >
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" >
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0" >
|
|
|
|
<spacer>
|
|
|
|
<property name="orientation" >
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" >
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
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
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>cbUdpLengthOverride</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>leUdpLength</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel" >
|
|
|
|
<x>59</x>
|
|
|
|
<y>63</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel" >
|
|
|
|
<x>149</x>
|
|
|
|
<y>63</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>cbUdpCksumOverride</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>leUdpCksum</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel" >
|
|
|
|
<x>55</x>
|
|
|
|
<y>106</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel" >
|
|
|
|
<x>158</x>
|
|
|
|
<y>106</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
2009-04-27 11:51:44 -05:00
|
|
|
</ui>
|