On 2001-Feb-23 10:52:17 +0100, "Pedro J. Lobo" <[EMAIL PROTECTED]> wrote:
>On Fri, 23 Feb 2001, Peter Jeremy wrote:
>> - VLAN support in driver modules for the above drivers
>
>Including fxp? My code only supports vlan in modules for the 558 and 559
>controllers, not for the old 557.
I suspect not. I only have 559's to test on.
>> - fix VLAN handling in arp(8)
>
>Can you ellaborate a bit more on this one?
arp(8) needs to know that VLANs are an `ethernet-like' device so
it can add and delete ARP entries. My code is based on kern/19436
and I've attached my changed to that PR. For Wes's benefit, this
doesn't change the kernel's ARP handling at all.
>> - support VLANs in tcpdump(8) [this may be in the generic tree by now]
>
>It's been for quite some time. I used it when doing my first version of
>the patches on a 3.2-stable system.
I added patches to allow matching on the VLAN id and made the BPF
compiler generate code to look inside VLAN packets and allow matching
on the packet contents. I sent these both to FreeBSD (bin/21880) and
the tcpdump maintainers. This lets me do things like:
aalp02# tcpdump -i fxp0 -c 5 vlan and host aald09-tu0
tcpdump: listening on fxp0
16:16:12.474266 802.1Q vlan#158 P0 aald11-tu0.1160 > aald09-tu0.pdap-np: P
429682654:429682683(29) ack 359725302 win 33580 (DF)
16:16:12.474708 802.1Q vlan#158 P0 aald09-tu0.pdap-np > aald11-tu0.1160: P 1:17(16)
ack 29 win 33580 (DF)
16:16:12.525298 802.1Q vlan#156 P0 aald09-tu0.pdap-np > aald11-tu0.1160: P 1:17(16)
ack 29 win 33580 (DF)
16:16:12.525755 802.1Q vlan#156 P0 aald11-tu0.1160 > aald09-tu0.pdap-np: P 29:249(220)
ack 17 win 33580 (DF)
16:16:12.576825 802.1Q vlan#158 P0 aald11-tu0.1160 > aald09-tu0.pdap-np: P 29:249(220)
ack 17 win 33580 (DF)
aalp02#
Peter
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message