A Discrete-Event Network Simulator
lorawan @ (+)
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
l
m
n
o
p
q
r
s
t
w
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Symbols
:
a
b
c
d
e
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
e
l
v
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
▼
ns-3
►
ns-3 Documentation
►
All Environment Variables
Todo List
Deprecated List
Bug List
►
Topics
►
Namespaces
►
Classes
▼
Files
▼
File List
►
doc
►
examples
▼
src
►
antenna
►
aodv
►
applications
►
bridge
►
brite
►
buildings
►
click
►
config-store
►
core
►
csma
►
csma-layout
►
dsdv
►
dsr
►
energy
►
fd-net-device
►
flow-monitor
►
internet
▼
internet-apps
►
doc
►
examples
▼
helper
dhcp-helper.cc
dhcp-helper.h
ping-helper.cc
ping-helper.h
radvd-helper.cc
radvd-helper.h
v4traceroute-helper.cc
v4traceroute-helper.h
►
model
►
test
►
lorawan
►
lr-wpan
►
lte
►
mesh
►
mobility
►
mpi
►
netanim
►
network
►
nix-vector-routing
►
olsr
►
openflow
►
point-to-point
►
point-to-point-layout
►
propagation
►
sixlowpan
►
spectrum
►
stats
►
tap-bridge
►
test
►
topology-read
►
traffic-control
►
uan
►
virtual-net-device
►
visualizer
►
wifi
►
wimax
►
utils
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
ping-helper.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Universita' di Firenze, Italy
3
* Copyright (c) 2008-2009 Strasbourg University (original Ping6 helper)
4
* Copyright (c) 2008 INRIA (original v4Ping helper)
5
*
6
* SPDX-License-Identifier: GPL-2.0-only
7
*
8
* Author: Tommaso Pecorella <tommaso.pecorella@unifi.it>
9
*
10
* Derived from original v4Ping helper (author: Mathieu Lacage)
11
* Derived from original ping6 helper (author: Sebastien Vincent)
12
*/
13
14
#ifndef PING_HELPER_H
15
#define PING_HELPER_H
16
17
#include "ns3/ping.h"
18
#include <ns3/application-helper.h>
19
20
namespace
ns3
21
{
22
23
/**
24
* \ingroup ping
25
* \brief Create a ping application and associate it to a node
26
*
27
* This class creates one or multiple instances of ns3::Ping and associates
28
* it/them to one/multiple node(s).
29
*/
30
class
PingHelper
:
public
ApplicationHelper
31
{
32
public
:
33
/**
34
* Create a PingHelper which is used to make life easier for people wanting
35
* to use ping Applications.
36
*/
37
PingHelper
();
38
39
/**
40
* Create a PingHelper which is used to make life easier for people wanting
41
* to use ping Applications.
42
*
43
* \param remote The address which should be pinged
44
* \param local The source address
45
*/
46
PingHelper
(
const
Address
& remote,
const
Address
& local =
Address
());
47
};
30
class
PingHelper
:
public
ApplicationHelper
{
…
};
48
49
}
// namespace ns3
50
51
#endif
/* PING_HELPER_H */
ns3::Address
a polymophic address class
Definition
address.h:90
ns3::ApplicationHelper
A helper to make it easier to instantiate an application on a set of nodes.
Definition
application-helper.h:28
ns3::PingHelper
Create a ping application and associate it to a node.
Definition
ping-helper.h:31
ns3::PingHelper::PingHelper
PingHelper()
Create a PingHelper which is used to make life easier for people wanting to use ping Applications.
Definition
ping-helper.cc:19
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
internet-apps
helper
ping-helper.h
Generated on Tue Apr 8 2025 12:29:15 for ns-3 by
1.11.0