hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/net/icmp.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * INET An implementation of the TCP/IP protocol suite for the LINUX
34 * operating system. INET is implemented using the BSD Socket
....@@ -9,11 +10,6 @@
910 *
1011 * Authors: Ross Biro
1112 * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
12
- *
13
- * This program is free software; you can redistribute it and/or
14
- * modify it under the terms of the GNU General Public License
15
- * as published by the Free Software Foundation; either version
16
- * 2 of the License, or (at your option) any later version.
1713 */
1814 #ifndef _ICMP_H
1915 #define _ICMP_H
....@@ -58,7 +54,7 @@
5854 #endif
5955
6056 int icmp_rcv(struct sk_buff *skb);
61
-void icmp_err(struct sk_buff *skb, u32 info);
57
+int icmp_err(struct sk_buff *skb, u32 info);
6258 int icmp_init(void);
6359 void icmp_out_count(struct net *net, unsigned char type);
6460