Advanced Operating Systems COMP9242 2003/S2 |
UNSW |
Printer-Friendly
Version
|
Tulip LibraryThe Tulip library provides access to the U4600's PCI network card. The tulip library is used directly by liblwip (the IP stack), you shouldn't need to use any of these functions directly. Most of these function are used lib/lwip/sos/sosif.c if you are interested. tulip_init
tulip_get_macaddr
This will return the MAC address of the ethernet card. tulip_interrupt_handler
This should be called whenever an interrupt occurs on the card. tulip_enable_receive
This must be called before the card will recieve packets. tulip_feedpacket
This sends a packet given packet. tulip_freepacket
This provides a buffer for the card to receive packets into. Last modified: 10 Sep 2003. |