more ioctl support for freebsd