AzureMXChip/MXCHIPAZ3166/core/lib/netxduo/addons/dhcp/nxd_dhcpv6_server.c
UINT _nx_dhcpv6_server_interface_set(NX_DHCPV6_SERVER *dhcpv6_server_ptr, UINT iface_index, UINT ga_address_index)
{

    dhcpv6_server_ptr -> nx_dhcpv6_server_interface_index = iface_index;
    dhcpv6_server_ptr -> nx_dhcpv6_server_ga_address_index = ga_address_index;
    return NX_SUCCESS;
}
/**************************************************************************/
/*                                                                        */
/*  FUNCTION                                               RELEASE        */
/*                                                                        */
/*    _nx_dhcpv6_server_interface_set                     PORTABLE C      */
/*                                                           6.1          */
/*  AUTHOR                                                                */
/*                                                                        */
/*    Yuxin Zhou, Microsoft Corporation                                   */
/*                                                                        */
/*  DESCRIPTION                                                           */
/*                                                                        */
/*    This function sets the physical network interface for DHCPv6        */
/*    communications and the address index of the IP instance for the     */
/*    primary global address on that interface.                           */
/*                                                                        */
/*  INPUT                                                                 */
/*                                                                        */
/*    dhcpv6_server_ptr                     Pointer to the DHCPV6 Server  */
/*    iface_index                           Physical interface index for  */
/*                                            DHCP communication          */
/*    ga_address_index                      Global address index on DHCPv6*/
/*                                            interface                   */
/*                                                                        */
/*  OUTPUT                                                                */
/*                                                                        */
/*    NX_SUCCESS                            Indexes successfully set      */
/*                                                                        */
/*  CALLS                                                                 */
/*                                                                        */
/*     None                                                               */
/*                                                                        */
/*  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_interface_set                     PORTABLE C
6.1
AUTHOR

Yuxin Zhou, Microsoft Corporation

DESCRIPTION

This function sets the physical network interface for DHCPv6
communications and the address index of the IP instance for the
primary global address on that interface.

INPUT

dhcpv6_server_ptr                     Pointer to the DHCPV6 Server
iface_index                           Physical interface index for
DHCP communication
ga_address_index                      Global address index on DHCPv6
interface

OUTPUT

NX_SUCCESS                            Indexes successfully set

CALLS

None

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_interface_set PORTABLE C 6 . 1 AUTHOR Yuxin Zhou Microsoft Corporation DESCRIPTION This function sets the physical network interface for DHCPv6 communications and the address index of the IP instance for the primary global address on that interface . INPUT dhcpv6_server_ptr Pointer to the DHCPV6 Server iface_index Physical interface index for DHCP communication ga_address_index Global address index on DHCPv6 interface OUTPUT NX_SUCCESS Indexes successfully set CALLS None 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
UINT _nx_dhcpv6_server_interface_set(NX_DHCPV6_SERVER *dhcpv6_server_ptr, UINT iface_index, UINT ga_address_index)
{
    dhcpv6_server_ptr -> nx_dhcpv6_server_interface_index = iface_index;
    dhcpv6_server_ptr -> nx_dhcpv6_server_ga_address_index = ga_address_index;
    return NX_SUCCESS;
}
UINT _nx_dhcpv6_server_interface_set ( NX_DHCPV6_SERVER * dhcpv6_server_ptr , UINT iface_index , UINT ga_address_index ) { dhcpv6_server_ptr -> nx_dhcpv6_server_interface_index = iface_index ; dhcpv6_server_ptr -> nx_dhcpv6_server_ga_address_index = ga_address_index ; return NX_SUCCESS ; }
FUNCTION                                               RELEASE
FUNCTION RELEASE