Mbed OS Reference
Loading...
Searching...
No Matches
ICMPSocket.h
1
/** \addtogroup NetSocket */
2
/** @{*/
3
/* ICMPSocket
4
* Copyright (c) 2015 ARM Limited
5
* SPDX-License-Identifier: Apache-2.0
6
*
7
* Licensed under the Apache License, Version 2.0 (the "License");
8
* you may not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
10
*
11
* http://www.apache.org/licenses/LICENSE-2.0
12
*
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS,
15
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
* See the License for the specific language governing permissions and
17
* limitations under the License.
18
*/
19
20
#ifndef ICMPSOCKET_H
21
#define ICMPSOCKET_H
22
23
#include "netsocket/InternetSocket.h"
24
#include "netsocket/InternetDatagramSocket.h"
25
#include "
netsocket/NetworkStack.h
"
26
#include "
netsocket/NetworkInterface.h
"
27
#include "rtos/EventFlags.h"
28
29
30
/** ICMP socket implementation.
31
*/
32
class
ICMPSocket
:
public
InternetDatagramSocket
{
33
public
:
34
/** Create an uninitialized socket.
35
*
36
* @note Must call open to initialize the socket on a network stack.
37
*/
38
ICMPSocket
();
39
40
#if !defined(DOXYGEN_ONLY)
41
42
protected
:
43
nsapi_protocol_t get_proto()
override
;
44
45
#endif
//!defined(DOXYGEN_ONLY)
46
};
47
48
49
#endif
50
51
/** @}*/
NetworkInterface.h
Network Interface base class.
NetworkStack.h
NetworkStack class.
ICMPSocket
ICMP socket implementation.
Definition
ICMPSocket.h:32
ICMPSocket::ICMPSocket
ICMPSocket()
Create an uninitialized socket.
InternetDatagramSocket
InternetDatagramSocket socket implementation.
Definition
InternetDatagramSocket.h:31
connectivity
netsocket
include
netsocket
ICMPSocket.h
Generated by
1.9.8