|
Lines 37-42
Link Here
|
| 37 |
#include <netatm/kern_include.h> |
37 |
#include <netatm/kern_include.h> |
|
|
38 |
#include <net/bpf.h> |
| 39 |
|
| 38 |
#ifndef lint |
40 |
#ifndef lint |
| 39 |
__RCSID("@(#) $FreeBSD: src/sys/netatm/atm_device.c,v 1.5 1999/08/28 00:= |
41 |
__RCSID("@(#) $FreeBSD: src/sys/netatm/atm_device.c,v 1.5 1999/08/28 00:= |
| 40 |
#endif |
42 |
#endif |
|
Lines 351-356
Link Here
|
| 351 |
tok, state ); |
353 |
tok, state ); |
| 352 |
KB_FREEALL((KBuffer *)arg1); |
354 |
KB_FREEALL((KBuffer *)arg1); |
| 353 |
break; |
355 |
break; |
|
|
356 |
} |
| 357 |
|
| 358 |
/* |
| 359 |
* Send the packet to the interface's bpf if this vc has = |
| 360 |
*/ |
| 361 |
if (cvcp->cvc_vcc && cvcp->cvc_vcc->vc_nif) { |
| 362 |
struct ifnet *ifp =3D (struct ifnet=20 |
| 363 |
|
| 364 |
if (ifp->if_bpf) |
| 365 |
bpf_mtap(ifp, (KBuffer *)arg1); |
| 354 |
} |
366 |
} |
| 355 |
/* |
367 |
/* |