i am trying code given in Unix Network Programming by Richard Stevens. but i am not able to get the code to compile.
here is the source code. http://www.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15213-f00/unpv12e/libroute/
i don't have the header file net/if_dl.h and the net/route.h header file does not include the constants and structures that the code uses.