Hi Team,<div><br></div><div>I tried these following calls to initiate a single connection. But yet its not working. I just want to update a single connection via CLI i.e only update_connection and check the feasability. Please let me know if i am missing something. <br>
<div><br></div><div><div>stroke_socket_t *stroke_socket_create();</div><div>static bool open_socket(private_stroke_socket_t *this);</div><div>static job_requeue_t receive(private_stroke_socket_t *this);</div><div>static job_requeue_t process(stroke_job_context_t *ctx);</div>
<div>static void stroke_initiate(private_stroke_socket_t *this, stroke_msg_t *msg, FILE *out);</div><div>stroke_control_t *stroke_control_create();</div><div>static status_t initiate(private_controller_t *this,peer_cfg_t *peer_cfg, child_cfg_t *child_cfg,controller_cb_t callback, void *param);</div>
<div>static status_t initiate_execute(interface_job_t *job);</div></div><div><table border="0" cellpadding="0" cellspacing="0" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:rgb(255,255,255);border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;text-align:left!important;vertical-align:baseline!important;width:613px;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:12px;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important;color:rgb(0,0,0)">
<tbody style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:initial!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important"><tr style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:initial!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">
<td class="code" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:initial!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:613px;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">
<div class="container" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:initial!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">
<div class="line number1 index0 alt2" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:white!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:1em!important;padding-bottom:0px!important;padding-left:0em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important;white-space:pre!important">
<code class="c plain" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:initial!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">METHOD(task_manager_t, initiate, status_t,</code><code class="c plain" style="background-color:initial!important;font-size:1em!important;line-height:1.1em!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">private_task_manager_t *</code><code class="c keyword bold" style="background-color:initial!important;font-size:1em!important;line-height:1.1em!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-weight:bold!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important;color:rgb(0,102,153)!important">this</code><code class="c plain" style="background-color:initial!important;font-size:1em!important;line-height:1.1em!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">);</code><span style="background-color:white;font-size:1em;line-height:1.1em"> </span></div>
<div class="line number4 index3 alt1" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:white!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:1em!important;padding-bottom:0px!important;padding-left:0em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important;white-space:pre!important">
<code class="c plain" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:initial!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">message = message_create();</code></div>
<div class="line number4 index3 alt1" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:white!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:1em!important;padding-bottom:0px!important;padding-left:0em!important;vertical-align:baseline!important;width:auto!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important;white-space:pre!important">
<code class="c plain" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:initial!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important"><div class="line number1 index0 alt2" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:1em!important;padding-bottom:0px!important;padding-left:0em!important;vertical-align:baseline!important;width:auto!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">
<code class="c plain" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:initial!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">METHOD(task_manager_t, retransmit, status_t,</code><code class="c plain" style="background-color:initial!important;font-size:1em!important;line-height:1.1em!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">private_task_manager_t *</code><code class="c keyword bold" style="background-color:initial!important;font-size:1em!important;line-height:1.1em!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-weight:bold!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important;color:rgb(0,102,153)!important">this</code><code class="c plain" style="background-color:initial!important;font-size:1em!important;line-height:1.1em!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">, u_int32_t meage_id)</code></div>
<div class="line number3 index2 alt2" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:1em!important;padding-bottom:0px!important;padding-left:0em!important;vertical-align:baseline!important;width:auto!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">
 </div><div class="line number4 index3 alt1" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:1em!important;padding-bottom:0px!important;padding-left:0em!important;vertical-align:baseline!important;width:auto!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">
