Hi, I am allocating a packet with odp_packet_alloc. Now I can write some data into it using odp_packet_copydata_in. Or even by getting the buffer payload first by odp_packet_data call. But now how do I change the frame_len of this odp_packet_t ?
I see a function static inline void packet_set_len(odp_packet_t pkt, uint32_t len), present in odp_packet_internal.h But I am an application so I need public access to this. I would need to send this packet out using pktio api's which inspect the frame_len of the packet. Regards -Prashant "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."
_______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
