Added ICMP packet with raw sockets

still in progress
Adding new headers, prep for major overhaul

while ealier phases were incremental, I'll b scrapping most of it for a complete rewrite

the overall task can be better split up now, and these changes made easily.

Most changes will ocur in ncd.h and ncd.c
The bulk of the project will be done here, and should make things more clear.

ncd.h will hold lots of prototypes, and maybe a few macros

we'll see if we need more headers or implementation files, but probably not

at the end, I'd like to have a simple main that makes a few simple calls from ncd.h
Added files and some function

right now I' have an error on getaddrinfo() or sendto()...
Added skeleton file for project phase I

Will be moving to branches for each phase, then merging everything back

Probably will need new directory structure for everything...

Wish this spec was out at the begining, so I could have planned for this...
Updated ping program
Finished mini Ping program for Phase I of part 2

Need to complete Phase II, and then begin work on ncd again

Now that I ahve a working Ping it should be easy to implement the basic
ncd that I had planned. I should probably look intoplaying with a fork for ping, and maybe even using some signals. They will be useful for the ncd program at the very least.
Made some type changes to avoid warnings, etc.

Many of these changes don't make a difference, as I'm more or less using generic memory to manipulate bits in many cases, but these are better practices to use in general.

first commit using clion ide.
Renamed skel.c to ping.c
Added tracert.c to begin tracerout phase

initial commit of tracert.c

need to change this to actually work as tracert rather than a mini ping
Added  IP and Udp header info to  tracert

Need to finish building IP & UDP Headers.

Then properly format the send msg

properly rcv the ICMP msg back from the destination

Then change IP header to TTL = 3 & process the ICMP response.

print time info to user, clean up and exit.
Update tracert.c

edited the ip header
Update tracert.c

edited the udp header set up
updated tracert.c

tried to fix ip header
udp header
others

added debug prints for headers
Further edits to ip creation

changed how ip header is set up
changed how socket is set
changed source ip to 0.0.0.0 (???) probably wrong
need to figure out how to manually set source ip to my ip address
massive changes to tracert.c

forked to recieve reply

lots of changes to header creation

not sure what problem is, but not working

maybe google doesn't reply to 9876?
Added ping_ip.c to trouble shoot IP header creation

Major overhaul of tracert.c

lots of changes to header, offsets, and getaddrinfo
Many changes to tracert.c

ping_ip is working, so IP headers are properly created

maybe problem with udp checksum

Getting protocol unreachable error, but never from target IP always from router/modem
Update tracert.c

updated comments in tracert.c
Fixed problems with tracert. Port number and UDP checksum fixed pertty much everything.
edited tracrt.c to handle 2 packets and their responses