<code class="c plain" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:initial!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">charon->sender->send(charon->sender, packet);</code></div>
<div class="line number4 index3 alt1" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:1em!important;padding-bottom:0px!important;padding-left:0em!important;vertical-align:baseline!important;width:auto!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important">
<code class="c plain" style="border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;background-color:initial!important;border-top-width:0px!important;border-right-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-style:initial!important;border-color:initial!important;float:none!important;height:auto!important;line-height:1.1em!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;outline-width:0px!important;outline-style:initial!important;outline-color:initial!important;overflow-x:visible!important;overflow-y:visible!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;vertical-align:baseline!important;width:auto!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;font-size:1em!important;min-height:inherit!important;border-style:initial!important;border-color:initial!important;border-style:initial!important;border-color:initial!important"><br>
</code></div></code></div></div></td></tr></tbody></table></div><div><br><div class="gmail_quote">On Tue, Aug 14, 2012 at 6:56 PM, krishna chaitanya <span dir="ltr"><<a href="mailto:krishnachaitanya.sanapala@gmail.com" target="_blank">krishnachaitanya.sanapala@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Team,<div><br></div><div>I have just tried debugging it and I could see the stroke plugin which inturn is responsible for the configurations updation to the backend. </div>
<div><br></div><div>Would hooking up the stroke plugin work ?<div><div class="h5"><br>
<br><div class="gmail_quote">On Tue, Aug 14, 2012 at 3:30 PM, krishna chaitanya <span dir="ltr"><<a href="mailto:krishnachaitanya.sanapala@gmail.com" target="_blank">krishnachaitanya.sanapala@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am just hard coding things for time being. I wonna develop it as a full time utility.<div><div>
<br><br><div class="gmail_quote">On Tue, Aug 14, 2012 at 3:15 PM, krishna chaitanya <span dir="ltr"><<a href="mailto:krishnachaitanya.sanapala@gmail.com" target="_blank">krishnachaitanya.sanapala@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HI Martin,<div><br></div><div>I tried developing the stroke code by modifying the add_connection in stroke.c in the following way ( I just hardcoded to see the functionalities)</div>


<div><br></div><div><div>static int add_connection(char *name,int version,int mode,int mobike,int aggressive,int force_encap,int ipcomp,char *algorithms,int dpd_delay,int dpd_timeout,int dpd_action,char *sourceip,char *destinationip,char *auth)</div>



<div>{</div><div>        stroke_msg_t msg;</div><div>        memset(&msg, 0, sizeof(msg));</div><div>        msg.length = offsetof(stroke_msg_t, buffer);</div><div>        msg.type = STR_ADD_CONN;</div><div>        <a href="http://msg.add_conn.name" target="_blank">msg.add_conn.name</a> = push_string(&msg, name);</div>



<div>        msg.add_conn.version = version;</div><div>        msg.add_conn.mode = mode;</div><div>        msg.add_conn.mobike = mobike;</div><div>        msg.add_conn.aggressive = aggressive;</div><div>        msg.add_conn.ipcomp = force_encap;</div>



<div>        msg.add_conn.algorithms.ike = push_string(&msg, algorithms);</div><div>        msg.add_conn.algorithms.esp = push_string(&msg, algorithms);</div><div>        msg.add_conn.dpd.delay = dpd_delay;</div>


<div>
        msg.add_conn.dpd.timeout = dpd_timeout;</div><div>        msg.add_conn.dpd.action = dpd_action;</div><div>        /*starter_stroke_add_end(&msg, &<a href="http://msg.add_conn.me" target="_blank">msg.add_conn.me</a>, &conn->left);*/</div>



<div>        /*starter_stroke_add_end(&msg, &msg.add_conn.other, &conn->right);*/</div><div>        return send_stroke_msg(&msg);</div><div><br></div><div>}</div></div><div><br></div><div>res = add_connection(argv[2],atoi(argv[3]),atoi(argv[4]),atoi(argv[5]),atoi(argv[6]),atoi(argv[7]),atoi(argv[8]),argv[9],atoi(argv[10]),atoi(argv[11]),atoi(argv[12]),argv[13], argv[14],argv[15]);</div>



<div><br></div><div><br></div><div>Apart from these I have not modified even a single file or function. </div><div><br></div><div>I was able to build up the image with these modifications and then tried the following. I know that stroke utility is not fully functional. I could see stub code. But I did these to develop an utility on the lines of whack. Could you please help if this would work or in any ways. Thanks</div>



<div><br></div><div><div>[root@localhost stroke]# ./stroke add host-host 2 1 1 1 7 1 aes-cbc-hmac 100 10 2 10.10.10.233 10.10.10.200 psk</div><div>[root@localhost stroke]# ./stroke up host-host</div><div>no config named 'host-host'</div>



</div><div><br></div><div>Thanks,</div><div>KC</div><div><br></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>