Add a new function ether_ifattach_bpf which can be used by NICs not using
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 15 Mar 2004 20:08:40 +0000 (20:08 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 15 Mar 2004 20:08:40 +0000 (20:08 +0000)
commitc0f6c904974a941a14d9ffcd8638264d5415d3d2
tree48d1bf35aaa1a72711a3b2a2e895e1788deab262
parent337452005fe5c9e44587b082d492d56896728a35
Add a new function ether_ifattach_bpf which can be used by NICs not using
the default arguments for bpfattach for dlt and hdrlen. ether_ifattach
calls this routine and provides the old standard arguments to keep the API.

This call can be used instead of the multiple BPF interfaces mess in the
coming generic 802.11 layer.

Fix I4B's isppp by using the new call.
sys/net/i4b/driver/i4b_isppp.c
sys/net/if_ethersubr.c
sys/net/if_var.h