/* $OpenBSD: netisr_dispatch.h,v 1.16 2008/05/07 05:51:12 mpf Exp $ */ /* $NetBSD: netisr_dispatch.h,v 1.2 2000/07/02 04:40:47 cgd Exp $ */ /* * netisr_dispatch: This file is included by the * machine dependant softnet function. The * DONETISR macro should be set before including * this file. i.e.: * * softintr() { * ...do setup stuff... * #define DONETISR(bit, fn) do { ... } while (0) * #include * #undef DONETISR * ...do cleanup stuff. * } */ #ifndef _NET_NETISR_H_ #error must be included before #endif #ifndef _NET_NETISR_DISPATCH_H_ #define _NET_NETISR_DISPATCH_H_ #include "bluetooth.h" #include "ether.h" #endif /* * When adding functions to this list, be sure to add headers to provide * their prototypes in (if necessary). */ #ifdef INET #if NETHER > 0 DONETISR(NETISR_ARP,arpintr); #endif DONETISR(NETISR_IP,ipintr); #endif #ifdef INET6 DONETISR(NETISR_IPV6,ip6intr); #endif #ifdef NETATALK DONETISR(NETISR_ATALK,atintr); #endif #if NATM > 0 DONETISR(NETISR_NATM,natmintr); #endif #if NBLUETOOTH > 0 DONETISR(NETISR_BT,btintr); #endif DONETISR(NETISR_TX,nettxintr);