home *** CD-ROM | disk | FTP | other *** search
- /* -*-C-*-
- *
- * $Header: /ax/networking:include/net/netisr.h:networking 1.1 $
- * $Source: /ax/networking:include/net/netisr.h: $
- *
- * Copyright (c) 1995 Acorn Computers Ltd., Cambridge, England
- *
- * $Log: netisr.h,v $
- * Revision 1.1 95/01/11 10:14:48 kwelton
- * Initial revision
- *
- */
-
- /*
- * The networking code runs off software callbacks.
- *
- */
- #ifndef __riscos
- #if defined(vax) || defined(tahoe)
- #define setsoftnet() mtpr(SIRR, 12)
- #endif
- #endif
-
- #define NETISR_RAW 0 /* same as AF_UNSPEC */
- #define NETISR_IP 2 /* same as AF_INET */
- #define NETISR_CALLO 3
- #define NETISR_ECO 6
-
- #define schednetisr(anisr) { netisr |= 1<<(anisr); setsoftnet(); }
-
- #ifndef LOCORE
- #ifdef KERNEL
- extern int netisr; /* scheduling bits for network */
- #endif
- #endif
-
- /* EOF netisr.h */
-