Click
Loading...
Searching...
No Matches
include
clicknet
udp.h
1
#ifndef CLICKNET_UDP_H
2
#define CLICKNET_UDP_H
3
4
/*
5
* <clicknet/udp.h> -- UDP header definitions, based on one of the BSDs.
6
*
7
* Relevant RFCs include:
8
* RFC768 User Datagram Protocol
9
*/
10
11
struct
click_udp {
12
uint16_t uh_sport;
/* 0-1 source port */
13
uint16_t uh_dport;
/* 2-3 destination port */
14
uint16_t uh_ulen;
/* 4-5 UDP length */
15
uint16_t uh_sum;
/* 6-7 checksum */
16
};
17
18
#endif
Generated on Mon Nov 2 2026 11:59:47 for Click by
1.9.8