Embedded Xinu Operating System
An ongoing research project and educational operating system.
|
#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) |
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.
devptr | Pointer to the ethernet device to write to. |
buf | Packet buffer |
len | Amount of bytes to write |