---
title: bpfAttach
framework: networkingdriverkit
role: symbol
role_heading: Instance Method
path: networkingdriverkit/iousernetworkethernet/bpfattach
---

# bpfAttach

## Declaration

```occ
virtual IOReturn bpfAttach(uint32_t dataLinkType, uint32_t headerLength);
```
