Ciao,
please check 'man ifconfig' in Description section. There is a good explaination about ifconfig.
About ioctl: I remember something about ifconfig sometimes fails with ioctl messages, something like
ifconfig
icotl ... bad value
This just demonstrates that ifconfig calls ioctl and 'strings' command as already suggested should show further. Which parameters it uses I think depends on ifconfig code and how it has been ran.
Hope this helps, otherwise please formule the question with more info.
Regards,
Fabio
WISH? IMPROVEMENT!