Data Structures | Defines

sw-host/udp.h File Reference

(r4864/r225)

#include "ip.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  udp_header

Defines

#define UDP_HEADER_OFFSET   IP_PAYLOAD_OFFSET
#define UDP_PAYLOAD_OFFSET   UDP_HEADER_OFFSET + sizeof(struct udp_header)
#define MAX_UDP_PAYLOAD   MAX_IP_PAYLOAD - sizeof(struct udp_header)

Define Documentation

#define MAX_UDP_PAYLOAD   MAX_IP_PAYLOAD - sizeof(struct udp_header)

Definition at line 16 of file udp.h.

#define UDP_HEADER_OFFSET   IP_PAYLOAD_OFFSET

Definition at line 14 of file udp.h.

#define UDP_PAYLOAD_OFFSET   UDP_HEADER_OFFSET + sizeof(struct udp_header)

Definition at line 15 of file udp.h.