Re: bridge and maximum MAC entries
From: Iasen Kostov (tbyte_at_OTEL.net)
Date: 11/25/04
- Previous message: Gleb Smirnoff: "route cacheing for gif(4) should be optional"
- In reply to: Iasen Kostov: "bridge and maximum MAC entries"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Nov 2004 19:07:29 +0200 To: Iasen Kostov <tbyte@OTEL.net>
Iasen Kostov wrote:
> Hi,
> if I understand next code correctly maximum number of MACs is bound to
> maximum number of ports ?!?. Why is that ?
> code from net/bridge.c:
> c[n_clusters].my_macs = (struct bdg_addr *)
> malloc(BDG_MAX_PORTS * sizeof(struct bdg_addr),
> M_IFADDR, M_NOWAIT | M_ZERO);
>
> The best will be to allocate MAC entries dynamically. But there should
> be at least another definition for
> maximum MACs for port something like BDG_MAX_MACS ... which could be
> set at compile time because the current
> situation doesn't make sense at least for me or possibly I
> misunderstand something.
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>
Sorry for the noise. I really misunderstud things here.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Gleb Smirnoff: "route cacheing for gif(4) should be optional"
- In reply to: Iasen Kostov: "bridge and maximum MAC entries"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]