1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 2 /* 3 * Based on include/uapi/linux/icmp.h 4 * Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> 5 * 6 * NewIP INET 7 * An implementation of the TCP/IP protocol suite for the LINUX 8 * operating system. NewIP INET is implemented using the BSD Socket 9 * interface as the means of communication with the user level. 10 * 11 * Definitions for the NewIP ICMP protocol. 12 */ 13 #ifndef _UAPI_LINUX_NIP_ICMP_H 14 #define _UAPI_LINUX_NIP_ICMP_H 15 16 #include <asm/byteorder.h> 17 #include <linux/types.h> 18 19 struct nip_icmp_hdr { 20 __u8 nip_icmp_type; 21 __u8 nip_icmp_code; 22 __sum16 nip_icmp_cksum; 23 }; 24 25 #endif 26