FreeBSD/sys/net/bpf.c
/*
 * 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).
 */
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).
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 ) .
void
bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen)
{
	bpfattach2(ifp, dlt, hdrlen, &ifp->if_bpf);
}
void bpfattach ( struct ifnet * ifp , u_int dlt , u_int hdrlen ) { bpfattach2 ( ifp , dlt , hdrlen , & ifp -> if_bpf ) ; }
Attach an interface to bpf.
Attach an interface to bpf .