Jump to main content

##

# TCPIP_IPV6_PacketHandlerDeregister Function

## C

    bool TCPIP_IPV6_PacketHandlerDeregister(
        TCPIP_IPV6_PROCESS_HANDLE pktHandle
    );

## Description

This function removes a packet processing handler.

## Preconditions

IPv6 properly initialized.

## Parameters

Parameters | Description
--- | ---
pktHandle | TCPIP packet handle obtained by a call to TCPIP_IPV6_PacketHandlerRegister().

## Returns

- True - If the operation succeeded.
- False - If the operation failed.

## Remarks

Exists only if TCPIP_IPV6_EXTERN_PACKET_PROCESS is true.

## Example

    TCPIP_IPV6_PROCESS_HANDLE myHandle = TCPIP_IPV6_PacketHandlerRegister(myPacketHandler, myParam );
    // process incoming packets
    // now we're done with it
    TCPIP_IPV6_PacketHandlerDeregister(myHandle);