etherWrite.c File Reference

Implements the functions: etherWrite. More...

#include <stddef.h>
#include <stdlib.h>
#include <device.h>
#include <bufpool.h>
#include <ether.h>
#include <bcm4713.h>
#include <interrupt.h>
#include <string.h>

Include dependency graph for etherWrite.c:

Go to the source code of this file.

Functions

devcall etherWrite (device *pdev, void *buf, uint len)
 Write a packet to the ethernet device.


Detailed Description

Implements the functions: etherWrite.

Id
etherWrite.c 1447 2008-08-12 19:23:34Z mschul

Definition in file etherWrite.c.


Function Documentation

devcall etherWrite ( device *  pdev,
void *  buf,
uint  len 
)

Write a packet to the ethernet device.

Parameters:
pdev device table entry
buf packet buffer
len size of the buffer
Returns:
bytes output

Definition at line 25 of file etherWrite.c.

References control(), disable, getbuf(), memcpy(), NULL, restore, and SYSERR.

Here is the call graph for this function:


Generated on Wed Aug 27 06:08:15 2008 for Embedded XINU by  doxygen 1.5.5