AzureMXChip/MXCHIPAZ3166/core/lib/netxduo/addons/dhcp/nxd_dhcpv6_server.c
VOID  _nx_dhcpv6_server_session_timeout_entry(ULONG dhcpv6_server_ptr_value)
{

NX_DHCPV6_SERVER *dhcpv6_server_ptr;


    /* Setup DHCPv6 Server pointer.  */
    NX_TIMER_EXTENSION_PTR_GET(dhcpv6_server_ptr, NX_DHCPV6_SERVER, dhcpv6_server_ptr_value)

    /* Signal the DHCPv6 server it's time to do more session time keeping! */
    tx_event_flags_set(&(dhcpv6_server_ptr -> nx_dhcpv6_server_timer_events), NX_DHCPV6_CHECK_SESSION_PERIODIC_EVENT, TX_OR);

    return;
}
/**************************************************************************/
/*                                                                        */
/*  FUNCTION                                               RELEASE        */
/*                                                                        */
/*    _nx_dhcpv6_server_session_timeout_entry             PORTABLE C      */
/*                                                           6.1          */
/*  AUTHOR                                                                */
/*                                                                        */
/*    Yuxin Zhou, Microsoft Corporation                                   */
/*                                                                        */
/*  DESCRIPTION                                                           */
/*                                                                        */
/*    This function is scheduled by the ThreadX scheduler on a user       */
/*    configurable time interval.  It sets a flag which the DHCPv6 server */
/*    thread task updates all active client session times and checks if   */
/*    any have exceeded the session timeout without sending a response    */
/*    back to the server.                                                 */
/*                                                                        */
/*  INPUT                                                                 */
/*                                                                        */
/*    dhcpv6_server_ptr_value              Pointer to the DHCPV6 server   */
/*                                                                        */
/*  OUTPUT                                                                */
/*                                                                        */
/*    None                                                                */
/*                                                                        */
/*  CALLS                                                                 */
/*                                                                        */
/*     tx_event_flags_set                   Adds a periodic event to the  */
/*                                                 ThreadX event queue    */
/*  CALLED BY                                                             */
/*                                                                        */
/*                                                                        */
/*  RELEASE HISTORY                                                       */
/*                                                                        */
/*    DATE              NAME                      DESCRIPTION             */
/*                                                                        */
/*  05-19-2020     Yuxin Zhou               Initial Version 6.0           */
/*  09-30-2020     Yuxin Zhou               Modified comment(s),          */
/*                                            resulting in version 6.1    */
/*                                                                        */
/**************************************************************************/
FUNCTION                                               RELEASE

_nx_dhcpv6_server_session_timeout_entry             PORTABLE C
6.1
AUTHOR

Yuxin Zhou, Microsoft Corporation

DESCRIPTION

This function is scheduled by the ThreadX scheduler on a user
configurable time interval.  It sets a flag which the DHCPv6 server
thread task updates all active client session times and checks if
any have exceeded the session timeout without sending a response
back to the server.

INPUT

dhcpv6_server_ptr_value              Pointer to the DHCPV6 server

OUTPUT

None

CALLS

tx_event_flags_set                   Adds a periodic event to the
ThreadX event queue
CALLED BY

RELEASE HISTORY

DATE              NAME                      DESCRIPTION

05-19-2020     Yuxin Zhou               Initial Version 6.0
09-30-2020     Yuxin Zhou               Modified comment(s),
resulting in version 6.1
FUNCTION RELEASE _nx_dhcpv6_server_session_timeout_entry PORTABLE C 6 . 1 AUTHOR Yuxin Zhou Microsoft Corporation DESCRIPTION This function is scheduled by the ThreadX scheduler on a user configurable time interval . It sets a flag which the DHCPv6 server thread task updates all active client session times and checks if any have exceeded the session timeout without sending a response back to the server . INPUT dhcpv6_server_ptr_value Pointer to the DHCPV6 server OUTPUT None CALLS tx_event_flags_set Adds a periodic event to the ThreadX event queue CALLED BY RELEASE HISTORY DATE NAME DESCRIPTION 05 - 19 - 2020 Yuxin Zhou Initial Version 6 . 0 09 - 30 - 2020 Yuxin Zhou Modified comment ( s ) resulting in version 6 . 1
VOID  _nx_dhcpv6_server_session_timeout_entry(ULONG dhcpv6_server_ptr_value)
{
NX_DHCPV6_SERVER *dhcpv6_server_ptr;
    NX_TIMER_EXTENSION_PTR_GET(dhcpv6_server_ptr, NX_DHCPV6_SERVER, dhcpv6_server_ptr_value)
    tx_event_flags_set(&(dhcpv6_server_ptr -> nx_dhcpv6_server_timer_events), NX_DHCPV6_CHECK_SESSION_PERIODIC_EVENT, TX_OR);
    return;
}
VOID _nx_dhcpv6_server_session_timeout_entry ( ULONG dhcpv6_server_ptr_value ) { NX_DHCPV6_SERVER * dhcpv6_server_ptr ; NX_TIMER_EXTENSION_PTR_GET ( dhcpv6_server_ptr , NX_DHCPV6_SERVER , dhcpv6_server_ptr_value ) tx_event_flags_set ( & ( dhcpv6_server_ptr -> nx_dhcpv6_server_timer_events ) , NX_DHCPV6_CHECK_SESSION_PERIODIC_EVENT , TX_OR ) ; return ; }
FUNCTION                                               RELEASE
FUNCTION RELEASE
/* Setup DHCPv6 Server pointer.  */ /* Signal the DHCPv6 server it's time to do more session time keeping! */