ROHC compression/decompression library
|
Defines the UDP header. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | udphdr |
Functions | |
struct udphdr | __attribute__ ((packed)) |
Variables | |
uint16_t | source |
uint16_t | dest |
uint16_t | len |
uint16_t | check |
Defines the UDP header.
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.
struct udphdr __attribute__ | ( | (packed) | ) |
uint16_t check |
uint16_t dest |
Referenced by code_packet(), and d_generic_decode().
uint16_t len |
Referenced by code_cid_values(), ip_get_hdrlen(), ip_get_plen(), ip_get_totlen(), and main().
uint16_t source |