These methods are used when protocols are layered so that, when decoding one layer, the protocol at the next higher layer can be identified and its data isolated. There are actually three categories of NextProtocol methods:
NextProtocol Methods
|
Method |
Description |
|
NextProtocol |
methods that identify the protocol at the next layer |
|
NextProtocolOffset |
methods that determine the offset of the next layer |
|
NextProtocolSize |
methods that determine the size of the next layer |
We will now survey each category in turn.