* Attach an interface to bpf. dlt is the link layer type; hdrlen is the * fixed size of the link header (variable length headers not yet supported). */
| 2667 | * fixed size of the link header (variable length headers not yet supported). |
| 2668 | */ |
| 2669 | void |
| 2670 | bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen) |
| 2671 | { |
| 2672 | |
| 2673 | bpfattach2(ifp, dlt, hdrlen, &ifp->if_bpf); |
| 2674 | } |
| 2675 | |
| 2676 | /* |
| 2677 | * Attach an interface to bpf. ifp is a pointer to the structure |
no test coverage detected