<div dir="ltr"><a class="gmail_plusreply" id="plusReplyChip-1">+</a>

<a href="mailto:kea-dev@lists.isc.org" style="font-family:"Times New Roman";font-size:medium">kea-dev@lists.isc.org</a><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Anil kumar</strong> <span dir="auto"><<a href="mailto:anil.patna@gmail.com">anil.patna@gmail.com</a>></span><br>Date: Sat, 20 Apr 2024 at 11:41<br>Subject: Re: [Kea-users] How to compile ISC KEA as shared object lib<br>To: Kea user's list <<a href="mailto:kea-users@lists.isc.org">kea-users@lists.isc.org</a>><br></div><br><br><div dir="ltr"><div dir="ltr">Hi Peter,<div><br>Let's say we go the async way, I will post a message to my process from kea process's hook callback to my process which is bookkeeping.   </div><div><br></div><div>Can KEAI hold off packet processing till it gets a green signal to proceed further with the packet from my bookkeeping process ?</div><div><br>If my bookkeeping code and kea were running on the same process I would have done all necessary things in the hook callback  and let KEA continue processing the packet; Is there a way to make this step ASYNC with a different process.

?</div><div><br></div></div>With Regards<div>Anil Kumar S N</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 20 Apr 2024 at 11:29, Peter Davies <<a href="mailto:peterd@isc.org" target="_blank">peterd@isc.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
    
  
  <div>
    Hi Anil,<br>
      I have no idea how you would go about doing this.<br>
    However, the run script hooks library may be useful if you need Kea
    to send data <br>
    to external processes.<br>
    <br>
    See:
<a href="https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#libdhcp-run-script-so-run-script-support-for-external-hook-scripts" target="_blank">https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#libdhcp-run-script-so-run-script-support-for-external-hook-scripts</a><br>
    <br>
    <p>Kind Regards Peter</p>
    <p><br>
    </p>
    <div>On 20/04/2024 06.49, Anil kumar wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="auto">Hi All,</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">1. Would it be possible to compile KEA as a shared
        object and link it to my process ?</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">2. I would like book keep and track all the
        clients as part of hook callbacks so that once address is
        assigned would want to updated Linux IP Routes tables and IP
        neighbor tables ?</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Any suggestions and guidance from the community is
        highly appreciated.</div>
      <div dir="auto"><br clear="all">
        <div dir="auto">
          <div dir="ltr" class="gmail_signature">With Regards
            <div>Anil Kumar S N</div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
    </blockquote>
    <pre cols="72">-- 
Peter Davies
Support Engineer 
Internet Systems Corporation
</pre>
  </div>

-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">With Regards<div>Anil Kumar S N</div></div></div></div>
</div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">With Regards<div>Anil Kumar S N</div></div></div>