Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
LINUX.DEBIAN.MAINT.IPV6
Help with Values in code
From
Dheeraj Kandula
@21:1/5 to
All
on Tue Jun 28 22:10:01 2022
Hi All,
I am trying to figure out how often the DAD NS packets are sent when
more than 1 NS has to be sent for DAD. dad_transmits denotes the number of
NS that will be sent for DAD.
The code is as given below:
addrconf_mod_dad_work <
https://elixir.bootlin.com/linux/latest/C/ident/addrconf_mod_dad_work>
(ifp <
https://elixir.bootlin.com/linux/latest/C/ident/ifp>,
max <
https://elixir.bootlin.com/linux/latest/C/ident/max>
(NEIGH_VAR
<
https://elixir.bootlin.com/linux/latest/C/ident/NEIGH_VAR>
(ifp <
https://elixir.bootlin.com/linux/latest/C/ident/ifp>->idev
<
https://elixir.bootlin.com/linux/latest/C/ident/idev>->nd_parms
<
https://elixir.bootlin.com/linux/latest/C/ident/nd_parms>,
RETRANS_TIME),
HZ <
https://elixir.bootlin.com/linux/latest/C/ident/HZ>/100
));
I figured out that NEIGH_VAR_RETRANS_TIME is HZ.
Is the NS sent after every 1 second.
Dheeraj
<div dir="ltr"><div>Hi All,</div><div> I am trying to figure out how often the DAD NS packets are sent when more than 1 NS has to be sent for DAD. dad_transmits denotes the number of NS that will be sent for DAD.<br></div><div><br></div><div>The
code is as given below:</div><div><br></div><div><pre><span class="gmail-n"><a href="
https://elixir.bootlin.com/linux/latest/C/ident/addrconf_mod_dad_work">addrconf_mod_dad_work</a></span><span
class="gmail-p">(</span><span class="gmail-n"><a href="https:
//elixir.bootlin.com/linux/latest/C/ident/ifp">ifp</a></span><span class="gmail-p">,</span>
<span class="gmail-n"><a href="
https://elixir.bootlin.com/linux/latest/C/ident/max">max</a></span><span
class="gmail-p">(</span><span class="gmail-n"><a href="
https://elixir.bootlin.com/linux/latest/C/ident/NEIGH_VAR">NEIGH_VAR</a></span><span
class=
"gmail-p">(</span><span class="gmail-n"><a href="
https://elixir.bootlin.com/linux/latest/C/ident/ifp">ifp</a></span><span
class="gmail-o">-></span><span class="gmail-n"><a href="
https://elixir.bootlin.com/linux/latest/C/ident/idev">idev</a></span><
span class="gmail-o">-></span><span class="gmail-n"><a href="
https://elixir.bootlin.com/linux/latest/C/ident/nd_parms">nd_parms</a></span><span
class="gmail-p">,</span> <span class="gmail-n">RETRANS_TIME</span><span class="gmail-p">),</span>
<span class="gmail-n"><a href="
https://elixir.bootlin.com/linux/latest/C/ident/HZ">HZ</a></span><span
class="gmail-o">/</span><span class="gmail-mi">100</span><span class="gmail-p">));<br><br></span></pre><pre><span class="gmail-p">I figured out
that NEIGH_VAR_RETRANS_TIME is HZ.<br><br></span></pre><pre><span class="gmail-p">Is the NS sent after every 1 second.<br><br></span></pre><pre><span class="gmail-p">Dheeraj<br></span></pre></div></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
296
Nodes:
16 (
2
/
14
)
Uptime:
62:44:41
Calls:
6,654
Files:
12,200
Messages:
5,331,627