NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
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
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
d
e
f
i
k
l
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
g
k
l
n
p
r
s
Typedefs
+
Macros
b
d
e
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
network-monitor-impl-rtnl.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#ifndef NDN_UTIL_NETWORK_MONITOR_IMPL_RTNL_HPP
23
#define NDN_UTIL_NETWORK_MONITOR_IMPL_RTNL_HPP
24
25
#include "../network-monitor.hpp"
26
27
#include <boost/asio/posix/stream_descriptor.hpp>
28
29
namespace
ndn
{
30
namespace
util {
31
32
const
size_t
NETLINK_BUFFER_SIZE
= 4096;
33
34
class
NetworkMonitor::Impl
35
{
36
public
:
37
Impl
(
NetworkMonitor
& nm, boost::asio::io_service& io);
38
39
private
:
40
void
41
onReceiveRtNetlink(
const
boost::system::error_code& error,
size_t
nBytesReceived);
42
43
private
:
44
NetworkMonitor
& m_nm;
45
46
uint8_t m_buffer[
NETLINK_BUFFER_SIZE
];
47
boost::asio::posix::stream_descriptor m_socket;
48
};
49
50
}
// namespace util
51
}
// namespace ndn
52
53
#endif // NDN_UTIL_NETWORK_MONITOR_IMPL_RTNL_HPP
ndn::util::NetworkMonitor::Impl::Impl
Impl(NetworkMonitor &nm, boost::asio::io_service &io)
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::util::NetworkMonitor
Network state change monitor.
Definition:
network-monitor.hpp:53
ndn::util::NETLINK_BUFFER_SIZE
const size_t NETLINK_BUFFER_SIZE
Definition:
network-monitor-impl-rtnl.hpp:32
ndn::util::NetworkMonitor::Impl
Definition:
network-monitor-impl-osx.hpp:36
ndnSIM
ndn-cxx
src
util
detail
network-monitor-impl-rtnl.hpp
Generated on Wed Jan 11 2017 18:17:14 for ndnSIM by
1.8.13