The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/net/netisr_dispatch.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* $NetBSD: netisr_dispatch.h,v 1.10 2002/11/02 12:00:03 kristerw Exp $ */
    2 
    3 /*
    4  * netisr_dispatch: This file is included by the 
    5  *      machine dependant softnet function.  The
    6  *      DONETISR macro should be set before including
    7  *      this file.  i.e.:
    8  *
    9  * softintr() {
   10  *      ...do setup stuff...
   11  *      #define DONETISR(bit, fn) do { ... } while (0)
   12  *      #include <net/netisr_dispatch.h>
   13  *      #undef DONETISR
   14  *      ...do cleanup stuff.
   15  * }
   16  */
   17 
   18 #ifndef _NET_NETISR_H_
   19 #error <net/netisr.h> must be included before <net/netisr_dispatch.h>
   20 #endif
   21 
   22 /*
   23  * When adding functions to this list, be sure to add headers to provide
   24  * their prototypes in <net/netisr.h> (if necessary).
   25  */
   26 
   27 #ifdef INET
   28 #if NARP > 0
   29         DONETISR(NETISR_ARP,arpintr);
   30 #endif
   31         DONETISR(NETISR_IP,ipintr);
   32 #endif
   33 #ifdef INET6
   34         DONETISR(NETISR_IPV6,ip6intr);
   35 #endif
   36 #ifdef NETATALK
   37         DONETISR(NETISR_ATALK,atintr);
   38 #endif
   39 #ifdef NS
   40         DONETISR(NETISR_NS,nsintr);
   41 #endif
   42 #ifdef ISO
   43         DONETISR(NETISR_ISO,clnlintr);
   44 #endif
   45 #ifdef CCITT
   46         DONETISR(NETISR_CCITT,ccittintr);
   47 #endif
   48 #ifdef NATM
   49         DONETISR(NETISR_NATM,natmintr);
   50 #endif
   51 #if NSL > 0 && !defined(__HAVE_GENERIC_SOFT_INTERRUPTS)
   52         DONETISR(NETISR_SLIP,slnetisr);
   53 #endif
   54 #if NSTRIP > 0 && !defined(__HAVE_GENERIC_SOFT_INTERRUPTS)
   55         DONETISR(NETISR_STRIP,stripnetisr);
   56 #endif
   57 #if NPPP > 0 && !defined(__HAVE_GENERIC_SOFT_INTERRUPTS)
   58         DONETISR(NETISR_PPP,pppnetisr);
   59 #endif

Cache object: b1cf9b6d5779f95c06cfea2b77c816cd


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.