Refer my Google Drive export diagram of the net-tools :: ifconfig command implementation architecture:
- yellow boxes are the important APIs/functions
- gray boxes are the standard external APIs (such as system calls and glibc library)
- pink/purple box(es) are the additional helper APIs (which are not as critical as those yellow ones)