Deleted Added
full compact
netisr.h (11963) netisr.h (15885)
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.7 1995/10/26 20:30:22 julian Exp $
34 * $Id: netisr.h,v 1.8 1995/10/31 19:07:49 peter Exp $
35 */
36
37#ifndef _NET_NETISR_H_
38#define _NET_NETISR_H_
39
40/*
41 * The networking code runs off software interrupts.
42 *

--- 13 unchanged lines hidden (view full) ---

56 * on the lowest level routine of each protocol.
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 */
35 */
36
37#ifndef _NET_NETISR_H_
38#define _NET_NETISR_H_
39
40/*
41 * The networking code runs off software interrupts.
42 *

--- 13 unchanged lines hidden (view full) ---

56 * on the lowest level routine of each protocol.
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_ATALK 16 /* same as AF_APPLETALK */
64#define NETISR_ARP 18 /* same as AF_LINK */
65#define NETISR_IPX 23 /* same as AF_IPX */
66#define NETISR_ISDN 26 /* same as AF_E164 */
67#define NETISR_PPP 27 /* PPP soft interrupt */
68
69#define schednetisr(anisr) { netisr |= 1<<(anisr); setsoftnet(); }
70
71#ifndef LOCORE

--- 20 unchanged lines hidden ---
65#define NETISR_ARP 18 /* same as AF_LINK */
66#define NETISR_IPX 23 /* same as AF_IPX */
67#define NETISR_ISDN 26 /* same as AF_E164 */
68#define NETISR_PPP 27 /* PPP soft interrupt */
69
70#define schednetisr(anisr) { netisr |= 1<<(anisr); setsoftnet(); }
71
72#ifndef LOCORE

--- 20 unchanged lines hidden ---