1/* 2 * Copyright (c) 1990,1991 Regents of The University of Michigan. 3 * All Rights Reserved. 4 * |
5 * $FreeBSD: head/sys/netatalk/aarp.c 111888 2003-03-04 23:19:55Z jlemon $ |
6 */ 7 8#include "opt_atalk.h" 9#include "opt_mac.h" 10 11#include <sys/param.h> 12#include <sys/systm.h> 13#include <sys/mac.h> --- 239 unchanged lines hidden (view full) --- 253 } 254 aat->aat_hold = m; 255 aarpwhohas( ac, destsat ); 256 splx( s ); 257 return( 0 ); 258} 259 260void |
261aarpintr( m ) |
262 struct mbuf *m; 263{ 264 struct arphdr *ar; |
265 struct arpcom *ac; |
266 |
267 ac = (struct arpcom *)m->m_pkthdr.rcvif; |
268 if ( ac->ac_if.if_flags & IFF_NOARP ) 269 goto out; 270 271 if ( m->m_len < sizeof( struct arphdr )) { 272 goto out; 273 } 274 275 ar = mtod( m, struct arphdr *); --- 352 unchanged lines hidden --- |