AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
udp_hdr Struct Reference

A UDP datagram's header. More...

#include <inet.h>

Data Fields

uint16_t src
uint16_t dst
uint16_t len
uint16_t checksum

Detailed Description

A UDP datagram's header.

Definition at line 77 of file inet.h.

Field Documentation

◆ checksum

uint16_t udp_hdr::checksum

Definition at line 81 of file inet.h.

Referenced by socket_inet_send(), and udp_input().

◆ dst

uint16_t udp_hdr::dst

Definition at line 79 of file inet.h.

Referenced by icmp_unreachable_input(), socket_inet_send(), and udp_input().

◆ len

uint16_t udp_hdr::len

Definition at line 80 of file inet.h.

Referenced by socket_inet_send(), and udp_input().

◆ src

uint16_t udp_hdr::src

Definition at line 78 of file inet.h.

Referenced by icmp_unreachable_input(), socket_inet_send(), and udp_input().


The documentation for this struct was generated from the following file: