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.h File Reference

udp.h File Reference

UDP packet. More...

Go to the source code of this file.

Data Structures

struct  UDP_Packet
 UDP Packet memory map. More...

Functions

void fix_endian_udp (UDP_Packet *segment)
 Convert from wire to host or host to wire endianness.
void print_udp (UDP_Packet *segment)
 Print the UDP packet.

Detailed Description

UDP packet.

This file contains the memory map and associated functions for UDP packet creation and deconstruction.

Definition in file udp.h.


Function Documentation

void fix_endian_udp ( UDP_Packet segment )

Convert from wire to host or host to wire endianness.

Definition at line 26 of file udp.h.

void print_udp ( UDP_Packet segment )

Print the UDP packet.

Definition at line 34 of file udp.h.