[lkml]   [1996]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectstruct icmp disappeared?
Hi guys,

What is going on with netinet system headers? I was probably asleep for last
couple of weeks because only now I realised that struct icmp is not in
<netinet/ip_icmp.h>! In fact, <netinet/ip_icmp.h> points to <linux/icmp.h>
which does not even contain struct icmp. So, to compile programs like
nuke (you know the little thingy?) I had to use -Ilinux-include and use the
netinet/ip_icmp.h which came with libpcap/tcmpdump-richard bundle.

Yes, I looked in <linux/icmp.h> and noticed that there is struct icmphdr
there but it is totally different. I mean the names icmp_type -> type etc
etc. Surely, you dont expect people to go through the source they want to
compile and correct all the references???

Is this the correct state of the headers or something is wrong?

Thanks for your reply (in advance),

PS. Btw, if you are also know what is the purpose of count field in
signal_struct which is a field calls sig in task_struct please tell me that
as well. Thanks alot.

 \ /
  Last update: 2005-03-22 13:37    [W:0.023 / U:1.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site