27 #define IPv6_ETHERNET_TYPE_nh (0xdd86)
35 #define IPv6_HEADER_SIZE_byte (40)
37 #ifndef _OPEN_NET_NO_FUNCTION_
55 OPEN_NET_GLOBAL
unsigned char *
IPv6_Data(OPEN_NET_GLOBAL
unsigned char * aData)
87 OPEN_NET_GLOBAL
unsigned short *
IPv6_Destination(OPEN_NET_GLOBAL
unsigned char * aData)
89 return ((OPEN_NET_GLOBAL
unsigned short *)(aData + 24));
117 OPEN_NET_GLOBAL
unsigned short *
IPv6_Source(OPEN_NET_GLOBAL
unsigned char * aData)
119 return ((OPEN_NET_GLOBAL
unsigned short *)(aData + 8));
122 #endif // ! _OPEN_NET_NO_FUNCTION_
unsigned int IPv6_DataSize(OPEN_NET_GLOBAL unsigned char *aData)
Cette fonction retourne la taille de la charge utile.
Definition: IPv6.h:70
#define IPv6_HEADER_SIZE_byte
La taille de l'entête IPv6.
Definition: IPv6.h:35
unsigned short ByteOrder_Swap16(unsigned short aIn)
Renverse l'ordre des octets.
Definition: ByteOrder.h:29
OPEN_NET_GLOBAL unsigned short * IPv6_Source(OPEN_NET_GLOBAL unsigned char *aData)
Cette fonction retourne un pointeur vers l'adresse de provenance.
Definition: IPv6.h:117
ByteOrder_Swap16, ByteOrder_Swap32 (RT)
OPEN_NET_GLOBAL unsigned char * IPv6_Data(OPEN_NET_GLOBAL unsigned char *aData)
Cette fonction retourne un pointeur vers la charge utile.
Definition: IPv6.h:55
OPEN_NET_GLOBAL unsigned short * IPv6_Destination(OPEN_NET_GLOBAL unsigned char *aData)
Cette fonction retourne un pointeur vers l'adresse de destination.
Definition: IPv6.h:87
unsigned char IPv6_Protocol(OPEN_NET_GLOBAL unsigned char *aData)
Cette fonction retourne le protocole.
Definition: IPv6.h:102