dummynet: bandwidth is limited to 2 Gbit/s ?

Eugene Grosbein eugen at grosbein.net
Tue Sep 24 15:59:01 UTC 2019


On 24.09.2019 12:42, Andriy Gapon wrote:

> It seems that the userland component of ipfw/dummynet uses int for the bandwidth
> represented in bit/s.  Also, int is used for passing that value from the
> userland to the kernel.
> 
> What would be the best way to extend this?
> Just use a larger type?
> Or maybe add another field to try to preserve KBI backward compatibility?
> 
> Thank you.

AFAIK, we never had any public ABI or stable KBI interface announced to userland or in-kernel consumers
and had no consumers of dummynet other than ipfw(8) binary. Just increase type.




More information about the freebsd-net mailing list