add ioctl for flow control management