This is a low-level network debugging utility that utilizes raw packet i/o to construct and deconstruct tcp, udp, ipv4, arp, and icmp packets over ethernet.

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

UDP_Packet Struct Reference

UDP_Packet Struct Reference

UDP Packet memory map. More...

#include <udp.h>

Data Fields

u16 source_port
 Source port (1-65535)
u16 destination_port
 Destination port (1-65535)
u16 length
 Entire datagram size in bytes.
u16 checksum
 Checksum.
u8 data []
 Data memory map.

Detailed Description

UDP Packet memory map.

Definition at line 17 of file udp.h.


Field Documentation

Checksum.

Definition at line 21 of file udp.h.

u8 data[]

Data memory map.

Definition at line 22 of file udp.h.

Destination port (1-65535)

Definition at line 19 of file udp.h.

Entire datagram size in bytes.

Definition at line 20 of file udp.h.

Source port (1-65535)

Definition at line 18 of file udp.h.