Document and reformat net.h/c files
Document and reformat udp.h/c files