Re: cvs commit: src/sys/net bpf.h

2004-06-10 Thread Roman Kurakin
Yea, I think the same. rik Guy Harris wrote: This commit reminded me one of my old ideas. Why not to make some function that allow to change DLT on the fly? Such as NetBSD's "bpf_change_type()"? /* * Change the data link type of a interface. */ void bpf_change_type(ifp, dlt, hdrlen) stru

Re: cvs commit: src/sys/net bpf.h

2004-06-09 Thread Guy Harris
This commit reminded me one of my old ideas. Why not to make some function that allow to change DLT on the fly? Such as NetBSD's "bpf_change_type()"? /* * Change the data link type of a interface. */ void bpf_change_type(ifp, dlt, hdrlen) struct ifnet *ifp; u_int dlt, hdrlen; {

Re: cvs commit: src/sys/net bpf.h

2004-06-08 Thread Roman Kurakin
This commit reminded me one of my old ideas. Why not to make some function that allow to change DLT on the fly? Sync adapters can work with various types of protocols and protocol can be changed on the fly. Now we have to use DLT_NULL in such case and this strips functionality. rik David Malone