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
16 lines
278 B
Protocol Buffer
16 lines
278 B
Protocol Buffer
import "protocol.proto";
|
|
|
|
package OstProto;
|
|
message Vlan {
|
|
// VLAN presence/absence
|
|
optional bool is_override_tpid = 1;
|
|
|
|
// VLAN values
|
|
optional uint32 tpid = 2;
|
|
optional uint32 vlan_tag = 3; // includes prio, cfi and vlanid
|
|
}
|
|
|
|
extend Stream {
|
|
optional Vlan vlan = 126;
|
|
}
|