In order to support the new Grok command-line application under Linuxulator, we must add support for Linux's more recent terminal control ioctl interface which breaks speed out into fields directly. This is a quick and dirty proof of concept to show that the functionality allows Grok to run, whereas I believe the proper implementation ought to be the introduction of a new union within linux_ioctl.h to overlay the various linux_term* structs and not adding a separate bsd_to_linux_termios2 function which is largely identical to the one for linux_termios.
Edit: Now I feel rather silly seeing that it is present in HEAD and merely not backported. https://github.com/freebsd/freebsd-src/pull/1949