0103696016
- new method: fieldFlags() - isCksum, isMeta; Note: isMeta is a flag now not a attrib - fieldData() bit fields are now in lsb not msb - protocolFrameValue() and subclasses changed accordingly - protocolFrameValue() now takes an additional bool param indicating whether the frameValue is being requested for a checksum calculation; if so fields which are checksum fields are assumed to be zero and their value is not fetched to prevent infinite recursion - Other Protocols - mac: srcMac/dstMac modes is now working - vlan: implemented VLAN protocol - ip4: src/dst Addr modes is now working - udp/tcp: checksum done - Basic testing done for MAC, VLAN, IPv4, UDP and TCP protocols - sample protocol: .cpp/.h added to repos - need to be made compilable - StreamConfigDialog - Redesigned the protocol selection tab to accomodate "Advanced Protocol Selection" - L2 Tab config widgets are now in 2 columns - Packet Tree View is no longer collapsed if selected protocols don't change
180 lines
4.3 KiB
XML
180 lines
4.3 KiB
XML
<ui version="4.0" >
|
|
<class>Vlan</class>
|
|
<widget class="QWidget" name="Vlan" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>268</width>
|
|
<height>96</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" >
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<property name="leftMargin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="topMargin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="rightMargin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="bottomMargin" >
|
|
<number>9</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox" >
|
|
<property name="title" >
|
|
<string>VLAN</string>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<item row="0" column="0" >
|
|
<widget class="QCheckBox" name="cbTpidOverride" >
|
|
<property name="enabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Override TPID</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" >
|
|
<widget class="QLabel" name="label_9" >
|
|
<property name="text" >
|
|
<string>Priority</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2" >
|
|
<widget class="QLabel" name="label_8" >
|
|
<property name="text" >
|
|
<string>CFI/DEI</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3" >
|
|
<widget class="QLabel" name="label_10" >
|
|
<property name="text" >
|
|
<string>VLAN</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QLineEdit" name="leTpid" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="inputMask" >
|
|
<string>>HH HH; </string>
|
|
</property>
|
|
<property name="text" >
|
|
<string> </string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<widget class="QComboBox" name="cmbPrio" >
|
|
<property name="enabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<item>
|
|
<property name="text" >
|
|
<string>0</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>1</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>2</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>3</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>4</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>5</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>6</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>7</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2" >
|
|
<widget class="QComboBox" name="cmbCfiDei" >
|
|
<property name="enabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<item>
|
|
<property name="text" >
|
|
<string>0</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>1</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3" >
|
|
<widget class="QLineEdit" name="leVlanId" >
|
|
<property name="enabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string>0</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>cbTpidOverride</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>leTpid</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>59</x>
|
|
<y>41</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>59</x>
|
|
<y>57</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|