src/stack/ipv6/ipv6.h File Reference

The file handle carries all definitions for functions and data structures common to core IPv6 internal processing. More...


Functions

void IPv6FragMsg (uint Msg)
int IPv6TxFragPacket (PBM_Pkt *pPkt, NETIF_DEVICE *ptr_net_device, HANDLE ptr_lli6)


Detailed Description

The file handle carries all definitions for functions and data structures common to core IPv6 internal processing.

NOTE: (C) Copyright 2008, Texas Instruments, Inc.

Function Documentation

void IPv6FragMsg ( uint  Msg  ) 

Description
IPv6 Fragmentation & Reassembly module's event handling function.

This is for *internal* NDK Stack Usage.

Parameters:
[in] Msg The message event which needs to be handled.
Return values:
None. 

int IPv6TxFragPacket ( PBM_Pkt *  pPkt,
NETIF_DEVICE *  ptr_net_device,
HANDLE  ptr_lli6 
)

Description
This function is called by IPv6TxPacket when it detects that the packet cannot be transmitted as a whole using a specified tx device. This function handles the fragmentation and transmit of such a packet.

This is for *internal* NDK Stack Usage.

Parameters:
[in] pPkt Pointer to the IPv6 packet which needs to be transmitted
[in] ptr_net_device Pointer to the device on which the fragment packets need to be transmitted
[in] ptr_lli6 Handle to the LLI6 Entry
Return values:
Success - 0
Error - <0


Copyright 2009, Texas Instruments Incorporated