-
-/* Workaround for broken ICMP header on Slackware 4.x */
-#ifdef _LINUX_ICMP_H
-# warning "Broken Slackware 4.x 'netinet/ip_icmp.h' header detected. Using replacement 'struct icmp' definition."
-# define ICMP_MINLEN 8
-struct icmp
-{
- u_int8_t icmp_type;
- u_int8_t icmp_code;
- u_int16_t icmp_cksum;
- union
- {
- struct ih_idseq
- {
- u_int16_t icd_id;
- u_int16_t icd_seq;
- } ih_idseq;
- } icmp_hun;
-
-# define icmp_id icmp_hun.ih_idseq.icd_id
-# define icmp_seq icmp_hun.ih_idseq.icd_seq
-
- union {
- u_int8_t id_data[1];
- } icmp_dun;
-
-# define icmp_data icmp_dun.id_data
-
-};
-#endif /* _LINUX_ICMP_H */
-