Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. 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">-&gt;</span><span class="gmail-n"><a href="https://elixir.bootlin.com/linux/latest/C/ident/idev">idev</a></span><
    span class="gmail-o">-&gt;</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

  • Recent Visitors

    • Bob Worm
      Tue Jul 28 16:01:18 2026
      from Wales, Uk via Telnet
    • Rixter
      Tue Jul 28 13:42:46 2026
      from Madison, Nc via Telnet
    • Krenn
      Tue Jul 28 11:59:57 2026
      from Sydney, Nsw via Telnet
    • Rixter
      Tue Jul 28 01:23:48 2026
      from Madison, Nc via Telnet
    • Centurion
      Mon Jul 27 22:50:42 2026
      from Berea, Ohio via Telnet
    • Ataricrypt
      Mon Jul 27 19:19:17 2026
      from England via Telnet
    • Bob Worm
      Mon Jul 27 15:19:55 2026
      from Wales, Uk via Telnet
    • Rixter
      Mon Jul 27 13:04:59 2026
      from Madison, Nc via Telnet
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 741
    Nodes: 16 (2 / 14)
    Uptime: 45:20:21
    Calls: 12,444
    Calls today: 4
    Files: 15,192
    Messages: 6,537,093

© >>> Magnum BBS <<<, 2026