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

Functions

syscall rtpSend (struct rtp *rtpptr, ushort datalen, void *buf)
 

Function Documentation

syscall rtpSend ( struct rtp *  rtpptr,
ushort  datalen,
void *  buf 
)

Send a RTP packet across the network to a certain destination

Parameters
rtpptrPointer to RTP control block
datalenLength of data to be sent
bufData to be sent
Returns
OK if packet is sent properly, otherwise SYSERR