Hello,

I am wondering if gld_recv( ) can send multiple packets at one time? or i can 
send packet header and data separately?

The man page says the [b]mp[/b] parameter used in gld_recv( ) contains one 
packet, is chained packet ok?

    " mp    Pointer to  a  message  block  containing  [i]a  received
           packet.[/i]"

The chip I am working on has a design issue:always puts packet header in one 
buffer and data in another. One workaround is to allocate a big buffer to save 
both header and data, then send upstream. I am thinking an alternative way, is 
it workable to use one mblk_t to save packet header and another to save packet 
data and the first mblk_t's [i]b_cont[/i] points to the second mblt_t. But I am 
not sure whether gld_recv can send chained packets. Oh, can I call gld_recv 
twice to send packet header first then packet data? 

Tom
 
 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to