From 04e28d5a816573d1300b4591306a8785d3ace29c Mon Sep 17 00:00:00 2001 From: jlemon Date: Tue, 4 Mar 2003 23:19:55 +0000 Subject: Update netisr handling; Each SWI now registers its queue, and all queue drain routines are done by swi_net, which allows for better queue control at some future point. Packets may also be directly dispatched to a netisr instead of queued, this may be of interest at some installations, but currently defaults to off. Reviewed by: hsu, silby, jayanth, sam Sponsored by: DARPA, NAI Labs --- sys/netatalk/aarp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/netatalk/aarp.c') diff --git a/sys/netatalk/aarp.c b/sys/netatalk/aarp.c index a22488a..f2598b9 100644 --- a/sys/netatalk/aarp.c +++ b/sys/netatalk/aarp.c @@ -258,12 +258,13 @@ aarpresolve( ac, m, destsat, desten ) } void -aarpinput( ac, m ) - struct arpcom *ac; +aarpintr( m ) struct mbuf *m; { struct arphdr *ar; + struct arpcom *ac; + ac = (struct arpcom *)m->m_pkthdr.rcvif; if ( ac->ac_if.if_flags & IFF_NOARP ) goto out; -- cgit v1.1