Re: vlan and bpf
Mouse <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.network |
|---|---|
| Message-ID | <[email protected]> |
>> This patch has not even been compiled, [...] > Something like that ought to be optional (don't much care which way > the default is set, nor whether some application ioctl, or a system > sysctl, or both, gets to control it) Actually, I disagree. (A per-bpf-open ioctl would be OK philosphically, but seems to me like a wrong way to control it.) > but there are times when monitoring the parent interface and seeing > all the vlan traffic on it is useful. Indeed. IMO bpf should tap at the lowest possible level. If you don't want to see packets with vlan tags, it seems to me the right thing to do is to set a bpf filter that doesn't include them. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML [email protected] / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B