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

Functions

syscall rtpRecv (struct packet *pkt, struct netaddr *src, struct netaddr *dst)
 

Function Documentation

syscall rtpRecv ( struct packet *  pkt,
struct netaddr *  src,
struct netaddr *  dst 
)

Receive a RTP packet and place it in the RTP device's input buffer

Parameters
pktIncoming RTP packet
srcSource address
dstDestination address
Returns
OK if RTP packet is received properly, otherwise SYSERR