friendev EtherDune TCP/IP library
/home/jander/temp/etherdune/ICMPPingAutoReply.h
Go to the documentation of this file.
1 // EtherDune ICMP automatic Echo reply class
2 // Author: Javier Peletier <jm@friendev.com>
3 // Summary: Implements an ICMP Echo reply service
4 //
5 // Copyright (c) 2015 All Rights Reserved, http://friendev.com
6 //
7 // This source is subject to the GPLv2 license.
8 // Please see the License.txt file for more information.
9 // All other rights reserved.
10 //
11 // THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
12 // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13 // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
14 // PARTICULAR PURPOSE.
15 
31 
32 
33 #ifndef _ICMPAUTOREPLY_H_
34 #define _ICMPAUTOREPLY_H_
35 
36 #include <ACross.h>
37 #include "ICMP.h"
38 
39 class ICMPPingAutoReply : protected ICMP
40 {
41 
42 private:
43 
44  bool onICMPMessage();
45 
46 };
47 
48 
49 #endif
Implements an ICMP Echo reply service.
Implements common ICMP packet building routines and ICMP checksum.
Definition: ICMP.h:31