<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle">P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p>on windows we have the following 3 functions:</p>
<p> </p>
<p>AL_INLINE void AL_API<br>
ib_member_set_state(<br>
IN OUT uint8_t* const p_scope_state,<br>
IN const uint8_t state )<br>
{<br>
CL_ASSERT( state <= 0x0F );<br>
/* State is LS 4-bits. */<br>
*p_scope_state &= 0x0F;<br>
*p_scope_state |= (state & 0x0F);<br>
}</p>
<p> </p>
<p> </p>
<p>AL_INLINE void AL_API<br>
ib_member_set_join_state(<br>
IN OUT ib_member_rec_t *p_mc_rec,<br>
IN const uint8_t state )<br>
{<br>
p_mc_rec->scope_state &= 0xF0;<br>
p_mc_rec->scope_state |= (state & 0x0F);<br>
}</p>
<p> </p>
<p><br>
AL_INLINE uint8_t AL_API<br>
ib_member_set_scope_state(<br>
IN const uint8_t scope,<br>
IN const uint8_t state )<br>
{<br>
/* Scope is MS 4-bits, state is LS 4-bits */<br>
return ((scope << 4) | (state & 0xF));<br>
}</p>
<p> </p>
<p> </p>
<p>Ipoib is using ib_member_set_state().</p>
<p> </p>
<p>As far as I can tell this will cause the scope to be zero (on table 3, the value of 0 is reserved). Is this what we relay wanted to have?</p>
<p> </p>
<p>Thanks</p>
<p>Tzachi</p>
</div>
</body>
</html>