Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Functions
etherWrite.c File Reference
#include "lan7800.h"
#include <bufpool.h>
#include <ether.h>
#include <interrupt.h>
#include <string.h>
#include <usb_core_driver.h>

Functions

devcall etherWrite (device *devptr, const void *buf, uint len)
 

Function Documentation

devcall etherWrite ( device *  devptr,
const void *  buf,
uint  len 
)

Implementation of etherWrite() for the MicroChip LAN7800; see the documentation for this function in ether.h.

Parameters
devptrPointer to the ethernet device to write to.
bufPacket buffer
lenAmount of bytes to write
Returns
The length of the packet written