RTEMS Logo

RTEMS 4.6.99.3 On-Line Library


Networking Driver Write the Driver Receive Task

PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

15.9: Write the Driver Receive Task

This task should block until a packet arrives from the device. If the device is an Ethernet interface the function ether_input should be called to forward the packet to the network stack. The arguments to ether_input are a pointer to the interface data structure, a pointer to the ethernet header and a pointer to an mbuf containing the packet itself.


PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

Copyright © 1988-2004 OAR Corporation