Add new protocol in ns

view story

http://www.linuxquestions.org – dear all, i add new protocol (named Buddy) to ns. i create a folder named Buddy and put 3 files (Buddy.cpp, Buddy.h and Buddy_packet.h) in it. after i run make command error below appers: Buddy.h: packet.h no such file or directory Buddy.h: ip.h no such file or direstory the compiler cannot detect the header file used in Buddy.h, although all header files are existed. can anybody help me? :( (HowTos)