-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aloha with ACK mode #22
Comments
From the issue itself is not clear whether you are using a sample tcl file or a custom tcl file built by you. In the latter case, would you mind paste it here? |
Stack of the nodes +-------------------------+| 7. UW/CBR |+-------------------------+| 6. UW/UDP |+-------------------------+| 5. UW/STATICROUTING |+-------------------------+| 4. UW/IP |+-------------------------+| 3. UW/MLL |+-------------------------+| 2. UW/ALOHA |+-------------------------+| 1. MPHY/BPSK/Underwater|+-------------------------+| |+-------------------------+| UnderwaterChannel |+-------------------------+###################################### Flags to enable or disable options###################################### ##################### Library Loading##################### load libMiracle.so ############################# NS-Miracle initialization############################# You always need the following two lines to use the NS-Miracle simulatorset ns [new Simulator] ################## Tcl variables################## global defaultRNG } if {$opt(trace_files)} {
} else {
} MPropagation/Underwater set practicalSpreading_ 1.5 set channel [new Module/UnderwaterChannel] ######################### Module Configuration######################### ################################ Procedure(s) to create nodes################################
} ################# Node Creation################# Create here all the nodes you want to network togetherfor {set id 0} {$id < $opt(nn)} {incr id} {
################################ Inter-node module connection################################
} ################# Setup Flows################# ################### Fill ARP tables################### ################## Routing tables################## if {$opt(verbose)} {for {set id1 0} {$id1 < $opt(nn)} {incr id1} {$ipr($id1) printroutes}}##################### Start/Stop Timers##################### Set here the timers to start and/or stop modules (optional)e.g.,for {set id1 0} {$id1 < $opt(nn)} {incr id1} { Final Procedure################### Define here the procedure to call at the end of the simulationproc finish {} {
} ################### start simulation################### $ns at [expr $opt(stoptime) + 250.0] "finish; $ns halt" $ns run |
Thanks, confirmed segfault also on our side, we are going to look into it and let you know, thx for spotting. BTW, the segfault seems to be present only on ACK case because it actually segfault on handling data packets with ACK |
Thanks, confirmed bug we found and solved internally, will be part of the next release which will happen soon |
Hi. I set the TCL file for ACK mode for Aloha. But it shows the following
![Screenshot from 2024-09-23 15-05-13](https://private-user-images.githubusercontent.com/136689533/369885161-68972203-86f2-41d4-9a82-c2fcdf74e59e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTA4OTksIm5iZiI6MTczODk1MDU5OSwicGF0aCI6Ii8xMzY2ODk1MzMvMzY5ODg1MTYxLTY4OTcyMjAzLTg2ZjItNDFkNC05YTgyLWMyZmNkZjc0ZTU5ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QxNzQ5NTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iZGI5ZDY2MDM5YzFkZjE3NmViNWViMDk1Y2U0OGVkMzg1NDA4MWFiMjliYTIwOTU2MWY1OTA3ODY4YTlmMDNmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.NO8TPiPmwkecwy47mIuzC3RXO0x3DqYHdX8urefmw7Y)
Is there any solution to this?
The text was updated successfully, but these errors were encountered: