How to customize my own protocol in NS3?

30 views
Skip to first unread message

Nick Jay

unread,
Oct 8, 2024, 4:31:49 PM10/8/24
to ns-developers
I want to design my own protocol to substitute csma in ns3. I have checked the codes of csma in file "src/csma/model" and all I found is defined functions such as backoff.cc. So should I need to design my own file with the same construction as file "csma"?
The second question is which module, script or  the main function of this simulator loads the functions defined in the "csma" file to simulate the media access control of the whole network. I didn't find any script that controls the whole simulation. Can anyone help me, thank you!

Nick Jay

unread,
Oct 16, 2024, 10:14:31 AM10/16/24
to ns-developers
Reply all
Reply to author
Forward
0 new messages