Displaying 1 result from an estimated 1 matches for "set_hello_tim".
Did you mean:
set_hello_time
2007 Apr 18
0
[Bridge] setting STP values via brctl
...onst char *br, struct timeval *tv)
{
return br_set(br, "hello_time", __tv_to_jiffies(tv),
BRCTL_SET_BRIDGE_HELLO_TIME);
}
Note the tv_to_jiffies() call.
Then, I looked in the kernel file linux/net/bridge/br_sysfs_br.c at
the following function:
static void set_hello_time(struct net_bridge *br, unsigned long val)
{
unsigned long t = clock_t_to_jiffies(val);
br->hello_time = t;
if (br_is_root_bridge(br))
br->bridge_hello_time = t;
}
Note the clock_t_to_jiffies() call.
Are we converting the time in brctl to jiffies and...