- * Return a pointer to a protocol's payload region in a packet. If
- * len is not NULL, getPayload will return the length of the payload
- * in it, which is the same as the return value from
- * payloadLength(). If a protocol does not support variable length
- * packets, then *len is equal to maxPayloadLength().
+ * Return a pointer to a protocol's payload region in a packet which
+ * at least a certain length. If the payload region is smaller than
+ * the len parameter, then getPayload returns NULL.