ROHC compression/decompression library
Data Structures
udp.h File Reference

Defines the UDP header. More...

#include <stdint.h>
Include dependency graph for udp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  udphdr
 

Detailed Description

Defines the UDP header.

Author
Didier Barvaux didie.nosp@m.r@ba.nosp@m.rvaux.nosp@m..org

This file mimics the udphdr struct defined by netinet/udp.h from the GNU C library. It is defined here to be portable on all platforms, even the platforms that miss the declarations or got different declarations, such as Microsoft Windows or FreeBSD. The udphdr struct being trivial, the original copyrights and licenses are not kept to simplify the library license.