Hi all:

It probably wouldn't be too difficult to enhance TIPC to support a
tipc-config option like "-lt=eth:default/500", in which "default" would
be recognized as a reserved name that would update the default tolerance
for Ethernet links.  (One could do the same thing for link priority and
window size, too.)  Try looking at the code for link_cmd_config() in
link.c to get an idea of where to start (or tipc_link_cmd_config() in
tipc_link.c, if you're using TIPC 1.7).  Anyone want to take a stab at
it?

Regards,
Al 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill
Kinahan
Sent: Wednesday, February 13, 2008 5:09 PM
To: Florian Westphal; [email protected]
Subject: Re: [tipc-discussion] Setting default link tolerance

That's in the version of TIPC I am using as well. Unfortunately, I can't
use it to set the default values for additional links because that
config option requires a link name. If the link isn't yet established,
the command fails. I really need something that I can set before any
links are established, so that as links are created, they use the new
tolerance setting.

Regards, Bill

----- Original Message ----
From: Florian Westphal <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, February 13, 2008 5:01:06 PM
Subject: Re: [tipc-discussion] Setting default link tolerance

Horvath, Elmer <[EMAIL PROTECTED]> wrote:
> Unfortunately there is currently no configuration option to change the

> default link tolerance values assigned once the code is compiled.  
> This is set in the various media files src/tipc/eth_media.c (or
> src/tipc/sm_media.c) which sets the default to TIPC_DEF_LINK_TOL 
> which, as you pointed out, is defined in h/tipc/tipc_bearer.h.

Are you sure?
tipc-config has
  -lt    =<linkname>|<pattern>/<value>      Set link tolerance

and at least the 1.7.x linux tipc version appears to support
TIPC_CMD_SET_LINK_TOL (which is sent by tipc-config).

If it does not work -- is there a particular problem that prevents this
from being implemented easily?

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion


 
________________________________________________________________________
____________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

Reply via email to