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

Go to the source code of this file.
Functions | |
| int | allocRxBuffer (struct ether *peth, int destIndex) |
| Allocate an ethernet packet buffer structure. | |
Definition in file allocRxBuffer.c.
| int allocRxBuffer | ( | struct ether * | peth, | |
| int | destIndex | |||
| ) |
Allocate an ethernet packet buffer structure.
| peth | ethernet table entry | |
| destIndex | destination index in ethernet reciever ring |
Definition at line 21 of file allocRxBuffer.c.
References bzero(), getbuf(), kprintf(), NULL, OK, and SYSERR.
Referenced by etherOpen().


1.5.5