Matteo Croce
15122464d5
icmp: add helpers to recognize ICMP error packets
...
Add two helper functions, one for IPv4 and one for IPv6, to recognize
the ICMP packets which are error responses.
This packets are special because they have as payload the original
header of the packet which generated it (RFC 792 says at least 8 bytes,
but Linux actually includes much more than that).
Signed-off-by: Matteo Croce <mcroce@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-11-05 14:03:11 -08:00
..
2019-10-02 12:19:53 -04:00
2019-10-31 11:00:45 -07:00
2019-10-31 14:19:45 -07:00
2019-10-15 01:18:46 +02:00
2019-09-23 19:37:49 -07:00
2019-10-29 16:27:17 -07:00
2019-10-07 23:59:02 +02:00
2019-10-14 13:33:44 +05:30
2019-09-28 12:39:07 -07:00
2019-10-08 17:38:15 +01:00
2019-10-30 12:04:35 -04:00
2019-09-28 08:14:15 -07:00
2018-06-02 19:29:27 -05:00
2018-06-17 08:27:01 +09:00
2019-10-14 15:04:01 -07:00
2019-10-01 15:45:03 +02:00
2019-09-24 16:31:50 -07:00
2019-10-31 15:16:59 +01:00
2019-10-17 16:44:35 +02:00
2019-11-02 00:38:49 +01:00
2019-10-23 20:42:52 -07:00
2019-10-24 18:41:08 -07:00
2017-11-02 11:10:55 +01:00
2019-09-24 15:54:10 -07:00
2019-10-11 09:26:05 -07:00
2019-09-24 13:37:28 +02:00
2019-10-21 02:05:21 +02:00
2019-09-25 17:51:40 -07:00
2019-10-09 19:33:43 -07:00
2019-10-22 12:54:44 -07:00
2019-10-31 09:40:19 +01:00
2019-10-18 15:32:52 +02:00
2019-10-17 16:44:36 +02:00
2019-11-02 13:54:56 -07:00
2019-09-25 09:55:59 -07:00
2019-09-27 17:00:27 -07:00
2019-07-12 15:13:55 -07:00
2017-11-02 11:10:55 +01:00
2019-10-28 16:17:31 -07:00
2019-09-29 10:33:41 -07:00
2019-09-24 15:54:08 -07:00
2019-10-02 06:36:50 -07:00
2019-09-24 12:36:31 -07:00
2019-09-24 16:48:02 -07:00
2019-11-05 14:03:11 -08:00
2019-11-05 14:03:11 -08:00
2019-10-24 14:53:49 -07:00
2019-10-24 14:53:48 -07:00
2019-10-24 14:53:49 -07:00
2019-09-28 08:14:15 -07:00
2019-09-25 17:51:39 -07:00
2017-11-02 11:10:55 +01:00
2019-09-24 15:54:07 -07:00
2019-05-30 11:26:35 -07:00
2019-09-28 08:14:15 -07:00
2019-09-25 17:51:40 -07:00
2019-09-24 15:54:11 -07:00
2019-09-30 18:52:00 +02:00
2019-10-08 22:05:58 +02:00
2019-10-15 20:40:06 -07:00
2019-09-28 08:14:15 -07:00
2019-06-19 17:09:55 +02:00
2019-10-07 15:47:20 -07:00
2019-09-24 15:54:09 -07:00
2019-09-28 14:05:38 -07:00
2019-09-29 10:33:41 -07:00
2019-06-19 17:09:55 +02:00
2019-10-17 16:31:52 -07:00
2019-10-04 18:11:08 -07:00
2019-09-25 17:51:40 -07:00
2019-09-28 12:39:07 -07:00
2019-09-26 10:10:44 -07:00
2019-09-24 15:54:11 -07:00
2019-09-27 19:37:27 -07:00
2019-10-04 11:10:56 -07:00
2019-11-02 13:54:56 -07:00
2019-10-17 12:20:48 +02:00
2019-11-04 11:21:25 -08:00
2019-10-14 15:04:00 -07:00
2019-05-30 11:26:39 -07:00
2019-09-24 15:54:08 -07:00
2019-09-23 19:16:01 -07:00
2019-09-23 19:16:01 -07:00
2019-10-28 11:02:01 +01:00
2019-10-23 20:42:52 -07:00
2019-10-07 12:52:44 +02:00
2019-10-21 02:05:21 +02:00
2019-09-25 17:51:39 -07:00
2019-08-26 11:35:13 +02:00
2019-09-25 17:51:39 -07:00
2019-09-25 17:42:29 +02:00
2019-03-07 18:32:03 -08:00
2019-10-16 09:51:43 -07:00
2019-10-31 09:40:21 +01:00
2017-12-04 10:52:54 -08:00
2019-10-16 14:31:59 -04:00
2019-09-24 15:54:11 -07:00
2019-11-02 13:54:56 -07:00
2019-10-07 09:58:27 -04:00
2019-10-07 15:47:20 -07:00
2019-10-31 14:01:40 -07:00
2019-11-04 11:21:25 -08:00
2019-10-08 13:27:05 +02:00
2019-09-25 17:51:41 -07:00
2019-07-16 19:23:21 -07:00
2019-11-04 11:21:25 -08:00
2019-10-02 10:06:45 +02:00
2019-10-25 19:25:37 -07:00
2018-04-16 18:53:13 -04:00
2019-09-25 17:51:40 -07:00
2017-11-02 11:10:55 +01:00
2019-10-07 15:24:36 +02:00
2019-11-02 12:39:12 -07:00
2019-10-28 04:25:04 -04:00
2018-09-13 15:18:04 -10:00
2019-09-24 15:54:10 -07:00
2019-10-14 15:04:01 -07:00
2018-05-14 09:51:34 -04:00
2019-09-24 15:54:12 -07:00