---
title: BPF_FUNC
framework: Kernel
role: symbol
role_heading: Type Alias
platforms: [macOS 10.6+]
path: kernel/bpf_func
---

# BPF_FUNC

## Declaration

```occ
typedef int (*BPF_FUNC)(struct ifnet *, struct mbuf *);
```

## Discussion

Discussion Prototype for the BPF tap handler. This will disappear when the correct DLIL header file is included.
