mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-17 10:11:45 +00:00
.github
.vscode
Architecture
Core
Execute
FileSystem
Files
GUI
Library
Network
Profiling
Recovery
SystemCalls
Tasking
Tests
include
boot
cpu
filesystem
net
arp.hpp
dhcp.hpp
dns.hpp
eth.hpp
icmpv4.hpp
icmpv6.hpp
ipv4.hpp
ipv6.hpp
nc.hpp
net.hpp
ntp.hpp
tcp.hpp
udp.hpp
abi.h
assert.h
atomic.hpp
bitmap.hpp
cargs.h
convert.h
cpu.hpp
crc32.h
cstring
cwalk.h
debug.h
disk.hpp
display.hpp
driver.hpp
dumper.hpp
elf.h
exec.hpp
filesystem.hpp
gui.hpp
hashmap.hpp
interrupts.hpp
io.h
ipc.hpp
kconfig.hpp
limits.h
lock.hpp
md5.h
memory.hpp
msexec.h
pci.hpp
power.hpp
printf.h
rand.hpp
recovery.hpp
smartptr.hpp
smp.hpp
std.hpp
stddef.h
stdint.h
string.hpp
symbols.hpp
sys.h
syscalls.hpp
task.hpp
time.hpp
types.h
uart.hpp
vector.hpp
.gitignore
DAPI.hpp
Doxyfile
Fex.hpp
KConfig.cpp
KThread.cpp
Kernel.cpp
LICENSE
Makefile
README.md
dump.sh
ipc.h
kernel.h
syscalls.h
28 lines
501 B
C++
28 lines
501 B
C++
#ifndef __FENNIX_KERNEL_IPv6_H__
|
|
#define __FENNIX_KERNEL_IPv6_H__
|
|
|
|
#include <types.h>
|
|
|
|
namespace NetworkIPv6
|
|
{
|
|
struct IPv6Header
|
|
{
|
|
uint32_t Version;
|
|
uint8_t TrafficClass;
|
|
uint16_t FlowLabel;
|
|
uint16_t PayloadLength;
|
|
uint8_t NextHeader;
|
|
uint8_t HopLimit;
|
|
uint32_t SourceIP;
|
|
uint32_t DestinationIP;
|
|
};
|
|
|
|
struct IPv6Packet
|
|
{
|
|
IPv6Header Header;
|
|
uint8_t Data[];
|
|
};
|
|
}
|
|
|
|
#endif // !__FENNIX_KERNEL_IPv6_H__
|