On Sat, Apr 07, 2007 at 04:35:28PM -0400, George Nychis wrote:
> 
> Checked in some code in to my branch which compiles successfully and has 
> most of the packet functionality.  I need a function to set the payload and 
> pad it, but I'm literally putting on my shoes and running out the door to 
> visit my fam for a bit.  Will finish it tonight.  Just kicking it out for 
> some feedback and checks in the meantime.
> 
> :)
> 

Thanks.

There's already a method that returns a pointer to the payload
section.  Just use memcpy to put what you want there.  Also, note that
nobody looks at the pad (that's why it's called pad and not MBZ), so
there's no reason to initialize it.

Eric


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to