Description:
The method FromField returns the value from the field named in the parameter. The value is used to determine the size of the next protocol layer.
The "Offset" parameter adds or subtracts from the value in the "Field" parameter. Positive values are added, negative values are subtracted.
Parameters:
|
[Required] |
Field |
"Field that contains the next protocol size" |
|
|
[Required] |
Int |
"Offset" |
|
Example:
NEXT_PROTOCOL (FromField nlpid)