openflow build environment setup

This commit is contained in:
2025-11-11 16:45:43 +08:00
parent be0a7ad9b3
commit 50ecb9a23f
2767 changed files with 62766 additions and 649828 deletions

View 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