The code in ioctl.c isn't actually used or built at all. Thanks for reminding
me to clean this up. The project at one point was planning on supporting a
FreeBSD kernel initiator as well, and ioctl.c is a remnant of that.
The code that's actually used to do the iscsid-to-kernel messaging is in
Hey
Referring to the code in file *ioctl.c*
*Function: ctldev_open*
The function callocs ioctl_sendbuf, ioctl_recvbuf, pdu_sendbuf but those 3
parameters are not being used anywhere.
Moreover the function returns *ctrl_fd*, but the variable is never set in
the complete file.
All those 4 above said