Re: struct icmp disappeared?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 17 Apr 1996 08:37:55 +0100 (BST)


> 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?

Some BSD code assumes things like the BSD kernel structure names. I've submitted
several sets of changes over time to HJL so that if __BSD_SOURCE is defined
some of the BSD include structures needed are defined when building with -Ibsd
-lbsd (ie building BSD code).

Alan