Name

dvb_ringbuffer_pkt_write — Write a packet into the ringbuffer.

Synopsis

ssize_t dvb_ringbuffer_pkt_write (struct dvb_ringbuffer * rbuf,
 u8 * buf,
 size_t len);
 

Arguments

rbuf

Ringbuffer to write to.

buf

Buffer to write.

len

Length of buffer (currently limited to 65535 bytes max). returns Number of bytes written, or -EFAULT, -ENOMEM, -EVINAL.