====== PDU ====== ===== Description ===== A Protocol Data Unit is a block of data that is independent of packet boundaries. For stream based protocols the PDU is the meaningful unit of data. PDUs do not respect packet boundaries at all. Unsniff tracks all PDUs in addition to packets, this allows for powerful stream based protocol analysis capabilities. The PDU object represents a single PDU present in the capture file. ===== Properties ===== ^Name^Type^Access^Description^ |ID|Long|Read|Each PDU is assigned a unique ID by Unsniff | |ProtID|String|Read|The Protocol GUID of the PDU. Each protocol in Unsniff must have a unique GUID. The string returned in a GUID in the registry format| |Name|String|Read|The Name of the PDU. In most cases, this is the protocol name of the PDU. | |Description|String|Read/Write|The text description of the PDU. Your script can also change the description based on your analysis.| |SenderAddress|String|Read|The network address of the Sender of this PDU. This is a network name if this address has been resolved to a name. | |ReceiverAddress|String|Read|The network address of the Receiver of this PDU. This is a network name if this address has been resolved to a name| |Timestamp|String|Read|The time this PDU was created. The time is returned in a string. The format of the time is determined by the current Windows Locale settings| |TimestampSecs|Long|Read|The seconds’ part of the PDU create timestamp. This number returns the number of seconds since midnight January 1, 1900| |TimestampUSecs|Long|Read|The microseconds part of the PDU create timestamp.| |Length|Long|Read|The length (in bytes) of this PDU | |Fields|Collection|Read|This collection object contains all the fields in the PDU.| |RawData|String|Read|A hex dump of this PDU. | ===== Methods ===== This object does not define any methods