XenevaOS
Loading...
Searching...
No Matches
icmpv6.h
Go to the documentation of this file.
1
30#ifndef __ICMPV6_H__
31#define __ICMPV6_H__
32
33#include <Net/ipv6.h>
34#include <Fs/vfs.h>
35
36#define ICMPV6_ECHO_REQUEST 128
37#define ICMPV6_ECHO_REPLY 129
38#define ICMPV6_ND_RS 133
39#define ICMPV6_ND_RA 134
40#define ICMPV6_ND_NS 135
41#define ICMPV6_ND_NA 136
42
43#if defined(ARCH_X64) || defined(ARCH_ARM64)
44#pragma pack(push,1)
45#endif
54#if defined(ARCH_X64) || defined(ARCH_ARM64)
55#pragma pack(pop)
56#endif
57
58extern void ICMPv6Initialise();
59extern void AuICMPv6Handle(IPv6Header* ipv6, AuVFSNode* nic);
60extern int CreateICMPv6Socket();
61
62#endif
unsigned char uint8_t
Definition acefiex.h:161
unsigned short int uint16_t
Definition acefiex.h:162
AuVFSNode * nic
Definition e1000.cpp:67
struct _icmpv6_head_ ICMPv6Header
void ICMPv6Initialise()
Definition icmpv6.c:46
void AuICMPv6Handle(IPv6Header *ipv6, AuVFSNode *nic)
Definition icmpv6.c:50
int CreateICMPv6Socket()
Definition icmpv6.c:237
Definition vfs.h:98
Definition icmpv6.h:46
uint8_t type
Definition icmpv6.h:47
uint16_t checksum
Definition icmpv6.h:49
uint16_t sequenceNum
Definition icmpv6.h:51
uint8_t code
Definition icmpv6.h:48
uint16_t identifier
Definition icmpv6.h:50
uint8_t payload[]
Definition icmpv6.h:52
Definition ipv6.h:49