Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-17-2015, 08:59 AM   #1
LQ Newbie
Registered: Apr 2015
Posts: 2

Rep: Reputation: Disabled
how to share mac parameters in routing protocol

when i try to access macSuperframeOrder in new routing protocol, i am getting segmentation fault(core dumped). kindly tell me , how to access macSuperframeOrder in my and to change the value based on some condition.
Old 04-17-2015, 09:32 AM   #2
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 302
Blog Entries: 4

Rep: Reputation: Disabled
I'd suggest posting this in a more appropriate forum where your target audience is more likely to reply with more relevant information. Perhaps Programming or Networking. Also, it'd be worthwhile for you to post what you've tried and at what point you generate the segfault.
Old 04-17-2015, 10:28 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,316

Rep: Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578
Re #2 : With probably ~2000 other ns2 postings in "Linux - Newbie", I guess it's OK here.

Re #1, @preethikrishnan : Welcome to LQ.
Tcl scripts with `Mac/802_15_4' tend to do 'Segmentation fault'.
* The examples in ns-2.3x/tcl/ex/wpan are working OK.

A couple more of OK examples : aodv_802_15_4.tcl, beacon_enabled_star.tcl :

Please read :
I.e. some more information is required, if you want some answers.
Your code is unknown, your tcl script is unknown, etc. etc.

Old 04-20-2015, 02:01 AM   #4
LQ Newbie
Registered: Apr 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
hai.. Thanks for ur reply...

how to tune the macSuperframe order in cc code (Routing Protcol).


struct MAC_PIB *so,s;


printf("superframe order=u \n", so-> macSuperframeOrder);

kindly reply the solution.. by dynamically tuning the macSuperframe order.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SBCA routing protocol satemadura Linux - Newbie 0 11-22-2013 11:45 PM
Zone routing protocol alagumani Linux - Wireless Networking 1 10-21-2013 02:15 AM
DSR routing protocol sants Linux - Newbie 3 05-04-2013 09:39 AM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 06:11 AM
Routing Protocol karunesh Linux - Networking 3 09-04-2002 05:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration