The kernel module is viewed as a streams driver (/dev/ipqos) by the user process and as a streams module (ipqos) by the IP stack. The file /dev/ipqos is opened automatically by the first function call through the C Statistics API and its file descriptor is used to access the ipqos module.
The C Statistics API provides two functions that control the file /dev/ipqos directly:
ba_open() opens the file /dev/ipqos and returns the file descriptor
ba_close() closes the file /dev/ipqos