trema/trema — Issue #155: udp_payload accessor function of ruby
Author: kazuyas
Created: 2012-01-20 06:14:47+00:00
State: open

Packet_in message do not always include entire packet.
Therefore If you want to extract a payload data from packet_in, you should refer not a length field of udp packets but a remained length of packet_in buffer.