1/* 2 * Copyright (c) 1990,1994 Regents of The University of Michigan. 3 * All Rights Reserved. See COPYRIGHT.
| 1/* 2 * Copyright (c) 1990,1994 Regents of The University of Michigan. 3 * All Rights Reserved. See COPYRIGHT.
|
| 4 * 5 * $FreeBSD: head/sys/netatalk/ddp_input.c 56555 2000-01-24 20:39:02Z brian $
|
4 */ 5 6#include <sys/param.h> 7#include <sys/systm.h> 8#include <sys/kernel.h> 9#include <net/netisr.h> 10#include <sys/mbuf.h> 11#include <sys/socket.h> 12#include <sys/socketvar.h> 13#include <net/if.h> 14#include <net/route.h>
| 6 */ 7 8#include <sys/param.h> 9#include <sys/systm.h> 10#include <sys/kernel.h> 11#include <net/netisr.h> 12#include <sys/mbuf.h> 13#include <sys/socket.h> 14#include <sys/socketvar.h> 15#include <net/if.h> 16#include <net/route.h>
|
| 17#include <net/intrq.h>
|
15 16#include <netatalk/at.h> 17#include <netatalk/at_var.h> 18#include <netatalk/ddp.h> 19#include <netatalk/ddp_var.h> 20#include <netatalk/at_extern.h> 21
| 18 19#include <netatalk/at.h> 20#include <netatalk/at_var.h> 21#include <netatalk/ddp.h> 22#include <netatalk/ddp_var.h> 23#include <netatalk/at_extern.h> 24
|
22struct ifqueue atintrq1, atintrq2; 23
| |
24static volatile int ddp_forward = 1; 25static volatile int ddp_firewall = 0; 26static struct ddpstat ddpstat; 27static struct route forwro; 28
| 25static volatile int ddp_forward = 1; 26static volatile int ddp_firewall = 0; 27static struct ddpstat ddpstat; 28static struct route forwro; 29
|
| 30const int atintrq1_present = 1, atintrq2_present = 1; 31
|
29static void ddp_input(struct mbuf *, struct ifnet *, struct elaphdr *, int); 30 31/* 32 * Could probably merge these two code segments a little better... 33 */ 34static void 35atintr( void ) 36{
--- 429 unchanged lines hidden --- | 32static void ddp_input(struct mbuf *, struct ifnet *, struct elaphdr *, int); 33 34/* 35 * Could probably merge these two code segments a little better... 36 */ 37static void 38atintr( void ) 39{
--- 429 unchanged lines hidden --- |