ip_packet: Add getter for IP payload
This commit is contained in:
@@ -67,6 +67,13 @@ struct ip_packet_t {
|
||||
*/
|
||||
chunk_t (*get_encoding)(ip_packet_t *this);
|
||||
|
||||
/**
|
||||
* Get only the payload
|
||||
*
|
||||
* @return IP payload (internal data)
|
||||
*/
|
||||
chunk_t (*get_payload)(ip_packet_t *this);
|
||||
|
||||
/**
|
||||
* Clone the IP packet
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user