A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
start to snake_case NS3
[simgrid.git]
/
src
/
surf
/
ns3
/
ns3_simulator.hpp
diff --git
a/src/surf/ns3/ns3_simulator.hpp
b/src/surf/ns3/ns3_simulator.hpp
index
c7c496c
..
714ebfe
100644
(file)
--- a/
src/surf/ns3/ns3_simulator.hpp
+++ b/
src/surf/ns3/ns3_simulator.hpp
@@
-20,7
+20,7
@@
public:
explicit NetPointNs3();
int node_num;
explicit NetPointNs3();
int node_num;
- ns3::Ptr<ns3::Node> ns3
N
ode_;
+ ns3::Ptr<ns3::Node> ns3
_n
ode_;
};
XBT_PUBLIC void ns3_initialize(std::string TcpProtocol);
};
XBT_PUBLIC void ns3_initialize(std::string TcpProtocol);
@@
-33,17
+33,17
@@
public:
SgFlow(uint32_t total_bytes, simgrid::kernel::resource::NetworkNS3Action* action);
// private:
SgFlow(uint32_t total_bytes, simgrid::kernel::resource::NetworkNS3Action* action);
// private:
- std::uint32_t buffered
B
ytes_ = 0;
- std::uint32_t sent
B
ytes_ = 0;
+ std::uint32_t buffered
_b
ytes_ = 0;
+ std::uint32_t sent
_b
ytes_ = 0;
std::uint32_t remaining_;
std::uint32_t remaining_;
- std::uint32_t total
B
ytes_;
+ std::uint32_t total
_b
ytes_;
bool finished_ = false;
simgrid::kernel::resource::NetworkNS3Action* action_;
};
bool finished_ = false;
simgrid::kernel::resource::NetworkNS3Action* action_;
};
-void
StartF
low(ns3::Ptr<ns3::Socket> sock, const char* to, uint16_t port_number);
+void
start_f
low(ns3::Ptr<ns3::Socket> sock, const char* to, uint16_t port_number);
-static inline std::string transform
SocketP
tr(ns3::Ptr<ns3::Socket> local_socket)
+static inline std::string transform
_socket_p
tr(ns3::Ptr<ns3::Socket> local_socket)
{
std::stringstream sstream;
sstream << local_socket;
{
std::stringstream sstream;
sstream << local_socket;