Voxia OS
v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
udp.h
Go to the documentation of this file.
1
#ifndef __NET__UDP_H__
2
#define __NET__UDP_H__
3
4
#include <
type.h
>
5
6
typedef
struct
{
7
uint16_t
source_port
;
8
uint16_t
dest_port
;
9
uint16_t
length
;
10
uint16_t
checksum
;
11
}
__attribute__
((packed)) udp_header_t;
12
13
#endif
// __NET__UDP_H__
__attribute__
typedef __attribute__
Definition
msi.c:47
__attribute__::checksum
char checksum[8]
Definition
tar.h:45
__attribute__::source_port
uint16_t source_port
Definition
udp.h:7
__attribute__::dest_port
uint16_t dest_port
Definition
udp.h:8
__attribute__::length
uint16_t length
Definition
udp.h:9
type.h
uint16_t
unsigned short uint16_t
Definition
type.h:13
kernel
libk
net
udp.h
Generated on Sat May 30 2026 11:09:57 for Voxia OS by
1.13.2