This the the most detailed information you are going to find, short of having the C code written for you. If you are looking for that, you'll have to seek published source code of programs implementing these protocol and extract the C code from there.