ROHC compression/decompression library
Data Structures | Functions | Variables
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


struct udphdr __attribute__ ((packed))


uint16_t source
uint16_t dest
uint16_t len
uint16_t check

Detailed Description

Defines the UDP header.

Free Software Foundation, Inc

This file contains a part of netinet/udp.h from the GNU C library. It is copied here to be portable on all platforms, even the platforms that miss the declarations or got different declarations, such as Microsoft Windows or FreeBSD.

Function Documentation

struct udphdr __attribute__ ( (packed)  )

Variable Documentation

uint16_t check
uint16_t dest

Referenced by code_packet(), and d_generic_decode().

uint16_t len
uint16_t source