openflow build environment setup
This commit is contained in:
18
openflow/include/clicknet/udp.h
Normal file
18
openflow/include/clicknet/udp.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef CLICKNET_UDP_H
|
||||
#define CLICKNET_UDP_H
|
||||
|
||||
/*
|
||||
* <clicknet/udp.h> -- UDP header definitions, based on one of the BSDs.
|
||||
*
|
||||
* Relevant RFCs include:
|
||||
* RFC768 User Datagram Protocol
|
||||
*/
|
||||
|
||||
struct click_udp {
|
||||
uint16_t uh_sport; /* 0-1 source port */
|
||||
uint16_t uh_dport; /* 2-3 destination port */
|
||||
uint16_t uh_ulen; /* 4-5 UDP length */
|
||||
uint16_t uh_sum; /* 6-7 checksum */
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user