Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Functions
rtpRead.c File Reference
#include <stddef.h>
#include <device.h>
#include <ether.h>
#include <interrupt.h>
#include <ipv4.h>
#include <network.h>
#include <rtp.h>

Functions

devcall rtpRead (device *devptr, void *buf, uint len)
 

Function Documentation

devcall rtpRead ( device *  devptr,
void *  buf,
uint  len 
)

Read a packet's data and put that data into the user buffer

Parameters
devptrRTP device table entry
bufUser buffer
lenLength of data to be read and put into user buffer
Returns
OK if data read completes properly, otherwise SYSERR