netisr.h (8426) | netisr.h (11819) |
---|---|
1/* 2 * Copyright (c) 1980, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)netisr.h 8.1 (Berkeley) 6/10/93 | 1/* 2 * Copyright (c) 1980, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)netisr.h 8.1 (Berkeley) 6/10/93 |
34 * $Id: netisr.h,v 1.5 1995/01/05 19:51:47 se Exp $ | 34 * $Id: netisr.h,v 1.6 1995/05/11 00:13:10 wollman Exp $ |
35 */ 36 37#ifndef _NET_NETISR_H_ 38#define _NET_NETISR_H_ 39 40/* 41 * The networking code runs off software interrupts. 42 * --- 14 unchanged lines hidden (view full) --- 57 */ 58#define NETISR_RAW 0 /* same as AF_UNSPEC */ 59#define NETISR_IP 2 /* same as AF_INET */ 60#define NETISR_IMP 3 /* same as AF_IMPLINK */ 61#define NETISR_NS 6 /* same as AF_NS */ 62#define NETISR_ISO 7 /* same as AF_ISO */ 63#define NETISR_CCITT 10 /* same as AF_CCITT */ 64#define NETISR_ARP 18 /* same as AF_LINK */ | 35 */ 36 37#ifndef _NET_NETISR_H_ 38#define _NET_NETISR_H_ 39 40/* 41 * The networking code runs off software interrupts. 42 * --- 14 unchanged lines hidden (view full) --- 57 */ 58#define NETISR_RAW 0 /* same as AF_UNSPEC */ 59#define NETISR_IP 2 /* same as AF_INET */ 60#define NETISR_IMP 3 /* same as AF_IMPLINK */ 61#define NETISR_NS 6 /* same as AF_NS */ 62#define NETISR_ISO 7 /* same as AF_ISO */ 63#define NETISR_CCITT 10 /* same as AF_CCITT */ 64#define NETISR_ARP 18 /* same as AF_LINK */ |
65#define NETISR_IPX 23 /* same as AF_IPX */ |
|
65#define NETISR_ISDN 26 /* same as AF_E164 */ 66 67#define schednetisr(anisr) { netisr |= 1<<(anisr); setsoftnet(); } 68 69#ifndef LOCORE 70#ifdef KERNEL 71extern volatile unsigned int netisr; /* scheduling bits for network */ 72 --- 15 unchanged lines hidden --- | 66#define NETISR_ISDN 26 /* same as AF_E164 */ 67 68#define schednetisr(anisr) { netisr |= 1<<(anisr); setsoftnet(); } 69 70#ifndef LOCORE 71#ifdef KERNEL 72extern volatile unsigned int netisr; /* scheduling bits for network */ 73 --- 15 unchanged lines hidden --- |