allocRxBuffer.c File Reference

Implements the functions: allocRxBuffer. More...

#include <stddef.h>
#include <device.h>
#include <ether.h>
#include <bufpool.h>
#include <stdlib.h>

Include dependency graph for allocRxBuffer.c:

Go to the source code of this file.

Functions

int allocRxBuffer (struct ether *peth, int destIndex)
 Allocate an ethernet packet buffer structure.


Detailed Description

Implements the functions: allocRxBuffer.

Id
allocRxBuffer.c 1384 2008-07-10 18:26:27Z jpicotte

Definition in file allocRxBuffer.c.


Function Documentation

int allocRxBuffer ( struct ether *  peth,
int  destIndex 
)

Allocate an ethernet packet buffer structure.

Parameters:
peth ethernet table entry
destIndex destination index in ethernet reciever ring
Returns:
bytes allocated

Definition at line 21 of file allocRxBuffer.c.

References bzero(), getbuf(), kprintf(), NULL, OK, and SYSERR.

Referenced by etherOpen().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Wed Aug 27 06:07:46 2008 for Embedded XINU by  doxygen 1.5.5